1
0
mirror of https://github.com/mist-devel/mist-firmware.git synced 2026-04-26 20:37:14 +00:00

Added support for a variant of the 8bitdo SFC30 gamepad

This commit is contained in:
Sebastien Delestaing
2016-09-09 10:44:06 +02:00
parent 37634760b2
commit f1470bb9a4

View File

@@ -274,7 +274,7 @@ uint16_t virtual_joystick_mapping (uint16_t vid, uint16_t pid, uint16_t joy_inpu
}
//mapping for 8bitdo SFC30
if(vid==0x1235 && pid==0xab21) {
if(vid==0x1235 && (pid==0xab11 || pid==0xab21)) {
mapping[btn_off+1] = JOY_A;
mapping[btn_off+2] = JOY_B;
//mapping[btn_off+3] // physical button #3 not used