Skip to content

Commit

Permalink
Input: Message bindings for PS3, PS4, Xbox controllers
Browse files Browse the repository at this point in the history
IssueID #2424
  • Loading branch information
skyjake committed May 10, 2020
1 parent 2701077 commit 21eaf79
Showing 1 changed file with 12 additions and 0 deletions.
Expand Up @@ -96,6 +96,9 @@ record PS3Gamepad(Gamepad)
# Common controls, suitable for all games.
event('shortcut', play, 'menu')

event('message', o, 'messageno')
event('message', x, 'messageyes')

event('menu', o, 'menuback')
event('menu', x, 'menuselect')
event('menu', up, 'menuup', repeat=True)
Expand Down Expand Up @@ -178,6 +181,9 @@ record PS4Gamepad(Gamepad)
# Common controls, suitable for all games.
event('shortcut', options, 'menu')

event('message', o, 'messageno')
event('message', x, 'messageyes')

event('menu', o, 'menuback')
event('menu', x, 'menuselect')
event('menu', up, 'menuup', repeat=True)
Expand Down Expand Up @@ -258,6 +264,9 @@ record XboxWindowsGamepad(Gamepad)
# Common controls, suitable for all games.
event('shortcut', menu, 'menu')

event('message', b, 'messageno')
event('message', a, 'messageyes')

event('menu', b, 'menuback')
event('menu', a, 'menuselect')
event('menu', up, 'menuup', repeat=True)
Expand Down Expand Up @@ -344,6 +353,9 @@ record XboxMacGamepad(Gamepad)
event('shortcut', menu, 'menu')
event('shortcut', xbox, 'menu')

event('message', b, 'messageno')
event('message', a, 'messageyes')

event('menu', b, 'menuback')
event('menu', a, 'menuselect')
event('menu', up, 'menuup', repeat=True)
Expand Down

0 comments on commit 21eaf79

Please sign in to comment.