Sync KeyMap to native changes

This commit is contained in:
Daniel Dressler committed 2013-06-24 21:34:14 -07:00
1 parent 83a5609f22
commit 29271f67d7
4 files changed
+19 -7

No files matched your search

+10
View File
@@ -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;