_schema.json 28 KB

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