Skip to content

Commit

Permalink
- added all possible buttons for gun4ir hardware
Browse files Browse the repository at this point in the history
  • Loading branch information
RedOne87 committed Jun 22, 2023
1 parent a24122a commit 8abf4a5
Show file tree
Hide file tree
Showing 2 changed files with 59 additions and 0 deletions.
26 changes: 26 additions & 0 deletions docs/openjvs/devices/arduino-llc-gun4ir-pro-micro-p1
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
33 changes: 33 additions & 0 deletions docs/openjvs/devices/arduino-llc-gun4ir-pro-micro-p2
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

0 comments on commit 8abf4a5

Please sign in to comment.