View Single Post
Old 03-06-2022, 02:58 AM   #117
mergen3107
Wizard
mergen3107 ought to be getting tired of karma fortunes by now.mergen3107 ought to be getting tired of karma fortunes by now.mergen3107 ought to be getting tired of karma fortunes by now.mergen3107 ought to be getting tired of karma fortunes by now.mergen3107 ought to be getting tired of karma fortunes by now.mergen3107 ought to be getting tired of karma fortunes by now.mergen3107 ought to be getting tired of karma fortunes by now.mergen3107 ought to be getting tired of karma fortunes by now.mergen3107 ought to be getting tired of karma fortunes by now.mergen3107 ought to be getting tired of karma fortunes by now.mergen3107 ought to be getting tired of karma fortunes by now.
 
mergen3107's Avatar
 
Posts: 1,521
Karma: 5000046
Join Date: Feb 2012
Location: Cape Canaveral
Device: Kindle Scribe
For those interested, I connected an Xbox Wireless controller to Kon-Tiki 2 and caught keycodes:

Code:
Button             | Code     | Action   |
-------------------|----------|----------|
Xbox button        | 0        | (nil)    |
Left stick move    | (ignore) | (nil)    |
Left stick button  | 106      | (nil)    |
Right stick move   | (ignore) | (nil)    |
Right stick button | 103      | (nil)    |
A                  | 96       | (nil)    |
B                  | 97       | (nil)    |
X                  | 99       | (nil)    |
Y                  | 100      | (nil)    |
Dpad: left         | (ignore) | (nil)    |
Dpad: right        | (ignore) | (nil)    |
Dpad: up           | (ignore) | (nil)    |
Dpad: down         | (ignore) | (nil)    |
Menu left          | 109      | (LPgFwd) |
Menu right         | 108      | (nil)    |
LB                 | 102      | (nil)    |
LT                 | (ignore) | (nil)    |
RB                 | 103      | (nil)    |
RT                 | (ignore) | (nil)    |
D-pad and L-stick movements are hard coded as directional movement, so can't be reassigned.
mergen3107 is offline   Reply With Quote