Added support for the Sony Playstation 5 controller.
This commit is contained in:
@@ -118,6 +118,22 @@ gamepadConfigs = {
|
||||
"EV_KEY:310": "lock-y",
|
||||
"EV_KEY:311": "lock-x",
|
||||
},
|
||||
"D09463DD": {
|
||||
"description": "Sony Playstation 5 Controller",
|
||||
"EV_KEY:307": "speed-4",
|
||||
"EV_KEY:306": "speed-3",
|
||||
"EV_KEY:305": "speed-2",
|
||||
"EV_KEY:304": "speed-1",
|
||||
"EV_ABS:0": "axis-x",
|
||||
"EV_ABS:16": "axis-x",
|
||||
"EV_ABS:1": "axis-y",
|
||||
"EV_ABS:17": "axis-y",
|
||||
"EV_ABS:5": "axis-z",
|
||||
"EV_KEY:308": "lock-y",
|
||||
"EV_KEY:309": "lock-x",
|
||||
"EV_KEY:310": "lock-y",
|
||||
"EV_KEY:311": "lock-x",
|
||||
},
|
||||
"06656EBD": {
|
||||
"description": "XBox One Controller",
|
||||
"EV_KEY:308": "speed-4",
|
||||
|
||||
Reference in New Issue
Block a user