mirror of
https://github.com/MiSTer-devel/Main_MiSTer.git
synced 2026-04-19 03:04:28 +00:00
input: 8bitdo PSC special combo handling.
This commit is contained in:
@@ -2170,6 +2170,13 @@ int input_test(int getchar)
|
||||
}
|
||||
}
|
||||
|
||||
//8bitdo PSC receiver
|
||||
if (input[i].vid == 0x054c && input[i].pid == 0x0cda && ev.type == EV_KEY)
|
||||
{
|
||||
if (ev.code == 164) ev.code = KEY_MENU;
|
||||
if (ev.code == 1) ev.code = KEY_MENU;
|
||||
}
|
||||
|
||||
input_cb(&ev, &absinfo, i);
|
||||
|
||||
//sumulate digital directions from analog
|
||||
|
||||
Reference in New Issue
Block a user