_schema.json 28 KB

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