mirror of
https://github.com/hrydgard/ppsspp.git
synced 2026-11-25 15:23:35 +01:00
Remove legacy key mapping and associate devices with keys (DInput has been left behind for now, will be fixed up soon). Saving is broken, will be fixed soon.
This commit is contained in:
1 parent
ab6133e419
commit
cc58e34cf8
30 files changed
+671
-1193
No files matched your search
+11
-2
@@ -542,8 +542,7 @@ void NativeDeviceLost() {
|
||||
}
|
||||
|
||||
bool NativeIsAtTopLevel() {
|
||||
// TODO
|
||||
return false;
|
||||
return globalUIState == UISTATE_MENU;
|
||||
}
|
||||
|
||||
void NativeTouch(const TouchInput &touch) {
|
||||
@@ -551,6 +550,16 @@ void NativeTouch(const TouchInput &touch) {
|
||||
screenManager->touch(touch);
|
||||
}
|
||||
|
||||
void NativeKey(const KeyInput &key) {
|
||||
if (screenManager)
|
||||
screenManager->key(key);
|
||||
}
|
||||
|
||||
void NativeAxis(const AxisInput &key) {
|
||||
if (screenManager)
|
||||
screenManager->axis(key);
|
||||
}
|
||||
|
||||
void NativeMessageReceived(const char *message, const char *value) {
|
||||
// We can only have one message queued.
|
||||
lock_guard lock(pendingMutex);
|
||||
|
||||
Reference in new issue
Block a user