mirror of
https://github.com/jellyfin/jellyfin-desktop.git
synced 2026-11-10 08:08:00 +00:00
This makes navigating the interface much smoother than it was, and doesn't require external software to translate button presses into keyboard commands. Also added Support for xbox controller on Windows out of the box Plex-CLA-1.0-signed-off-by: Cory Parsons <babylonstudio@gmail.com>
39 lines
1.2 KiB
JSON
39 lines
1.2 KiB
JSON
{
|
|
"name": "Xbox Controller",
|
|
"idmatcher": "XInput.*",
|
|
"mapping":
|
|
{
|
|
// left stick L,R,U,D, click
|
|
"KEY_AXIS_0_VAL_DOWN": "",
|
|
"KEY_AXIS_0_VAL_UP": "",
|
|
"KEY_AXIS_1_VAL_DOWN": "",
|
|
"KEY_AXIS_1_VAL_UP": "",
|
|
"KEY_BUTTON_6": "",
|
|
// right stick L,R,U,D, click
|
|
"KEY_AXIS_2_VAL_DOWN": "host:player:add volume -1",
|
|
"KEY_AXIS_2_VAL_UP": "host:player:add volume 1",
|
|
"KEY_AXIS_3_VAL_DOWN": "host:player:add volume 1",
|
|
"KEY_AXIS_3_VAL_UP": "host:player:add volume -1",
|
|
"KEY_BUTTON_7": "host:player:cycle mute",
|
|
// DPAD U,D,L,R
|
|
"KEY_BUTTON_0": "up",
|
|
"KEY_BUTTON_1": "down",
|
|
"KEY_BUTTON_2": "left",
|
|
"KEY_BUTTON_3": "right",
|
|
// BACK, HOME, START
|
|
"KEY_BUTTON_5": "host:fullscreen",
|
|
"KEY_BUTTON_14": "host:toggleDebug",
|
|
"KEY_BUTTON_4": "home",
|
|
// LB, LT
|
|
"KEY_BUTTON_8": "host:player:seek -15",
|
|
"KEY_AXIS_4_VAL_DOWN": "",
|
|
// RB, RT
|
|
"KEY_BUTTON_9": "host:player:seek 15",
|
|
"KEY_AXIS_4_VAL_DOWN": "",
|
|
// A, B, X, Y
|
|
"KEY_BUTTON_10": "enter",
|
|
"KEY_BUTTON_11": "back",
|
|
"KEY_BUTTON_12": "cycle_subtitles",
|
|
"KEY_BUTTON_13": "host:player:cycle mute"
|
|
}
|
|
} |