-
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.
- added all possible buttons for gun4ir hardware
- Loading branch information
Showing
2 changed files
with
59 additions
and
0 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,33 @@ | ||
# Note: Description of buttons is in Gun4IR terminology | ||
# Gun4IR is a DIY project with different target gun-housings which means that | ||
# the number of available buttons and the layout WILL vary depending on target housing. | ||
# This template will give you all supported buttons but changes might be necessary to fit your personal button layout. | ||
# | ||
# ATTENSION: On Pi/Linux the Gun4IR fimware will configure a USB composite device (gamepad/mouse/keyboard.. all at once) so that | ||
# it might be necessary to disable the generic-mouse device in order to NOT have the devices be configured as multiple player's input devices. | ||
|
||
# Start-Button | ||
BTN_PINKIE CONTROLLER_BUTTON_START | ||
# Select | ||
BTN_TOP2 CONTROLLER_BUTTON_COIN | ||
# Trigger | ||
BTN_TRIGGER CONTROLLER_BUTTON_A | ||
# A-Button | ||
BTN_THUMB CONTROLLER_BUTTON_B | ||
# B-Button | ||
BTN_THUMB2 CONTROLLER_BUTTON_C | ||
#Pedal-Button (if configured) | ||
BTN_TOP CONTROLLER_BUTTON_D | ||
|
||
# D-PAD Up | ||
BTN_BASE CONTROLLER_BUTTON_UP | ||
# D-PAD Down | ||
BTN_BASE3 CONTROLLER_BUTTON_DOWN | ||
# D-PAD Left | ||
BTN_BASE4 CONTROLLER_BUTTON_TEST | ||
# D-PAD Right | ||
BTN_BASE2 CONTROLLER_BUTTON_SERVICE | ||
|
||
# Analog Axes | ||
ABS_X CONTROLLER_ANALOGUE_X | ||
ABS_Y CONTROLLER_ANALOGUE_Y |
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 |
---|---|---|
@@ -0,0 +1,33 @@ | ||
# Note: Description of buttons is in Gun4IR terminology | ||
# Gun4IR is a DIY project with different target gun-housings which means that | ||
# the number of available buttons and the layout WILL vary depending on target housing. | ||
# This template will give you all supported buttons but changes might be necessary to fit your personal button layout. | ||
# | ||
# ATTENSION: On Pi/Linux the Gun4IR fimware will configure a USB composite device (gamepad/mouse/keyboard.. all at once) so that | ||
# it might be necessary to disable the generic-mouse device in order to NOT have the devices be configured as multiple player's input devices. | ||
|
||
# Start-Button | ||
BTN_PINKIE CONTROLLER_BUTTON_START | ||
# Select | ||
BTN_TOP2 CONTROLLER_BUTTON_COIN | ||
# Trigger | ||
BTN_TRIGGER CONTROLLER_BUTTON_A | ||
# A-Button | ||
BTN_THUMB CONTROLLER_BUTTON_B | ||
# B-Button | ||
BTN_THUMB2 CONTROLLER_BUTTON_C | ||
#Pedal-Button (if configured) | ||
BTN_TOP CONTROLLER_BUTTON_D | ||
|
||
# D-PAD Up | ||
BTN_BASE CONTROLLER_BUTTON_UP | ||
# D-PAD Down | ||
BTN_BASE3 CONTROLLER_BUTTON_DOWN | ||
# D-PAD Left | ||
BTN_BASE4 CONTROLLER_BUTTON_TEST | ||
# D-PAD Right | ||
BTN_BASE2 CONTROLLER_BUTTON_SERVICE | ||
|
||
# Analog Axes | ||
ABS_X CONTROLLER_ANALOGUE_X | ||
ABS_Y CONTROLLER_ANALOGUE_Y |