_schema.json 28 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931932933934935936937938939940941942943944945946947948949950951952953954955956957958959960961962963964965966967968969970971972973974975976977
  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. "docked_mode",
  19. "enable_vsync",
  20. "enable_multicore_scheduling",
  21. "enable_fs_integrity_checks",
  22. "fs_global_access_log_mode",
  23. "enable_legacy_jit",
  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. "docked_mode": {
  407. "$id": "#/properties/docked_mode",
  408. "type": "boolean",
  409. "title": "Enable Docked Mode",
  410. "description": "Enables or disables Docked Mode",
  411. "default": false,
  412. "examples": [
  413. true,
  414. false
  415. ]
  416. },
  417. "enable_discord_integration": {
  418. "$id": "#/properties/enable_discord_integration",
  419. "type": "boolean",
  420. "title": "Enable Discord Rich Presence",
  421. "description": "Enable or disable Discord Rich Presence",
  422. "default": true,
  423. "examples": [
  424. true,
  425. false
  426. ]
  427. },
  428. "enable_vsync": {
  429. "$id": "#/properties/enable_vsync",
  430. "type": "boolean",
  431. "title": "Enable Vertical Sync",
  432. "description": "Enables or disables Vertical Sync",
  433. "default": true,
  434. "examples": [
  435. true,
  436. false
  437. ]
  438. },
  439. "enable_multicore_scheduling": {
  440. "$id": "#/properties/enable_multicore_scheduling",
  441. "type": "boolean",
  442. "title": "Enable Multicore Scheduling",
  443. "description": "Enables or disables multi-core scheduling of threads",
  444. "default": true,
  445. "examples": [
  446. true,
  447. false
  448. ]
  449. },
  450. "enable_fs_integrity_checks": {
  451. "$id": "#/properties/enable_fs_integrity_checks",
  452. "type": "boolean",
  453. "title": "Enable Filesystem Integrity Checks",
  454. "description": "Enables integrity checks on Game content files. Only applies to ROMs loaded as XCI files",
  455. "default": true,
  456. "examples": [
  457. true,
  458. false
  459. ]
  460. },
  461. "fs_global_access_log_mode": {
  462. "$id": "#/properties/fs_global_access_log_mode",
  463. "type": "integer",
  464. "title": "Enable FS access log",
  465. "description": "Enables FS access log output. Possible modes are 0-3. Modes 2 and 3 output to the console",
  466. "default": 0,
  467. "minimum": 0,
  468. "examples": [
  469. 0,
  470. 1,
  471. 2,
  472. 3
  473. ]
  474. },
  475. "enable_legacy_jit": {
  476. "$id": "#/properties/enable_legacy_jit",
  477. "type": "boolean",
  478. "title": "Enable legacy JIT",
  479. "description": "Use old ChocolArm64 ARM emulator",
  480. "default": false,
  481. "examples": [
  482. true,
  483. false
  484. ]
  485. },
  486. "ignore_missing_services": {
  487. "$id": "#/properties/ignore_missing_services",
  488. "type": "boolean",
  489. "title": "Ignore Missing Services",
  490. "description": "Enable or disable ignoring missing services, this may cause instability",
  491. "default": false,
  492. "examples": [
  493. true,
  494. false
  495. ]
  496. },
  497. "game_dirs": {
  498. "$id": "#/properties/game_dirs",
  499. "type": "string list",
  500. "title": "List of Game Directories",
  501. "description": "A list of directories containing games to be used to load games into the games list",
  502. "default": []
  503. },
  504. "gui_columns": {
  505. "$id": "#/properties/gui_columns",
  506. "type": "bool list",
  507. "title": "Used to toggle columns in the GUI",
  508. "description": "Used to toggle columns in the GUI",
  509. "default": [ true, true, true, true, true, true, true, true, true ]
  510. },
  511. "enable_custom_theme": {
  512. "$id": "#/properties/enable_custom_theme",
  513. "type": "boolean",
  514. "title": "Enable custom themes in the GUI",
  515. "description": "Enable or disable custom themes in the GUI",
  516. "default": false,
  517. "examples": [
  518. true,
  519. false
  520. ]
  521. },
  522. "custom_theme_path": {
  523. "$id": "#/properties/custom_theme_path",
  524. "type": "string",
  525. "title": "Path to custom GUI theme",
  526. "description": "Path to custom GUI theme",
  527. "default": ""
  528. },
  529. "controller_type": {
  530. "$id": "#/properties/controller_type",
  531. "type": "string",
  532. "title": "Controller Type",
  533. "default": "Handheld",
  534. "enum": [
  535. "Handheld",
  536. "ProController",
  537. "NpadPair",
  538. "NpadLeft",
  539. "NpadRight"
  540. ],
  541. "examples": [
  542. "Handheld",
  543. "ProController",
  544. "NpadPair",
  545. "NpadLeft",
  546. "NpadRight"
  547. ]
  548. },
  549. "enable_keyboard": {
  550. "$id": "#/properties/enable_keyboard",
  551. "type": "boolean",
  552. "title": "(HID) Keyboard Enable",
  553. "description": "Enable or disable direct keyboard access (HID) support (Provides games access to your keyboard as a text entry device).",
  554. "default": true,
  555. "examples": [
  556. true,
  557. false
  558. ]
  559. },
  560. "keyboard_controls": {
  561. "$id": "#/properties/keyboard_controls",
  562. "type": "object",
  563. "title": "Keyboard Controls",
  564. "required": [
  565. "left_joycon",
  566. "right_joycon"
  567. ],
  568. "properties": {
  569. "left_joycon": {
  570. "$id": "#/properties/keyboard_controls/properties/left_joycon",
  571. "type": "object",
  572. "title": "Left JoyCon Controls",
  573. "required": [
  574. "stick_up",
  575. "stick_down",
  576. "stick_left",
  577. "stick_right",
  578. "stick_button",
  579. "dpad_up",
  580. "dpad_down",
  581. "dpad_left",
  582. "dpad_right",
  583. "button_minus",
  584. "button_l",
  585. "button_zl"
  586. ],
  587. "properties": {
  588. "stick_up": {
  589. "$id": "#/properties/keyboard_controls/properties/left_joycon/properties/stick_up",
  590. "$ref": "#/definitions/key",
  591. "title": "Stick Up",
  592. "default": "w"
  593. },
  594. "stick_down": {
  595. "$id": "#/properties/keyboard_controls/properties/left_joycon/properties/stick_down",
  596. "$ref": "#/definitions/key",
  597. "title": "Stick Down",
  598. "default": "S"
  599. },
  600. "stick_left": {
  601. "$id": "#/properties/keyboard_controls/properties/left_joycon/properties/stick_left",
  602. "$ref": "#/definitions/key",
  603. "title": "Stick Left",
  604. "default": "A"
  605. },
  606. "stick_right": {
  607. "$id": "#/properties/keyboard_controls/properties/left_joycon/properties/stick_right",
  608. "$ref": "#/definitions/key",
  609. "title": "Stick Right",
  610. "default": "D"
  611. },
  612. "stick_button": {
  613. "$id": "#/properties/keyboard_controls/properties/left_joycon/properties/stick_button",
  614. "$ref": "#/definitions/key",
  615. "title": "Stick Button",
  616. "default": "F"
  617. },
  618. "dpad_up": {
  619. "$id": "#/properties/keyboard_controls/properties/left_joycon/properties/dpad_up",
  620. "$ref": "#/definitions/key",
  621. "title": "Dpad Up",
  622. "default": "Up"
  623. },
  624. "dpad_down": {
  625. "$id": "#/properties/keyboard_controls/properties/left_joycon/properties/dpad_down",
  626. "$ref": "#/definitions/key",
  627. "title": "Dpad Down",
  628. "default": "Down"
  629. },
  630. "dpad_left": {
  631. "$id": "#/properties/keyboard_controls/properties/left_joycon/properties/dpad_left",
  632. "$ref": "#/definitions/key",
  633. "title": "Dpad Left",
  634. "default": "Left"
  635. },
  636. "dpad_right": {
  637. "$id": "#/properties/keyboard_controls/properties/left_joycon/properties/dpad_right",
  638. "$ref": "#/definitions/key",
  639. "title": "Dpad Right",
  640. "default": "Right"
  641. },
  642. "button_minus": {
  643. "$id": "#/properties/keyboard_controls/properties/left_joycon/properties/button_minus",
  644. "$ref": "#/definitions/key",
  645. "title": "Button Minus",
  646. "default": "Minus"
  647. },
  648. "button_l": {
  649. "$id": "#/properties/keyboard_controls/properties/left_joycon/properties/button_l",
  650. "$ref": "#/definitions/key",
  651. "title": "Button L",
  652. "default": "E"
  653. },
  654. "button_zl": {
  655. "$id": "#/properties/keyboard_controls/properties/left_joycon/properties/button_zl",
  656. "$ref": "#/definitions/key",
  657. "title": "Button ZL",
  658. "default": "Q"
  659. }
  660. }
  661. },
  662. "right_joycon": {
  663. "$id": "#/properties/keyboard_controls/properties/right_joycon",
  664. "type": "object",
  665. "title": "Right JoyCon Controls",
  666. "required": [
  667. "stick_up",
  668. "stick_down",
  669. "stick_left",
  670. "stick_right",
  671. "stick_button",
  672. "button_a",
  673. "button_b",
  674. "button_x",
  675. "button_y",
  676. "button_plus",
  677. "button_r",
  678. "button_zr"
  679. ],
  680. "properties": {
  681. "stick_up": {
  682. "$id": "#/properties/keyboard_controls/properties/right_joycon/properties/stick_up",
  683. "$ref": "#/definitions/key",
  684. "title": "Stick Up",
  685. "default": "I"
  686. },
  687. "stick_down": {
  688. "$id": "#/properties/keyboard_controls/properties/right_joycon/properties/stick_down",
  689. "$ref": "#/definitions/key",
  690. "title": "Stick Down",
  691. "default": "K"
  692. },
  693. "stick_left": {
  694. "$id": "#/properties/keyboard_controls/properties/right_joycon/properties/stick_left",
  695. "$ref": "#/definitions/key",
  696. "title": "Stick Left",
  697. "default": "J"
  698. },
  699. "stick_right": {
  700. "$id": "#/properties/keyboard_controls/properties/right_joycon/properties/stick_right",
  701. "$ref": "#/definitions/key",
  702. "title": "Stick Right",
  703. "default": "L"
  704. },
  705. "stick_button": {
  706. "$id": "#/properties/keyboard_controls/properties/right_joycon/properties/stick_button",
  707. "$ref": "#/definitions/key",
  708. "title": "Stick Button",
  709. "default": "H"
  710. },
  711. "button_a": {
  712. "$id": "#/properties/keyboard_controls/properties/right_joycon/properties/button_a",
  713. "$ref": "#/definitions/key",
  714. "title": "Button A",
  715. "default": "Z"
  716. },
  717. "button_b": {
  718. "$id": "#/properties/keyboard_controls/properties/right_joycon/properties/button_b",
  719. "$ref": "#/definitions/key",
  720. "title": "Button B",
  721. "default": "X"
  722. },
  723. "button_x": {
  724. "$id": "#/properties/keyboard_controls/properties/right_joycon/properties/button_x",
  725. "$ref": "#/definitions/key",
  726. "title": "Button X",
  727. "default": "C"
  728. },
  729. "button_y": {
  730. "$id": "#/properties/keyboard_controls/properties/right_joycon/properties/button_y",
  731. "$ref": "#/definitions/key",
  732. "title": "Button Y",
  733. "default": "V"
  734. },
  735. "button_plus": {
  736. "$id": "#/properties/keyboard_controls/properties/right_joycon/properties/button_plus",
  737. "$ref": "#/definitions/key",
  738. "title": "Button Plus",
  739. "default": "Plus"
  740. },
  741. "button_r": {
  742. "$id": "#/properties/keyboard_controls/properties/right_joycon/properties/button_r",
  743. "$ref": "#/definitions/key",
  744. "title": "Button R",
  745. "default": "U"
  746. },
  747. "button_zr": {
  748. "$id": "#/properties/keyboard_controls/properties/right_joycon/properties/button_zr",
  749. "$ref": "#/definitions/key",
  750. "title": "Button Zr",
  751. "default": "O"
  752. }
  753. }
  754. },
  755. "hotkeys": {
  756. "$id": "#/properties/keyboard_controls/properties/hotkeys",
  757. "type": "object",
  758. "title": "Hotkey Controls",
  759. "required": [
  760. "toggle_vsync"
  761. ],
  762. "properties": {
  763. "toggle_vsync": {
  764. "$id": "#/properties/keyboard_controls/properties/hotkeys/properties/toggle_vsync",
  765. "$ref": "#/definitions/key",
  766. "title": "Toggle VSync",
  767. "default": "Tab"
  768. }
  769. }
  770. }
  771. }
  772. },
  773. "joystick_controls": {
  774. "$id": "#/properties/joystick_controls",
  775. "type": "object",
  776. "title": "Joystick Controls",
  777. "required": [
  778. "left_joycon",
  779. "right_joycon"
  780. ],
  781. "properties": {
  782. "enable": {
  783. "$id": "#/properties/joystick_controls/properties/enable",
  784. "type": "boolean",
  785. "title": "Joystick Enable",
  786. "description": "Enables or disables controller support",
  787. "default": true,
  788. "examples": [
  789. true,
  790. false
  791. ]
  792. },
  793. "index": {
  794. "$id": "#/properties/joystick_controls/properties/index",
  795. "type": "integer",
  796. "title": "Joystick Index",
  797. "description": "Controller Device Index",
  798. "default": 0,
  799. "minimum": 0,
  800. "examples": [
  801. 0,
  802. 1,
  803. 2
  804. ]
  805. },
  806. "deadzone": {
  807. "$id": "#/properties/joystick_controls/properties/deadzone",
  808. "type": "number",
  809. "title": "Joystick Deadzone",
  810. "description": "Controller Analog Stick Deadzone",
  811. "default": 0.05,
  812. "minimum": -32768.0,
  813. "maximum": 32767.0,
  814. "examples": [
  815. 0.05
  816. ]
  817. },
  818. "trigger_threshold": {
  819. "$id": "#/properties/joystick_controls/properties/trigger_threshold",
  820. "type": "number",
  821. "title": "Controller Trigger Threshold",
  822. "description": "The value of how pressed down each trigger has to be in order to register a button press",
  823. "default": 0.5,
  824. "minimum": 0.0,
  825. "maximum": 1.0,
  826. "examples": [
  827. 0.5
  828. ]
  829. },
  830. "left_joycon": {
  831. "$id": "#/properties/joystick_controls/properties/left_joycon",
  832. "type": "object",
  833. "title": "Left JoyCon Controls",
  834. "required": [
  835. "stick",
  836. "stick_button",
  837. "dpad_up",
  838. "dpad_down",
  839. "dpad_left",
  840. "dpad_right",
  841. "button_minus",
  842. "button_l",
  843. "button_zl"
  844. ],
  845. "properties": {
  846. "stick": {
  847. "$id": "#/properties/joystick_controls/properties/left_joycon/properties/stick",
  848. "$ref": "#/definitions/input",
  849. "title": "Stick",
  850. "default": "Axis0"
  851. },
  852. "stick_button": {
  853. "$id": "#/properties/joystick_controls/properties/left_joycon/properties/stick_button",
  854. "$ref": "#/definitions/input",
  855. "title": "Stick Button",
  856. "default": "Button13"
  857. },
  858. "dpad_up": {
  859. "$id": "#/properties/joystick_controls/properties/left_joycon/properties/dpad_up",
  860. "$ref": "#/definitions/input",
  861. "title": "Dpad Up",
  862. "default": "Hat0Up"
  863. },
  864. "dpad_down": {
  865. "$id": "#/properties/joystick_controls/properties/left_joycon/properties/dpad_down",
  866. "$ref": "#/definitions/input",
  867. "title": "Dpad Down",
  868. "default": "Hat0Down"
  869. },
  870. "dpad_left": {
  871. "$id": "#/properties/joystick_controls/properties/left_joycon/properties/dpad_left",
  872. "$ref": "#/definitions/input",
  873. "title": "Dpad Left",
  874. "default": "Hat0Left"
  875. },
  876. "dpad_right": {
  877. "$id": "#/properties/joystick_controls/properties/left_joycon/properties/dpad_right",
  878. "$ref": "#/definitions/input",
  879. "title": "Dpad Right",
  880. "default": "Hat0Right"
  881. },
  882. "button_minus": {
  883. "$id": "#/properties/joystick_controls/properties/left_joycon/properties/button_minus",
  884. "$ref": "#/definitions/input",
  885. "title": "Button Minus",
  886. "default": "Button10"
  887. },
  888. "button_l": {
  889. "$id": "#/properties/joystick_controls/properties/left_joycon/properties/button_l",
  890. "$ref": "#/definitions/input",
  891. "title": "Button L",
  892. "default": "Button6"
  893. },
  894. "button_zl": {
  895. "$id": "#/properties/joystick_controls/properties/left_joycon/properties/button_zl",
  896. "$ref": "#/definitions/input",
  897. "title": "Button ZL",
  898. "default": "Button8"
  899. }
  900. }
  901. },
  902. "right_joycon": {
  903. "$id": "#/properties/joystick_controls/properties/right_joycon",
  904. "type": "object",
  905. "title": "Right JoyCon Controls",
  906. "required": [
  907. "stick",
  908. "stick_button",
  909. "button_a",
  910. "button_b",
  911. "button_x",
  912. "button_y",
  913. "button_plus",
  914. "button_r",
  915. "button_zr"
  916. ],
  917. "properties": {
  918. "stick": {
  919. "$id": "#/properties/joystick_controls/properties/right_joycon/properties/stick",
  920. "$ref": "#/definitions/input",
  921. "title": "Stick",
  922. "default": "Axis2"
  923. },
  924. "stick_button": {
  925. "$id": "#/properties/joystick_controls/properties/right_joycon/properties/stick_button",
  926. "$ref": "#/definitions/input",
  927. "title": "Stick Button",
  928. "default": "Button14"
  929. },
  930. "button_a": {
  931. "$id": "#/properties/joystick_controls/properties/right_joycon/properties/button_a",
  932. "$ref": "#/definitions/input",
  933. "title": "Button A",
  934. "default": "Button0"
  935. },
  936. "button_b": {
  937. "$id": "#/properties/joystick_controls/properties/right_joycon/properties/button_b",
  938. "$ref": "#/definitions/input",
  939. "title": "Button B",
  940. "default": "Button1"
  941. },
  942. "button_x": {
  943. "$id": "#/properties/joystick_controls/properties/right_joycon/properties/button_x",
  944. "$ref": "#/definitions/input",
  945. "title": "Button X",
  946. "default": "Button3"
  947. },
  948. "button_y": {
  949. "$id": "#/properties/joystick_controls/properties/right_joycon/properties/button_y",
  950. "$ref": "#/definitions/input",
  951. "title": "Button Y",
  952. "default": "Button4"
  953. },
  954. "button_plus": {
  955. "$id": "#/properties/joystick_controls/properties/right_joycon/properties/button_plus",
  956. "$ref": "#/definitions/input",
  957. "title": "Button Plus",
  958. "default": "Button11"
  959. },
  960. "button_r": {
  961. "$id": "#/properties/joystick_controls/properties/right_joycon/properties/button_r",
  962. "$ref": "#/definitions/input",
  963. "title": "Button R",
  964. "default": "Button7"
  965. },
  966. "button_zr": {
  967. "$id": "#/properties/joystick_controls/properties/right_joycon/properties/button_zr",
  968. "$ref": "#/definitions/input",
  969. "title": "Button ZR",
  970. "default": "Button9"
  971. }
  972. }
  973. }
  974. }
  975. }
  976. }
  977. }