_schema.json 24 KB

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