mirror of
https://github.com/hrydgard/ppsspp.git
synced 2026-10-19 17:29:06 +02:00
Split the display layout config between landscape and portrait orientations
This commit is contained in:
1 parent
3e2edbfe81
commit
67010ff2af
60 files changed
+480
-317
No files matched your search
@@ -510,7 +510,7 @@ AnalogCalibrationScreen::AnalogCalibrationScreen(const Path &gamePath) : UITwoPa
|
||||
[](int vkey, bool down) {},
|
||||
[](int vkey, float analogValue) {},
|
||||
[&](uint32_t bitsToSet, uint32_t bitsToClear) {},
|
||||
[&](int stick, float x, float y) {
|
||||
[&](int iInternalRotation, int stick, float x, float y) {
|
||||
analogX_[stick] = x;
|
||||
analogY_[stick] = y;
|
||||
},
|
||||
@@ -521,7 +521,7 @@ AnalogCalibrationScreen::AnalogCalibrationScreen(const Path &gamePath) : UITwoPa
|
||||
}
|
||||
|
||||
void AnalogCalibrationScreen::update() {
|
||||
mapper_.Update(time_now_d());
|
||||
mapper_.Update(g_Config.GetDisplayLayoutConfig(GetDeviceOrientation()), time_now_d());
|
||||
// We ignore the secondary stick for now and just use the two views
|
||||
// for raw and psp input.
|
||||
if (stickView_[0]) {
|
||||
|
||||
Reference in new issue
Block a user