_schema.json 25 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885
  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_discord_intergration": {
  372. "$id": "#/properties/enable_discord_intergration",
  373. "type": "boolean",
  374. "title": "Enable Discord Rich Presense",
  375. "description": "Enable or disable Discord Rich Presense",
  376. "default": true,
  377. "examples": [
  378. true,
  379. false
  380. ]
  381. },
  382. "enable_vsync": {
  383. "$id": "#/properties/enable_vsync",
  384. "type": "boolean",
  385. "title": "Enable Vertical Sync",
  386. "description": "Enables or disables Vertical Sync",
  387. "default": true,
  388. "examples": [
  389. true,
  390. false
  391. ]
  392. },
  393. "enable_multicore_scheduling": {
  394. "$id": "#/properties/enable_multicore_scheduling",
  395. "type": "boolean",
  396. "title": "Enable Multicore Scheduling",
  397. "description": "Enables or disables multi-core scheduling of threads",
  398. "default": true,
  399. "examples": [
  400. true,
  401. false
  402. ]
  403. },
  404. "enable_fs_integrity_checks": {
  405. "$id": "#/properties/enable_fs_integrity_checks",
  406. "type": "boolean",
  407. "title": "Enable Filesystem Integrity Checks",
  408. "description": "Enables integrity checks on Game content files. Only applies to ROMs loaded as XCI files",
  409. "default": true,
  410. "examples": [
  411. true,
  412. false
  413. ]
  414. },
  415. "enable_aggressive_cpu_opts": {
  416. "$id": "#/properties/enable_aggressive_cpu_opts",
  417. "type": "boolean",
  418. "title": "Enable Aggressive CPU Optimizations",
  419. "description": "Enable or disable aggressive CPU optimizations",
  420. "default": true,
  421. "examples": [
  422. true,
  423. false
  424. ]
  425. },
  426. "ignore_missing_services": {
  427. "$id": "#/properties/ignore_missing_services",
  428. "type": "boolean",
  429. "title": "Ignore Missing Services",
  430. "description": "Enable or disable ignoring missing services, this may cause instability",
  431. "default": false,
  432. "examples": [
  433. true,
  434. false
  435. ]
  436. },
  437. "controller_type": {
  438. "$id": "#/properties/controller_type",
  439. "type": "string",
  440. "title": "Controller Type",
  441. "default": "Handheld",
  442. "enum": [
  443. "Handheld",
  444. "ProController",
  445. "NpadPair",
  446. "NpadLeft",
  447. "NpadRight"
  448. ],
  449. "examples": [
  450. "Handheld",
  451. "ProController",
  452. "NpadPair",
  453. "NpadLeft",
  454. "NpadRight"
  455. ]
  456. },
  457. "enable_keyboard": {
  458. "$id": "#/properties/enable_keyboard",
  459. "type": "boolean",
  460. "title": "(HID) Keyboard Enable",
  461. "description": "Enable or disable direct keyboard access (HID) support (Provides games access to your keyboard as a text entry device).",
  462. "default": true,
  463. "examples": [
  464. true,
  465. false
  466. ]
  467. },
  468. "keyboard_controls": {
  469. "$id": "#/properties/keyboard_controls",
  470. "type": "object",
  471. "title": "Keyboard Controls",
  472. "required": [
  473. "left_joycon",
  474. "right_joycon"
  475. ],
  476. "properties": {
  477. "left_joycon": {
  478. "$id": "#/properties/keyboard_controls/properties/left_joycon",
  479. "type": "object",
  480. "title": "Left JoyCon Controls",
  481. "required": [
  482. "stick_up",
  483. "stick_down",
  484. "stick_left",
  485. "stick_right",
  486. "stick_button",
  487. "dpad_up",
  488. "dpad_down",
  489. "dpad_left",
  490. "dpad_right",
  491. "button_minus",
  492. "button_l",
  493. "button_zl"
  494. ],
  495. "properties": {
  496. "stick_up": {
  497. "$id": "#/properties/keyboard_controls/properties/left_joycon/properties/stick_up",
  498. "$ref": "#/definitions/key",
  499. "title": "Stick Up",
  500. "default": "w"
  501. },
  502. "stick_down": {
  503. "$id": "#/properties/keyboard_controls/properties/left_joycon/properties/stick_down",
  504. "$ref": "#/definitions/key",
  505. "title": "Stick Down",
  506. "default": "S"
  507. },
  508. "stick_left": {
  509. "$id": "#/properties/keyboard_controls/properties/left_joycon/properties/stick_left",
  510. "$ref": "#/definitions/key",
  511. "title": "Stick Left",
  512. "default": "A"
  513. },
  514. "stick_right": {
  515. "$id": "#/properties/keyboard_controls/properties/left_joycon/properties/stick_right",
  516. "$ref": "#/definitions/key",
  517. "title": "Stick Right",
  518. "default": "D"
  519. },
  520. "stick_button": {
  521. "$id": "#/properties/keyboard_controls/properties/left_joycon/properties/stick_button",
  522. "$ref": "#/definitions/key",
  523. "title": "Stick Button",
  524. "default": "F"
  525. },
  526. "dpad_up": {
  527. "$id": "#/properties/keyboard_controls/properties/left_joycon/properties/dpad_up",
  528. "$ref": "#/definitions/key",
  529. "title": "Dpad Up",
  530. "default": "Up"
  531. },
  532. "dpad_down": {
  533. "$id": "#/properties/keyboard_controls/properties/left_joycon/properties/dpad_down",
  534. "$ref": "#/definitions/key",
  535. "title": "Dpad Down",
  536. "default": "Down"
  537. },
  538. "dpad_left": {
  539. "$id": "#/properties/keyboard_controls/properties/left_joycon/properties/dpad_left",
  540. "$ref": "#/definitions/key",
  541. "title": "Dpad Left",
  542. "default": "Left"
  543. },
  544. "dpad_right": {
  545. "$id": "#/properties/keyboard_controls/properties/left_joycon/properties/dpad_right",
  546. "$ref": "#/definitions/key",
  547. "title": "Dpad Right",
  548. "default": "Right"
  549. },
  550. "button_minus": {
  551. "$id": "#/properties/keyboard_controls/properties/left_joycon/properties/button_minus",
  552. "$ref": "#/definitions/key",
  553. "title": "Button Minus",
  554. "default": "Minus"
  555. },
  556. "button_l": {
  557. "$id": "#/properties/keyboard_controls/properties/left_joycon/properties/button_l",
  558. "$ref": "#/definitions/key",
  559. "title": "Button L",
  560. "default": "E"
  561. },
  562. "button_zl": {
  563. "$id": "#/properties/keyboard_controls/properties/left_joycon/properties/button_zl",
  564. "$ref": "#/definitions/key",
  565. "title": "Button ZL",
  566. "default": "Q"
  567. }
  568. }
  569. },
  570. "right_joycon": {
  571. "$id": "#/properties/keyboard_controls/properties/right_joycon",
  572. "type": "object",
  573. "title": "Right JoyCon Controls",
  574. "required": [
  575. "stick_up",
  576. "stick_down",
  577. "stick_left",
  578. "stick_right",
  579. "stick_button",
  580. "button_a",
  581. "button_b",
  582. "button_x",
  583. "button_y",
  584. "button_plus",
  585. "button_r",
  586. "button_zr"
  587. ],
  588. "properties": {
  589. "stick_up": {
  590. "$id": "#/properties/keyboard_controls/properties/right_joycon/properties/stick_up",
  591. "$ref": "#/definitions/key",
  592. "title": "Stick Up",
  593. "default": "I"
  594. },
  595. "stick_down": {
  596. "$id": "#/properties/keyboard_controls/properties/right_joycon/properties/stick_down",
  597. "$ref": "#/definitions/key",
  598. "title": "Stick Down",
  599. "default": "K"
  600. },
  601. "stick_left": {
  602. "$id": "#/properties/keyboard_controls/properties/right_joycon/properties/stick_left",
  603. "$ref": "#/definitions/key",
  604. "title": "Stick Left",
  605. "default": "J"
  606. },
  607. "stick_right": {
  608. "$id": "#/properties/keyboard_controls/properties/right_joycon/properties/stick_right",
  609. "$ref": "#/definitions/key",
  610. "title": "Stick Right",
  611. "default": "L"
  612. },
  613. "stick_button": {
  614. "$id": "#/properties/keyboard_controls/properties/right_joycon/properties/stick_button",
  615. "$ref": "#/definitions/key",
  616. "title": "Stick Button",
  617. "default": "H"
  618. },
  619. "button_a": {
  620. "$id": "#/properties/keyboard_controls/properties/right_joycon/properties/button_a",
  621. "$ref": "#/definitions/key",
  622. "title": "Button A",
  623. "default": "Z"
  624. },
  625. "button_b": {
  626. "$id": "#/properties/keyboard_controls/properties/right_joycon/properties/button_b",
  627. "$ref": "#/definitions/key",
  628. "title": "Button B",
  629. "default": "X"
  630. },
  631. "button_x": {
  632. "$id": "#/properties/keyboard_controls/properties/right_joycon/properties/button_x",
  633. "$ref": "#/definitions/key",
  634. "title": "Button X",
  635. "default": "C"
  636. },
  637. "button_y": {
  638. "$id": "#/properties/keyboard_controls/properties/right_joycon/properties/button_y",
  639. "$ref": "#/definitions/key",
  640. "title": "Button Y",
  641. "default": "V"
  642. },
  643. "button_plus": {
  644. "$id": "#/properties/keyboard_controls/properties/right_joycon/properties/button_plus",
  645. "$ref": "#/definitions/key",
  646. "title": "Button Plus",
  647. "default": "Plus"
  648. },
  649. "button_r": {
  650. "$id": "#/properties/keyboard_controls/properties/right_joycon/properties/button_r",
  651. "$ref": "#/definitions/key",
  652. "title": "Button R",
  653. "default": "U"
  654. },
  655. "button_zr": {
  656. "$id": "#/properties/keyboard_controls/properties/right_joycon/properties/button_zr",
  657. "$ref": "#/definitions/key",
  658. "title": "Button Zr",
  659. "default": "O"
  660. }
  661. }
  662. },
  663. "hotkeys": {
  664. "$id": "#/properties/keyboard_controls/properties/hotkeys",
  665. "type": "object",
  666. "title": "Hotkey Controls",
  667. "required": [
  668. "toggle_vsync"
  669. ],
  670. "properties": {
  671. "toggle_vsync": {
  672. "$id": "#/properties/keyboard_controls/properties/hotkeys/properties/toggle_vsync",
  673. "$ref": "#/definitions/key",
  674. "title": "Toggle VSync",
  675. "default": "Tab"
  676. }
  677. }
  678. }
  679. }
  680. },
  681. "gamepad_controls": {
  682. "$id": "#/properties/gamepad_controls",
  683. "type": "object",
  684. "title": "GamePad Controls",
  685. "required": [
  686. "left_joycon",
  687. "right_joycon"
  688. ],
  689. "properties": {
  690. "enable": {
  691. "$id": "#/properties/gamepad_controls/properties/enable",
  692. "type": "boolean",
  693. "title": "Gamepad Enable",
  694. "description": "Enables or disables controller support",
  695. "default": true,
  696. "examples": [
  697. true,
  698. false
  699. ]
  700. },
  701. "index": {
  702. "$id": "#/properties/gamepad_controls/properties/index",
  703. "type": "integer",
  704. "title": "Gamepad Index",
  705. "description": "Controller Device Index",
  706. "default": 0,
  707. "minimum": 0,
  708. "examples": [
  709. 0,
  710. 1,
  711. 2
  712. ]
  713. },
  714. "deadzone": {
  715. "$id": "#/properties/gamepad_controls/properties/deadzone",
  716. "type": "number",
  717. "title": "Gamepad Deadzone",
  718. "description": "Controller Analog Stick Deadzone",
  719. "default": 0.05,
  720. "minimum": -32768.0,
  721. "maximum": 32767.0,
  722. "examples": [
  723. 0.05
  724. ]
  725. },
  726. "trigger_threshold": {
  727. "$id": "#/properties/gamepad_controls/properties/trigger_threshold",
  728. "type": "number",
  729. "title": "Controller Trigger Threshold",
  730. "description": "The value of how pressed down each trigger has to be in order to register a button press",
  731. "default": 0.5,
  732. "minimum": 0.0,
  733. "maximum": 1.0,
  734. "examples": [
  735. 0.5
  736. ]
  737. },
  738. "left_joycon": {
  739. "$id": "#/properties/gamepad_controls/properties/left_joycon",
  740. "type": "object",
  741. "title": "Left JoyCon Controls",
  742. "required": [
  743. "stick",
  744. "stick_button",
  745. "dpad_up",
  746. "dpad_down",
  747. "dpad_left",
  748. "dpad_right",
  749. "button_minus",
  750. "button_l",
  751. "button_zl"
  752. ],
  753. "properties": {
  754. "stick": {
  755. "$id": "#/properties/gamepad_controls/properties/left_joycon/properties/stick",
  756. "$ref": "#/definitions/input",
  757. "title": "Stick",
  758. "default": "LJoystick"
  759. },
  760. "stick_button": {
  761. "$id": "#/properties/gamepad_controls/properties/left_joycon/properties/stick_button",
  762. "$ref": "#/definitions/input",
  763. "title": "Stick Button",
  764. "default": "LStick"
  765. },
  766. "dpad_up": {
  767. "$id": "#/properties/gamepad_controls/properties/left_joycon/properties/dpad_up",
  768. "$ref": "#/definitions/input",
  769. "title": "Dpad Up",
  770. "default": "DPadUp"
  771. },
  772. "dpad_down": {
  773. "$id": "#/properties/gamepad_controls/properties/left_joycon/properties/dpad_down",
  774. "$ref": "#/definitions/input",
  775. "title": "Dpad Down",
  776. "default": "DPadDown"
  777. },
  778. "dpad_left": {
  779. "$id": "#/properties/gamepad_controls/properties/left_joycon/properties/dpad_left",
  780. "$ref": "#/definitions/input",
  781. "title": "Dpad Left",
  782. "default": "DPadLeft"
  783. },
  784. "dpad_right": {
  785. "$id": "#/properties/gamepad_controls/properties/left_joycon/properties/dpad_right",
  786. "$ref": "#/definitions/input",
  787. "title": "Dpad Right",
  788. "default": "DPadRight"
  789. },
  790. "button_minus": {
  791. "$id": "#/properties/gamepad_controls/properties/left_joycon/properties/button_minus",
  792. "$ref": "#/definitions/input",
  793. "title": "Button Minus",
  794. "default": "Back"
  795. },
  796. "button_l": {
  797. "$id": "#/properties/gamepad_controls/properties/left_joycon/properties/button_l",
  798. "$ref": "#/definitions/input",
  799. "title": "Button L",
  800. "default": "LShoulder"
  801. },
  802. "button_zl": {
  803. "$id": "#/properties/gamepad_controls/properties/left_joycon/properties/button_zl",
  804. "$ref": "#/definitions/input",
  805. "title": "Button ZL",
  806. "default": "LTrigger"
  807. }
  808. }
  809. },
  810. "right_joycon": {
  811. "$id": "#/properties/gamepad_controls/properties/right_joycon",
  812. "type": "object",
  813. "title": "Right JoyCon Controls",
  814. "required": [
  815. "stick",
  816. "stick_button",
  817. "button_a",
  818. "button_b",
  819. "button_x",
  820. "button_y",
  821. "button_plus",
  822. "button_r",
  823. "button_zr"
  824. ],
  825. "properties": {
  826. "stick": {
  827. "$id": "#/properties/gamepad_controls/properties/right_joycon/properties/stick",
  828. "$ref": "#/definitions/input",
  829. "title": "Stick",
  830. "default": "RJoystick"
  831. },
  832. "stick_button": {
  833. "$id": "#/properties/gamepad_controls/properties/right_joycon/properties/stick_button",
  834. "$ref": "#/definitions/input",
  835. "title": "Stick Button",
  836. "default": "RStick"
  837. },
  838. "button_a": {
  839. "$id": "#/properties/gamepad_controls/properties/right_joycon/properties/button_a",
  840. "$ref": "#/definitions/input",
  841. "title": "Button A",
  842. "default": "B"
  843. },
  844. "button_b": {
  845. "$id": "#/properties/gamepad_controls/properties/right_joycon/properties/button_b",
  846. "$ref": "#/definitions/input",
  847. "title": "Button B",
  848. "default": "A"
  849. },
  850. "button_x": {
  851. "$id": "#/properties/gamepad_controls/properties/right_joycon/properties/button_x",
  852. "$ref": "#/definitions/input",
  853. "title": "Button X",
  854. "default": "Y"
  855. },
  856. "button_y": {
  857. "$id": "#/properties/gamepad_controls/properties/right_joycon/properties/button_y",
  858. "$ref": "#/definitions/input",
  859. "title": "Button Y",
  860. "default": "X"
  861. },
  862. "button_plus": {
  863. "$id": "#/properties/gamepad_controls/properties/right_joycon/properties/button_plus",
  864. "$ref": "#/definitions/input",
  865. "title": "Button Plus",
  866. "default": "Start"
  867. },
  868. "button_r": {
  869. "$id": "#/properties/gamepad_controls/properties/right_joycon/properties/button_r",
  870. "$ref": "#/definitions/input",
  871. "title": "Button R",
  872. "default": "RShoulder"
  873. },
  874. "button_zr": {
  875. "$id": "#/properties/gamepad_controls/properties/right_joycon/properties/button_zr",
  876. "$ref": "#/definitions/input",
  877. "title": "Button ZR",
  878. "default": "RTrigger"
  879. }
  880. }
  881. }
  882. }
  883. }
  884. }
  885. }