-
Notifications
You must be signed in to change notification settings - Fork 16
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Updated The Android lib and hardware mappings for Joy-Cons
- Loading branch information
1 parent
2c4e9ae
commit 7274089
Showing
13 changed files
with
245 additions
and
177 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
124 changes: 100 additions & 24 deletions
124
...TimeTwisted.gmx/datafiles/android/gamepad/057e_2006_057e_2007_joy_con__l__joy_con__r_.csv
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,25 +1,101 @@ | ||
min_api,max_api,vendor,product,other_vendor,other_product,event_device,event_type,event_code,event_value,mapped_type,mapped_code,mapped_value,comment | ||
,,057e,2006,057e,2007,0,axis,15,-1,axis,1,-1,"Joy-Con (L)/Joy-Con (R), Left Stick UP" | ||
,,,,,,,,15,1,,1,1,Left Stick DOWN | ||
,,,,,,,,16,1,,0,-1,Left Stick LEFT | ||
,,,,,,,,16,-1,,0,1,Left Stick RIGHT | ||
,,,,,,,button,98,,,16,-1,D-Pad UP | ||
,,,,,,,,97,,,16,1,D-Pad DOWN | ||
,,,,,,,,96,,,15,-1,D-Pad LEFT | ||
,,,,,,,,99,,,15,1,D-Pad RIGHT | ||
,,,,,,1,axis,15,1,,14,-1,Right Stick UP | ||
,,,,,,,,15,-1,,14,1,Right Stick DOWN | ||
,,,,,,,,16,-1,,11,-1,Right Stick LEFT | ||
,,,,,,,,16,1,,11,1,Right Stick RIGHT | ||
,,,,,,,button,98,,button,96,,Cross/A/Bottom button | ||
,,,,,,,,96,,,97,,Circle/B/Right button | ||
,,,,,,,,99,,,99,,Square/X/Left button | ||
,,,,,,,,97,,,100,,Triangle/Y/Top button | ||
,,,,,,,,105,,,108,,Start button | ||
,,,,,,0,,104,,,109,,Select button | ||
,,,,,,,,107,,,102,,L1 button | ||
,,,,,,1,,107,,,103,,R1 button | ||
,,,,,,0,,0,,,104,,L2 button | ||
,,,,,,1,,0,,,105,,R2 button | ||
,,,,,,0,,109,,,106,,Left stick press | ||
,,,,,,1,,108,,,107,,Right stick press | ||
,29,057e,2006,,,,,,,,,,Left Joy-Con | ||
,,,,,,,button,96,,button,96,,down key is A | ||
,,,,,,,,97,,,97,,right key is B | ||
,,,,,,,,98,,,99,,left key is X | ||
,,,,,,,,99,,,100,,right key is Y | ||
,,,,,,,,100,,,102,,SL is L1 | ||
,,,,,,,,101,,,103,,SR is R1 | ||
,,,,,,,,104,,,108,,Minus is START | ||
,,,,,,,,106,,,109,,Screenshot is SELECT | ||
,,,,,,,,107,,,104,,L is L2 | ||
,,,,,,,,0,,,105,,ZL is R2 | ||
,,,,,,,,109,,,110,,Thumbstick press is MODE | ||
,,,,,,,axis,15,,axis,15,,Hat X axis works as intended out-of-the-box | ||
,,,,,,,,16,,,16,,Hat Y axis works as intended out-of-the-box | ||
,29,057e,2007,,,,,,,,,,Right Joy-Con | ||
,,,,,,,button,96,,button,96,,down key is A | ||
,,,,,,,,97,,,97,,right key is B | ||
,,,,,,,,98,,,99,,left key is X | ||
,,,,,,,,99,,,100,,right key is Y | ||
,,,,,,,,100,,,102,,SL is L1 | ||
,,,,,,,,101,,,103,,SR is R1 | ||
,,,,,,,,105,,,108,,Minus is START | ||
,,,,,,,,110,,,109,,Home is SELECT | ||
,,,,,,,,107,,,104,,R is L2 | ||
,,,,,,,,0,,,105,,ZR is R2 | ||
,,,,,,,,108,,,110,,Thumbstick press is MODE | ||
,,,,,,,axis,15,,axis,15,,Hat X axis works as intended out-of-the-box | ||
,,,,,,,,16,,,16,,Hat Y axis works as intended out-of-the-box | ||
,29,057e,2006,057e,2007,,,,,,,,Joy-Cons for Android 10- | ||
,,,,,,0,button,98,,axis,16,-1,UP is Hat Y -1 | ||
,,,,,,,,97,,,16,1,DOWN is Hat Y +1 | ||
,,,,,,,,96,,,15,-1,LEFT is Hat X -1 | ||
,,,,,,,,99,,,15,1,RIGHT is Hat X +1 | ||
,,,,,,,,107,,button,102,,L is L1 | ||
,,,,,,,,0,,,104,,ZL is L2 | ||
,,,,,,,,109,,,106,,Left Thumbstick is L3 | ||
,,,,,,,,104,,,109,,Minus is SELECT | ||
,,,,,,,,106,,,110,,Screenshot is Mode | ||
,,,,,,,,100,,,188,,SL is Generic 1 | ||
,,,,,,,,101,,,189,,SR is Generic 2 | ||
,,,,,,,axis,15,-1,axis,1,-1,Joy-Con's X axis is combined gamepad's Y axis | ||
,,,,,,,,15,1,,1,1, | ||
,,,,,,,,16,1,,0,-1,"Joy-Con's Y axis is combined gamepad's X axis, inverted" | ||
,,,,,,,,16,-1,,0,1, | ||
,,,,,,1,button,98,,button,96,,B is A | ||
,,,,,,,,96,,,97,,A is B | ||
,,,,,,,,99,,,99,,Y is X | ||
,,,,,,,,97,,,100,,X is Y | ||
,,,,,,,,105,,,108,,Plus is START | ||
,,,,,,,,107,,,103,,R is R1 | ||
,,,,,,,,0,,,105,,ZR is R2 | ||
,,,,,,,,108,,,107,,Right Thumbstick is R3 | ||
,,,,,,,,101,,,190,,SR is Generic 3 | ||
,,,,,,,,100,,,191,,SL is Generic 4 | ||
,,,,,,,axis,16,-1,axis,11,-1,Joy-Con's Y axis is combined gamepad's Z axis | ||
,,,,,,,,16,1,,11,1, | ||
,,,,,,,,15,1,,14,-1,"Joy-Con's X axis is combined gamepad's RZ axis, inverted" | ||
,,,,,,,,15,-1,,14,1, | ||
30,,057e,2006,057e,2007,,,,,,,,"Joy-Cons for Android 11+ are pre-mapped, but the D-Pad doesn't work" | ||
,,,,,,0,,102,,button,102,, | ||
,,,,,,,,104,,,104,, | ||
,,,,,,,,106,,,106,, | ||
,,,,,,,,109,,,109,, | ||
,,,,,,,,110,,,110,, | ||
,,,,,,,,101,,,101,, | ||
,,,,,,,axis,1,-1,axis,1,-1, | ||
,,,,,,,,1,1,,1,1, | ||
,,,,,,,,0,-1,,0,-1, | ||
,,,,,,,,0,1,,0,1, | ||
,,,,,,1,button,96,,button,96,, | ||
,,,,,,,,97,,,97,, | ||
,,,,,,,,99,,,100,, | ||
,,,,,,,,100,,,99,, | ||
,,,,,,,,108,,,108,, | ||
,,,,,,,,103,,,103,, | ||
,,,,,,,,105,,,105,, | ||
,,,,,,,,107,,,107,, | ||
,,,,,,,,190,,,190,, | ||
,,,,,,,,191,,,191,, | ||
,,,,,,,axis,12,-1,axis,12,-1, | ||
,,,,,,,,12,1,,12,1, | ||
,,,,,,,,13,-1,,13,-1, | ||
,,,,,,,,13,1,,13,1, | ||
,,,,,,,,110,,,110,, | ||
30,,057e,2007,,,,,,,,,,Right Joy-Con (just switching two buttons around for consistency's sake) | ||
,,,,,,,button,96,,button,96,, | ||
,,,,,,,,97,,,97,, | ||
,,,,,,,,99,,,100,, | ||
,,,,,,,,100,,,99,, | ||
,,,,,,,,108,,,108,, | ||
,,,,,,,,103,,,103,, | ||
,,,,,,,,105,,,105,, | ||
,,,,,,,,107,,,107,, | ||
,,,,,,,,190,,,190,, | ||
,,,,,,,,191,,,191,, | ||
,,,,,,,axis,12,-1,axis,12,-1, | ||
,,,,,,,,12,1,,12,1, | ||
,,,,,,,,13,-1,,13,-1, | ||
,,,,,,,,13,1,,13,1, | ||
,,,,,,,,110,,,110,, |
15 changes: 0 additions & 15 deletions
15
SonicTimeTwisted.gmx/datafiles/android/gamepad/057e_2006_joy_con__l_.csv
This file was deleted.
Oops, something went wrong.
15 changes: 0 additions & 15 deletions
15
SonicTimeTwisted.gmx/datafiles/android/gamepad/057e_2007_joy_con__r_.csv
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.