mirror of
https://github.com/hrydgard/ppsspp.git
synced 2026-10-01 14:58:14 +00:00
Convert the pause button to a normal customizable touch screen button
This commit is contained in:
1 parent
f8ab0fab1d
commit
7a8a642aed
53 files changed
+54
-85
No files matched your search
@@ -486,6 +486,7 @@ void ControlLayoutView::CreateViews() {
|
||||
}
|
||||
|
||||
ImageID rectImage = g_Config.iTouchButtonStyle ? ImageID("I_RECT_LINE") : ImageID("I_RECT");
|
||||
ImageID roundImage = g_Config.iTouchButtonStyle ? ImageID("I_ROUND_LINE") : ImageID("I_ROUND");
|
||||
ImageID shoulderImage = g_Config.iTouchButtonStyle ? ImageID("I_SHOULDER_LINE") : ImageID("I_SHOULDER");
|
||||
ImageID stickImage = g_Config.iTouchButtonStyle ? ImageID("I_STICK_LINE") : ImageID("I_STICK");
|
||||
ImageID stickBg = g_Config.iTouchButtonStyle ? ImageID("I_STICK_BG_LINE") : ImageID("I_STICK_BG");
|
||||
@@ -503,6 +504,8 @@ void ControlLayoutView::CreateViews() {
|
||||
controls_.push_back(new PSPDPadButtons(touch.touchDpad, "D-pad", touch.fDpadSpacing, bounds));
|
||||
}
|
||||
|
||||
addDragDropButton(touch.touchPauseKey, "Pause button", roundImage, ImageID("I_HAMBURGER"));
|
||||
|
||||
addDragDropButton(touch.touchSelectKey, "Select button", rectImage, ImageID("I_SELECT"));
|
||||
addDragDropButton(touch.touchStartKey, "Start button", rectImage, ImageID("I_START"));
|
||||
|
||||
|
||||
Reference in new issue
Block a user