Created
February 20, 2017 01:30
-
-
Save bkrepo/ff73cdf729370c5b2e18963526344308 to your computer and use it in GitHub Desktop.
gpio_keyd configuration for arcade game box
This file contains hidden or 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
# Digital input | |
# <Key code> <GPIO type> <GPIO pin> <Active value> | |
# User 1 | |
KEY_LEFT digital 15 0 | |
KEY_RIGHT digital 1 0 | |
KEY_UP digital 4 0 | |
KEY_DOWN digital 16 0 | |
KEY_A digital 2 0 | |
KEY_S digital 3 0 | |
KEY_D digital 30 0 | |
KEY_F digital 21 0 | |
KEY_Z digital 8 0 | |
KEY_X digital 9 0 | |
KEY_C digital 7 0 | |
KEY_V digital 0 0 | |
# User 2 | |
KEY_BACKSLASH digital 12 0 | |
KEY_SLASH digital 13 0 | |
KEY_SEMICOLON digital 14 0 | |
KEY_LEFTBRACE digital 5 0 | |
KEY_Y digital 26 0 | |
KEY_U digital 27 0 | |
KEY_I digital 22 0 | |
KEY_O digital 23 0 | |
KEY_H digital 6 0 | |
KEY_J digital 10 0 | |
KEY_K digital 11 0 | |
KEY_L digital 31 0 | |
# Analog input | |
# <Key code> <GPIO type> <ADC port> <ADC active value> | |
KEY_B analog 0 0 | |
KEY_N analog 0 2045 | |
KEY_M analog 1 2045 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment