mirror of
https://github.com/hrydgard/ppsspp.git
synced 2026-10-17 00:10:31 +02:00
Sync KeyMap to native changes
This commit is contained in:
1 parent
83a5609f22
commit
29271f67d7
4 files changed
+19
-7
No files matched your search
@@ -190,6 +190,7 @@ void EmuScreen::update(InputState &input) {
|
||||
}
|
||||
#endif
|
||||
|
||||
/*
|
||||
// Then translate pad input into PSP pad input. Also, add in tilt.
|
||||
static const int mapping[12][2] = {
|
||||
{PAD_BUTTON_A, CTRL_CROSS},
|
||||
@@ -214,6 +215,15 @@ void EmuScreen::update(InputState &input) {
|
||||
__CtrlButtonUp(mapping[i][1]);
|
||||
}
|
||||
}
|
||||
*/
|
||||
|
||||
// TODO: remove the above dead code
|
||||
for (int i = 0; i < MAX_KEYQUEUESIZE; i++) {
|
||||
int key = input.key_queue[i];
|
||||
if (key != 0) {
|
||||
// TODO: find proper Ctrl* internal function
|
||||
}
|
||||
}
|
||||
|
||||
float stick_x = input.pad_lstick_x;
|
||||
float stick_y = input.pad_lstick_y;
|
||||
|
||||
Reference in new issue
Block a user