mirror of
https://github.com/hrydgard/ppsspp.git
synced 2025-04-02 11:01:50 -04:00
Positional fix
This commit is contained in:
parent
fee4927055
commit
1fa12054b8
1 changed files with 4 additions and 4 deletions
|
@ -28,7 +28,7 @@ TouchButton buttonSelect(&ui_atlas, I_RECT, I_SELECT, PAD_BUTTON_SELECT);
|
|||
TouchButton buttonStart(&ui_atlas, I_RECT, I_START, PAD_BUTTON_START);
|
||||
TouchButton buttonLShoulder(&ui_atlas, I_SHOULDER, I_L, PAD_BUTTON_LBUMPER);
|
||||
TouchButton buttonRShoulder(&ui_atlas, I_SHOULDER, I_R, PAD_BUTTON_RBUMPER, 0, true);
|
||||
TouchButton buttonTurbo(&ui_atlas, I_RECT, I_ARROW, PAD_BUTTON_LEFT_THUMB, 90);
|
||||
TouchButton buttonTurbo(&ui_atlas, I_RECT, I_ARROW, PAD_BUTTON_LEFT_THUMB, 0);
|
||||
TouchCrossPad crossPad(&ui_atlas, I_DIR, I_ARROW);
|
||||
#if defined(__SYMBIAN32__) || defined(IOS)
|
||||
TouchButton buttonPause(&ui_atlas, I_RECT, I_ARROW, PAD_BUTTON_BACK, 90);
|
||||
|
@ -67,9 +67,9 @@ void LayoutGamepad(int w, int h)
|
|||
|
||||
buttonSelect.setPos(halfW - button_spacing, h - 20 * controlScale, controlScale);
|
||||
buttonStart.setPos(halfW + button_spacing, h - 20 * controlScale, controlScale);
|
||||
buttonLShoulder.setPos(button_spacing + 10 * controlScale, 15 * controlScale, controlScale);
|
||||
buttonRShoulder.setPos(w - button_spacing - 10 * controlScale, 15 * controlScale, controlScale);
|
||||
buttonTurbo.setPos(halfW, 15 * controlScale, controlScale);
|
||||
buttonLShoulder.setPos(button_spacing + 10 * controlScale, 80 * controlScale, controlScale);
|
||||
buttonRShoulder.setPos(w - button_spacing - 10 * controlScale, 80 * controlScale, controlScale);
|
||||
buttonTurbo.setPos(button_spacing, 20 * controlScale, controlScale);
|
||||
|
||||
#if defined(__SYMBIAN32__) || defined(IOS)
|
||||
buttonPause.setPos(halfW, 15 * controlScale, controlScale);
|
||||
|
|
Loading…
Add table
Reference in a new issue