123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869 |
- // This is a mapping that works better for the DS4 on windows
- // But since there is no good way to know if its a xbox or ps4 controller
- // connected you need to uncomment the idmatcher line below to get it to work
- //
- {
- "name": "Playstation Dual Shock 4 Windows Mode",
- //"idmatcher": "Microsoft.*joystick driver",
- "mapping": {
- // D-Pad
- "KEY_HAT_DOWN": "down",
- "KEY_HAT_UP": "up",
- "KEY_HAT_RIGHT": "right",
- "KEY_HAT_LEFT": "left",
- // Square
- "KEY_BUTTON_0": "cycle_audio",
- // X
- "KEY_BUTTON_1": "enter",
- // Circle
- "KEY_BUTTON_2": {
- "short": "back",
- "long": "home"
- },
- // Triangle
- "KEY_BUTTON_3": "cycle_subtitles",
- // L1
- "KEY_BUTTON_4": "seek_backward",
- // L2
- "KEY_BUTTON_5": "seek_forward",
- // option
- "KEY_BUTTON_8": "host:toggleDebug",
- // start
- "KEY_BUTTON_9": "host:fullscreen",
- // press left thumbstick
- "KEY_BUTTON_10": "",
- // press right thumbstick
- "KEY_BUTTON_11": "",
- // Playstation button
- "KEY_BUTTON_12": {
- "short": "home",
- "long": "exit"
- },
- // Trackpad press
- "KEY_BUTTON_13": "search",
- // left thumbstick axis
- "KEY_AXIS_0_UP": "left",
- "KEY_AXIS_0_DOWN": "right",
- "KEY_AXIS_1_UP": "up",
- "KEY_AXIS_1_DOWN": "down",
- // right thumbstick axis
- "KEY_AXIS_3_UP": "increase_volume",
- "KEY_AXIS_3_DOWN": "decrease_volume",
- "KEY_AXIS_2_UP": "decrease_audio_delay",
- "KEY_AXIS_2_DOWN": "increase_audio_delay"
- }
- }
|