_schema.json 25 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874
  1. {
  2. "$schema": "http://json-schema.org/draft-07/schema#",
  3. "$id": "https://ryujinx.org/_schema/config.json",
  4. "type": "object",
  5. "title": "Ryujinx Configuration Schema",
  6. "required": [
  7. "graphics_shaders_dump_path",
  8. "logging_enable_debug",
  9. "logging_enable_stub",
  10. "logging_enable_info",
  11. "logging_enable_warn",
  12. "logging_enable_error",
  13. "logging_filtered_classes",
  14. "enable_file_log",
  15. "system_language",
  16. "docked_mode",
  17. "enable_vsync",
  18. "enable_multicore_scheduling",
  19. "enable_fs_integrity_checks",
  20. "enable_aggressive_cpu_opts",
  21. "controller_type",
  22. "enable_keyboard",
  23. "keyboard_controls",
  24. "gamepad_controls"
  25. ],
  26. "definitions": {
  27. "key": {
  28. "type": "string",
  29. "enum": [
  30. "ShiftLeft",
  31. "LShift",
  32. "ShiftRight",
  33. "RShift",
  34. "ControlLeft",
  35. "LControl",
  36. "ControlRight",
  37. "RControl",
  38. "AltLeft",
  39. "LAlt",
  40. "AltRight",
  41. "RAlt",
  42. "WinLeft",
  43. "LWin",
  44. "WinRight",
  45. "RWin",
  46. "Menu",
  47. "F1",
  48. "F2",
  49. "F3",
  50. "F4",
  51. "F5",
  52. "F6",
  53. "F7",
  54. "F8",
  55. "F9",
  56. "F10",
  57. "F11",
  58. "F12",
  59. "F13",
  60. "F14",
  61. "F15",
  62. "F16",
  63. "F17",
  64. "F18",
  65. "F19",
  66. "F20",
  67. "F21",
  68. "F22",
  69. "F23",
  70. "F24",
  71. "F25",
  72. "F26",
  73. "F27",
  74. "F28",
  75. "F29",
  76. "F30",
  77. "F31",
  78. "F32",
  79. "F33",
  80. "F34",
  81. "F35",
  82. "Up",
  83. "Down",
  84. "Left",
  85. "Right",
  86. "Enter",
  87. "Escape",
  88. "Space",
  89. "Tab",
  90. "BackSpace",
  91. "Back",
  92. "Insert",
  93. "Delete",
  94. "PageUp",
  95. "PageDown",
  96. "Home",
  97. "End",
  98. "CapsLock",
  99. "ScrollLock",
  100. "PrintScreen",
  101. "Pause",
  102. "NumLock",
  103. "Clear",
  104. "Sleep",
  105. "Keypad0",
  106. "Keypad1",
  107. "Keypad2",
  108. "Keypad3",
  109. "Keypad4",
  110. "Keypad5",
  111. "Keypad6",
  112. "Keypad7",
  113. "Keypad8",
  114. "Keypad9",
  115. "KeypadDivide",
  116. "KeypadMultiply",
  117. "KeypadSubtract",
  118. "KeypadMinus",
  119. "KeypadAdd",
  120. "KeypadPlus",
  121. "KeypadDecimal",
  122. "KeypadPeriod",
  123. "KeypadEnter",
  124. "A",
  125. "B",
  126. "C",
  127. "D",
  128. "E",
  129. "F",
  130. "G",
  131. "H",
  132. "I",
  133. "J",
  134. "K",
  135. "L",
  136. "M",
  137. "N",
  138. "O",
  139. "P",
  140. "Q",
  141. "R",
  142. "S",
  143. "T",
  144. "U",
  145. "V",
  146. "W",
  147. "X",
  148. "Y",
  149. "Z",
  150. "Number0",
  151. "Number1",
  152. "Number2",
  153. "Number3",
  154. "Number4",
  155. "Number5",
  156. "Number6",
  157. "Number7",
  158. "Number8",
  159. "Number9",
  160. "Tilde",
  161. "Grave",
  162. "Minus",
  163. "Plus",
  164. "BracketLeft",
  165. "LBracket",
  166. "BracketRight",
  167. "RBracket",
  168. "Semicolon",
  169. "Quote",
  170. "Comma",
  171. "Period",
  172. "Slash",
  173. "BackSlash",
  174. "NonUSBackSlash",
  175. "LastKey"
  176. ]
  177. },
  178. "input": {
  179. "type": "string",
  180. "enum": [
  181. "DPadUp",
  182. "DPadDown",
  183. "DPadLeft",
  184. "DPadRight",
  185. "LStick",
  186. "RStick",
  187. "LShoulder",
  188. "RShoulder",
  189. "LTrigger",
  190. "RTrigger",
  191. "LJoystick",
  192. "RJoystick",
  193. "A",
  194. "B",
  195. "X",
  196. "Y",
  197. "Start",
  198. "Back"
  199. ]
  200. }
  201. },
  202. "properties": {
  203. "graphics_shaders_dump_path": {
  204. "$id": "#/properties/graphics_shaders_dump_path",
  205. "type": "string",
  206. "title": "Graphics Shaders Dump Path",
  207. "description": "Dumps shaders in this local directory",
  208. "default": "",
  209. "examples": [
  210. "C:\\ShaderDumps"
  211. ]
  212. },
  213. "logging_enable_debug": {
  214. "$id": "#/properties/logging_enable_debug",
  215. "type": "boolean",
  216. "title": "Logging Enable Debug",
  217. "description": "Enables printing debug log messages",
  218. "default": false,
  219. "examples": [
  220. true,
  221. false
  222. ]
  223. },
  224. "logging_enable_stub": {
  225. "$id": "#/properties/logging_enable_stub",
  226. "type": "boolean",
  227. "title": "Logging Enable Stub",
  228. "description": "Enables printing stub log messages",
  229. "default": true,
  230. "examples": [
  231. true,
  232. false
  233. ]
  234. },
  235. "logging_enable_info": {
  236. "$id": "#/properties/logging_enable_info",
  237. "type": "boolean",
  238. "title": "Logging Enable Info",
  239. "description": "Enables printing info log messages",
  240. "default": true,
  241. "examples": [
  242. true,
  243. false
  244. ]
  245. },
  246. "logging_enable_warn": {
  247. "$id": "#/properties/logging_enable_warn",
  248. "type": "boolean",
  249. "title": "Logging Enable Warn",
  250. "description": "Enables printing warning log messages",
  251. "default": true,
  252. "examples": [
  253. true,
  254. false
  255. ]
  256. },
  257. "logging_enable_error": {
  258. "$id": "#/properties/logging_enable_error",
  259. "type": "boolean",
  260. "title": "Logging Enable Error",
  261. "description": "Enables printing error log messages",
  262. "default": true,
  263. "examples": [
  264. true,
  265. false
  266. ]
  267. },
  268. "logging_filtered_classes": {
  269. "$id": "#/properties/logging_filtered_classes",
  270. "type": "array",
  271. "title": "Logging Filtered Classes",
  272. "description": "Controls which log messages are written to the log targets",
  273. "items": {
  274. "type": "string",
  275. "enum": [
  276. "Application",
  277. "Audio",
  278. "Cpu",
  279. "Font",
  280. "Emulation",
  281. "Gpu",
  282. "Hid",
  283. "Kernel",
  284. "KernelIpc",
  285. "KernelScheduler",
  286. "KernelSvc",
  287. "Loader",
  288. "Service",
  289. "ServiceAcc",
  290. "ServiceAm",
  291. "ServiceApm",
  292. "ServiceAudio",
  293. "ServiceBsd",
  294. "ServiceCaps",
  295. "ServiceFriend",
  296. "ServiceFs",
  297. "ServiceHid",
  298. "ServiceIrs",
  299. "ServiceLdr",
  300. "ServiceLm",
  301. "ServiceMm",
  302. "ServiceNfp",
  303. "ServiceNifm",
  304. "ServiceNs",
  305. "ServiceNv",
  306. "ServicePctl",
  307. "ServicePl",
  308. "ServicePrepo",
  309. "ServicePsm",
  310. "ServiceSet",
  311. "ServiceSfdnsres",
  312. "ServiceSm",
  313. "ServiceSsl",
  314. "ServiceSss",
  315. "ServiceTime",
  316. "ServiceVi"
  317. ]
  318. }
  319. },
  320. "enable_file_log": {
  321. "$id": "#/properties/enable_file_log",
  322. "type": "boolean",
  323. "title": "Enable File Log",
  324. "description": "Enables logging to a file on disk",
  325. "default": true,
  326. "examples": [
  327. true,
  328. false
  329. ]
  330. },
  331. "system_language": {
  332. "$id": "#/properties/system_language",
  333. "type": "string",
  334. "title": "System Language",
  335. "description": "Change System Language",
  336. "default": "AmericanEnglish",
  337. "enum": [
  338. "Japanese",
  339. "AmericanEnglish",
  340. "French",
  341. "German",
  342. "Italian",
  343. "Spanish",
  344. "Chinese",
  345. "Korean",
  346. "Dutch",
  347. "Portuguese",
  348. "Russian",
  349. "Taiwanese",
  350. "BritishEnglish",
  351. "CanadianFrench",
  352. "LatinAmericanSpanish",
  353. "SimplifiedChinese",
  354. "TraditionalChinese"
  355. ],
  356. "examples": [
  357. "AmericanEnglish"
  358. ]
  359. },
  360. "docked_mode": {
  361. "$id": "#/properties/docked_mode",
  362. "type": "boolean",
  363. "title": "Enable Docked Mode",
  364. "description": "Enables or disables Docked Mode",
  365. "default": false,
  366. "examples": [
  367. true,
  368. false
  369. ]
  370. },
  371. "enable_vsync": {
  372. "$id": "#/properties/enable_vsync",
  373. "type": "boolean",
  374. "title": "Enable Vertical Sync",
  375. "description": "Enables or disables Vertical Sync",
  376. "default": true,
  377. "examples": [
  378. true,
  379. false
  380. ]
  381. },
  382. "enable_multicore_scheduling": {
  383. "$id": "#/properties/enable_multicore_scheduling",
  384. "type": "boolean",
  385. "title": "Enable Multicore Scheduling",
  386. "description": "Enables or disables multi-core scheduling of threads",
  387. "default": true,
  388. "examples": [
  389. true,
  390. false
  391. ]
  392. },
  393. "enable_fs_integrity_checks": {
  394. "$id": "#/properties/enable_fs_integrity_checks",
  395. "type": "boolean",
  396. "title": "Enable Filesystem Integrity Checks",
  397. "description": "Enables integrity checks on Game content files. Only applies to ROMs loaded as XCI files",
  398. "default": true,
  399. "examples": [
  400. true,
  401. false
  402. ]
  403. },
  404. "enable_aggressive_cpu_opts": {
  405. "$id": "#/properties/enable_aggressive_cpu_opts",
  406. "type": "boolean",
  407. "title": "Enable Aggressive CPU Optimizations",
  408. "description": "Enable or disable aggressive CPU optimizations",
  409. "default": true,
  410. "examples": [
  411. true,
  412. false
  413. ]
  414. },
  415. "ignore_missing_services": {
  416. "$id": "#/properties/ignore_missing_services",
  417. "type": "boolean",
  418. "title": "Ignore Missing Services",
  419. "description": "Enable or disable ignoring missing services, this may cause instability",
  420. "default": false,
  421. "examples": [
  422. true,
  423. false
  424. ]
  425. },
  426. "controller_type": {
  427. "$id": "#/properties/controller_type",
  428. "type": "string",
  429. "title": "Controller Type",
  430. "default": "Handheld",
  431. "enum": [
  432. "Handheld",
  433. "ProController",
  434. "NpadPair",
  435. "NpadLeft",
  436. "NpadRight"
  437. ],
  438. "examples": [
  439. "Handheld",
  440. "ProController",
  441. "NpadPair",
  442. "NpadLeft",
  443. "NpadRight"
  444. ]
  445. },
  446. "enable_keyboard": {
  447. "$id": "#/properties/enable_keyboard",
  448. "type": "boolean",
  449. "title": "(HID) Keyboard Enable",
  450. "description": "Enable or disable direct keyboard access (HID) support (Provides games access to your keyboard as a text entry device).",
  451. "default": true,
  452. "examples": [
  453. true,
  454. false
  455. ]
  456. },
  457. "keyboard_controls": {
  458. "$id": "#/properties/keyboard_controls",
  459. "type": "object",
  460. "title": "Keyboard Controls",
  461. "required": [
  462. "left_joycon",
  463. "right_joycon"
  464. ],
  465. "properties": {
  466. "left_joycon": {
  467. "$id": "#/properties/keyboard_controls/properties/left_joycon",
  468. "type": "object",
  469. "title": "Left JoyCon Controls",
  470. "required": [
  471. "stick_up",
  472. "stick_down",
  473. "stick_left",
  474. "stick_right",
  475. "stick_button",
  476. "dpad_up",
  477. "dpad_down",
  478. "dpad_left",
  479. "dpad_right",
  480. "button_minus",
  481. "button_l",
  482. "button_zl"
  483. ],
  484. "properties": {
  485. "stick_up": {
  486. "$id": "#/properties/keyboard_controls/properties/left_joycon/properties/stick_up",
  487. "$ref": "#/definitions/key",
  488. "title": "Stick Up",
  489. "default": "w"
  490. },
  491. "stick_down": {
  492. "$id": "#/properties/keyboard_controls/properties/left_joycon/properties/stick_down",
  493. "$ref": "#/definitions/key",
  494. "title": "Stick Down",
  495. "default": "S"
  496. },
  497. "stick_left": {
  498. "$id": "#/properties/keyboard_controls/properties/left_joycon/properties/stick_left",
  499. "$ref": "#/definitions/key",
  500. "title": "Stick Left",
  501. "default": "A"
  502. },
  503. "stick_right": {
  504. "$id": "#/properties/keyboard_controls/properties/left_joycon/properties/stick_right",
  505. "$ref": "#/definitions/key",
  506. "title": "Stick Right",
  507. "default": "D"
  508. },
  509. "stick_button": {
  510. "$id": "#/properties/keyboard_controls/properties/left_joycon/properties/stick_button",
  511. "$ref": "#/definitions/key",
  512. "title": "Stick Button",
  513. "default": "F"
  514. },
  515. "dpad_up": {
  516. "$id": "#/properties/keyboard_controls/properties/left_joycon/properties/dpad_up",
  517. "$ref": "#/definitions/key",
  518. "title": "Dpad Up",
  519. "default": "Up"
  520. },
  521. "dpad_down": {
  522. "$id": "#/properties/keyboard_controls/properties/left_joycon/properties/dpad_down",
  523. "$ref": "#/definitions/key",
  524. "title": "Dpad Down",
  525. "default": "Down"
  526. },
  527. "dpad_left": {
  528. "$id": "#/properties/keyboard_controls/properties/left_joycon/properties/dpad_left",
  529. "$ref": "#/definitions/key",
  530. "title": "Dpad Left",
  531. "default": "Left"
  532. },
  533. "dpad_right": {
  534. "$id": "#/properties/keyboard_controls/properties/left_joycon/properties/dpad_right",
  535. "$ref": "#/definitions/key",
  536. "title": "Dpad Right",
  537. "default": "Right"
  538. },
  539. "button_minus": {
  540. "$id": "#/properties/keyboard_controls/properties/left_joycon/properties/button_minus",
  541. "$ref": "#/definitions/key",
  542. "title": "Button Minus",
  543. "default": "Minus"
  544. },
  545. "button_l": {
  546. "$id": "#/properties/keyboard_controls/properties/left_joycon/properties/button_l",
  547. "$ref": "#/definitions/key",
  548. "title": "Button L",
  549. "default": "E"
  550. },
  551. "button_zl": {
  552. "$id": "#/properties/keyboard_controls/properties/left_joycon/properties/button_zl",
  553. "$ref": "#/definitions/key",
  554. "title": "Button ZL",
  555. "default": "Q"
  556. }
  557. }
  558. },
  559. "right_joycon": {
  560. "$id": "#/properties/keyboard_controls/properties/right_joycon",
  561. "type": "object",
  562. "title": "Right JoyCon Controls",
  563. "required": [
  564. "stick_up",
  565. "stick_down",
  566. "stick_left",
  567. "stick_right",
  568. "stick_button",
  569. "button_a",
  570. "button_b",
  571. "button_x",
  572. "button_y",
  573. "button_plus",
  574. "button_r",
  575. "button_zr"
  576. ],
  577. "properties": {
  578. "stick_up": {
  579. "$id": "#/properties/keyboard_controls/properties/right_joycon/properties/stick_up",
  580. "$ref": "#/definitions/key",
  581. "title": "Stick Up",
  582. "default": "I"
  583. },
  584. "stick_down": {
  585. "$id": "#/properties/keyboard_controls/properties/right_joycon/properties/stick_down",
  586. "$ref": "#/definitions/key",
  587. "title": "Stick Down",
  588. "default": "K"
  589. },
  590. "stick_left": {
  591. "$id": "#/properties/keyboard_controls/properties/right_joycon/properties/stick_left",
  592. "$ref": "#/definitions/key",
  593. "title": "Stick Left",
  594. "default": "J"
  595. },
  596. "stick_right": {
  597. "$id": "#/properties/keyboard_controls/properties/right_joycon/properties/stick_right",
  598. "$ref": "#/definitions/key",
  599. "title": "Stick Right",
  600. "default": "L"
  601. },
  602. "stick_button": {
  603. "$id": "#/properties/keyboard_controls/properties/right_joycon/properties/stick_button",
  604. "$ref": "#/definitions/key",
  605. "title": "Stick Button",
  606. "default": "H"
  607. },
  608. "button_a": {
  609. "$id": "#/properties/keyboard_controls/properties/right_joycon/properties/button_a",
  610. "$ref": "#/definitions/key",
  611. "title": "Button A",
  612. "default": "Z"
  613. },
  614. "button_b": {
  615. "$id": "#/properties/keyboard_controls/properties/right_joycon/properties/button_b",
  616. "$ref": "#/definitions/key",
  617. "title": "Button B",
  618. "default": "X"
  619. },
  620. "button_x": {
  621. "$id": "#/properties/keyboard_controls/properties/right_joycon/properties/button_x",
  622. "$ref": "#/definitions/key",
  623. "title": "Button X",
  624. "default": "C"
  625. },
  626. "button_y": {
  627. "$id": "#/properties/keyboard_controls/properties/right_joycon/properties/button_y",
  628. "$ref": "#/definitions/key",
  629. "title": "Button Y",
  630. "default": "V"
  631. },
  632. "button_plus": {
  633. "$id": "#/properties/keyboard_controls/properties/right_joycon/properties/button_plus",
  634. "$ref": "#/definitions/key",
  635. "title": "Button Plus",
  636. "default": "Plus"
  637. },
  638. "button_r": {
  639. "$id": "#/properties/keyboard_controls/properties/right_joycon/properties/button_r",
  640. "$ref": "#/definitions/key",
  641. "title": "Button R",
  642. "default": "U"
  643. },
  644. "button_zr": {
  645. "$id": "#/properties/keyboard_controls/properties/right_joycon/properties/button_zr",
  646. "$ref": "#/definitions/key",
  647. "title": "Button Zr",
  648. "default": "O"
  649. }
  650. }
  651. },
  652. "hotkeys": {
  653. "$id": "#/properties/keyboard_controls/properties/hotkeys",
  654. "type": "object",
  655. "title": "Hotkey Controls",
  656. "required": [
  657. "toggle_vsync"
  658. ],
  659. "properties": {
  660. "toggle_vsync": {
  661. "$id": "#/properties/keyboard_controls/properties/hotkeys/properties/toggle_vsync",
  662. "$ref": "#/definitions/key",
  663. "title": "Toggle VSync",
  664. "default": "Tab"
  665. }
  666. }
  667. }
  668. }
  669. },
  670. "gamepad_controls": {
  671. "$id": "#/properties/gamepad_controls",
  672. "type": "object",
  673. "title": "GamePad Controls",
  674. "required": [
  675. "left_joycon",
  676. "right_joycon"
  677. ],
  678. "properties": {
  679. "enable": {
  680. "$id": "#/properties/gamepad_controls/properties/enable",
  681. "type": "boolean",
  682. "title": "Gamepad Enable",
  683. "description": "Enables or disables controller support",
  684. "default": true,
  685. "examples": [
  686. true,
  687. false
  688. ]
  689. },
  690. "index": {
  691. "$id": "#/properties/gamepad_controls/properties/index",
  692. "type": "integer",
  693. "title": "Gamepad Index",
  694. "description": "Controller Device Index",
  695. "default": 0,
  696. "minimum": 0,
  697. "examples": [
  698. 0,
  699. 1,
  700. 2
  701. ]
  702. },
  703. "deadzone": {
  704. "$id": "#/properties/gamepad_controls/properties/deadzone",
  705. "type": "number",
  706. "title": "Gamepad Deadzone",
  707. "description": "Controller Analog Stick Deadzone",
  708. "default": 0.05,
  709. "minimum": -32768.0,
  710. "maximum": 32767.0,
  711. "examples": [
  712. 0.05
  713. ]
  714. },
  715. "trigger_threshold": {
  716. "$id": "#/properties/gamepad_controls/properties/trigger_threshold",
  717. "type": "number",
  718. "title": "Controller Trigger Threshold",
  719. "description": "The value of how pressed down each trigger has to be in order to register a button press",
  720. "default": 0.5,
  721. "minimum": 0.0,
  722. "maximum": 1.0,
  723. "examples": [
  724. 0.5
  725. ]
  726. },
  727. "left_joycon": {
  728. "$id": "#/properties/gamepad_controls/properties/left_joycon",
  729. "type": "object",
  730. "title": "Left JoyCon Controls",
  731. "required": [
  732. "stick",
  733. "stick_button",
  734. "dpad_up",
  735. "dpad_down",
  736. "dpad_left",
  737. "dpad_right",
  738. "button_minus",
  739. "button_l",
  740. "button_zl"
  741. ],
  742. "properties": {
  743. "stick": {
  744. "$id": "#/properties/gamepad_controls/properties/left_joycon/properties/stick",
  745. "$ref": "#/definitions/input",
  746. "title": "Stick",
  747. "default": "LJoystick"
  748. },
  749. "stick_button": {
  750. "$id": "#/properties/gamepad_controls/properties/left_joycon/properties/stick_button",
  751. "$ref": "#/definitions/input",
  752. "title": "Stick Button",
  753. "default": "LStick"
  754. },
  755. "dpad_up": {
  756. "$id": "#/properties/gamepad_controls/properties/left_joycon/properties/dpad_up",
  757. "$ref": "#/definitions/input",
  758. "title": "Dpad Up",
  759. "default": "DPadUp"
  760. },
  761. "dpad_down": {
  762. "$id": "#/properties/gamepad_controls/properties/left_joycon/properties/dpad_down",
  763. "$ref": "#/definitions/input",
  764. "title": "Dpad Down",
  765. "default": "DPadDown"
  766. },
  767. "dpad_left": {
  768. "$id": "#/properties/gamepad_controls/properties/left_joycon/properties/dpad_left",
  769. "$ref": "#/definitions/input",
  770. "title": "Dpad Left",
  771. "default": "DPadLeft"
  772. },
  773. "dpad_right": {
  774. "$id": "#/properties/gamepad_controls/properties/left_joycon/properties/dpad_right",
  775. "$ref": "#/definitions/input",
  776. "title": "Dpad Right",
  777. "default": "DPadRight"
  778. },
  779. "button_minus": {
  780. "$id": "#/properties/gamepad_controls/properties/left_joycon/properties/button_minus",
  781. "$ref": "#/definitions/input",
  782. "title": "Button Minus",
  783. "default": "Back"
  784. },
  785. "button_l": {
  786. "$id": "#/properties/gamepad_controls/properties/left_joycon/properties/button_l",
  787. "$ref": "#/definitions/input",
  788. "title": "Button L",
  789. "default": "LShoulder"
  790. },
  791. "button_zl": {
  792. "$id": "#/properties/gamepad_controls/properties/left_joycon/properties/button_zl",
  793. "$ref": "#/definitions/input",
  794. "title": "Button ZL",
  795. "default": "LTrigger"
  796. }
  797. }
  798. },
  799. "right_joycon": {
  800. "$id": "#/properties/gamepad_controls/properties/right_joycon",
  801. "type": "object",
  802. "title": "Right JoyCon Controls",
  803. "required": [
  804. "stick",
  805. "stick_button",
  806. "button_a",
  807. "button_b",
  808. "button_x",
  809. "button_y",
  810. "button_plus",
  811. "button_r",
  812. "button_zr"
  813. ],
  814. "properties": {
  815. "stick": {
  816. "$id": "#/properties/gamepad_controls/properties/right_joycon/properties/stick",
  817. "$ref": "#/definitions/input",
  818. "title": "Stick",
  819. "default": "RJoystick"
  820. },
  821. "stick_button": {
  822. "$id": "#/properties/gamepad_controls/properties/right_joycon/properties/stick_button",
  823. "$ref": "#/definitions/input",
  824. "title": "Stick Button",
  825. "default": "RStick"
  826. },
  827. "button_a": {
  828. "$id": "#/properties/gamepad_controls/properties/right_joycon/properties/button_a",
  829. "$ref": "#/definitions/input",
  830. "title": "Button A",
  831. "default": "B"
  832. },
  833. "button_b": {
  834. "$id": "#/properties/gamepad_controls/properties/right_joycon/properties/button_b",
  835. "$ref": "#/definitions/input",
  836. "title": "Button B",
  837. "default": "A"
  838. },
  839. "button_x": {
  840. "$id": "#/properties/gamepad_controls/properties/right_joycon/properties/button_x",
  841. "$ref": "#/definitions/input",
  842. "title": "Button X",
  843. "default": "Y"
  844. },
  845. "button_y": {
  846. "$id": "#/properties/gamepad_controls/properties/right_joycon/properties/button_y",
  847. "$ref": "#/definitions/input",
  848. "title": "Button Y",
  849. "default": "X"
  850. },
  851. "button_plus": {
  852. "$id": "#/properties/gamepad_controls/properties/right_joycon/properties/button_plus",
  853. "$ref": "#/definitions/input",
  854. "title": "Button Plus",
  855. "default": "Start"
  856. },
  857. "button_r": {
  858. "$id": "#/properties/gamepad_controls/properties/right_joycon/properties/button_r",
  859. "$ref": "#/definitions/input",
  860. "title": "Button R",
  861. "default": "RShoulder"
  862. },
  863. "button_zr": {
  864. "$id": "#/properties/gamepad_controls/properties/right_joycon/properties/button_zr",
  865. "$ref": "#/definitions/input",
  866. "title": "Button ZR",
  867. "default": "RTrigger"
  868. }
  869. }
  870. }
  871. }
  872. }
  873. }
  874. }