_schema.json 26 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924
  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_aggressive_cpu_opts",
  24. "controller_type",
  25. "enable_keyboard",
  26. "keyboard_controls",
  27. "gamepad_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. "DPadUp",
  185. "DPadDown",
  186. "DPadLeft",
  187. "DPadRight",
  188. "LStick",
  189. "RStick",
  190. "LShoulder",
  191. "RShoulder",
  192. "LTrigger",
  193. "RTrigger",
  194. "LJoystick",
  195. "RJoystick",
  196. "A",
  197. "B",
  198. "X",
  199. "Y",
  200. "Start",
  201. "Back"
  202. ]
  203. }
  204. },
  205. "properties": {
  206. "graphics_shaders_dump_path": {
  207. "$id": "#/properties/graphics_shaders_dump_path",
  208. "type": "string",
  209. "title": "Graphics Shaders Dump Path",
  210. "description": "Dumps shaders in this local directory",
  211. "default": "",
  212. "examples": [
  213. "C:\\ShaderDumps"
  214. ]
  215. },
  216. "logging_enable_debug": {
  217. "$id": "#/properties/logging_enable_debug",
  218. "type": "boolean",
  219. "title": "Logging Enable Debug",
  220. "description": "Enables printing debug log messages",
  221. "default": false,
  222. "examples": [
  223. true,
  224. false
  225. ]
  226. },
  227. "logging_enable_stub": {
  228. "$id": "#/properties/logging_enable_stub",
  229. "type": "boolean",
  230. "title": "Logging Enable Stub",
  231. "description": "Enables printing stub log messages",
  232. "default": true,
  233. "examples": [
  234. true,
  235. false
  236. ]
  237. },
  238. "logging_enable_info": {
  239. "$id": "#/properties/logging_enable_info",
  240. "type": "boolean",
  241. "title": "Logging Enable Info",
  242. "description": "Enables printing info log messages",
  243. "default": true,
  244. "examples": [
  245. true,
  246. false
  247. ]
  248. },
  249. "logging_enable_warn": {
  250. "$id": "#/properties/logging_enable_warn",
  251. "type": "boolean",
  252. "title": "Logging Enable Warn",
  253. "description": "Enables printing warning log messages",
  254. "default": true,
  255. "examples": [
  256. true,
  257. false
  258. ]
  259. },
  260. "logging_enable_error": {
  261. "$id": "#/properties/logging_enable_error",
  262. "type": "boolean",
  263. "title": "Logging Enable Error",
  264. "description": "Enables printing error log messages",
  265. "default": true,
  266. "examples": [
  267. true,
  268. false
  269. ]
  270. },
  271. "logging_enable_guest": {
  272. "$id": "#/properties/logging_enable_guest",
  273. "type": "boolean",
  274. "title": "Logging Enable Guest",
  275. "description": "Enables printing guest log messages",
  276. "default": true,
  277. "examples": [
  278. true,
  279. false
  280. ]
  281. },
  282. "logging_enable_fs_access": {
  283. "$id": "#/properties/logging_enable_fs_access_log",
  284. "type": "boolean",
  285. "title": "Logging Enable FS Access Log",
  286. "description": "Enables printing FS access log messages",
  287. "default": true,
  288. "examples": [
  289. true,
  290. false
  291. ]
  292. },
  293. "logging_filtered_classes": {
  294. "$id": "#/properties/logging_filtered_classes",
  295. "type": "array",
  296. "title": "Logging Filtered Classes",
  297. "description": "Controls which log messages are written to the log targets",
  298. "items": {
  299. "type": "string",
  300. "enum": [
  301. "Application",
  302. "Audio",
  303. "Cpu",
  304. "Font",
  305. "Emulation",
  306. "Gpu",
  307. "Hid",
  308. "Kernel",
  309. "KernelIpc",
  310. "KernelScheduler",
  311. "KernelSvc",
  312. "Loader",
  313. "Service",
  314. "ServiceAcc",
  315. "ServiceAm",
  316. "ServiceApm",
  317. "ServiceAudio",
  318. "ServiceBsd",
  319. "ServiceCaps",
  320. "ServiceFriend",
  321. "ServiceFs",
  322. "ServiceHid",
  323. "ServiceIrs",
  324. "ServiceLdr",
  325. "ServiceLm",
  326. "ServiceMm",
  327. "ServiceNfp",
  328. "ServiceNifm",
  329. "ServiceNs",
  330. "ServiceNv",
  331. "ServicePctl",
  332. "ServicePl",
  333. "ServicePrepo",
  334. "ServicePsm",
  335. "ServiceSet",
  336. "ServiceSfdnsres",
  337. "ServiceSm",
  338. "ServiceSsl",
  339. "ServiceSss",
  340. "ServiceTime",
  341. "ServiceVi"
  342. ]
  343. }
  344. },
  345. "enable_file_log": {
  346. "$id": "#/properties/enable_file_log",
  347. "type": "boolean",
  348. "title": "Enable File Log",
  349. "description": "Enables logging to a file on disk",
  350. "default": true,
  351. "examples": [
  352. true,
  353. false
  354. ]
  355. },
  356. "system_language": {
  357. "$id": "#/properties/system_language",
  358. "type": "string",
  359. "title": "System Language",
  360. "description": "Change System Language",
  361. "default": "AmericanEnglish",
  362. "enum": [
  363. "Japanese",
  364. "AmericanEnglish",
  365. "French",
  366. "German",
  367. "Italian",
  368. "Spanish",
  369. "Chinese",
  370. "Korean",
  371. "Dutch",
  372. "Portuguese",
  373. "Russian",
  374. "Taiwanese",
  375. "BritishEnglish",
  376. "CanadianFrench",
  377. "LatinAmericanSpanish",
  378. "SimplifiedChinese",
  379. "TraditionalChinese"
  380. ],
  381. "examples": [
  382. "AmericanEnglish"
  383. ]
  384. },
  385. "docked_mode": {
  386. "$id": "#/properties/docked_mode",
  387. "type": "boolean",
  388. "title": "Enable Docked Mode",
  389. "description": "Enables or disables Docked Mode",
  390. "default": false,
  391. "examples": [
  392. true,
  393. false
  394. ]
  395. },
  396. "enable_discord_integration": {
  397. "$id": "#/properties/enable_discord_integration",
  398. "type": "boolean",
  399. "title": "Enable Discord Rich Presence",
  400. "description": "Enable or disable Discord Rich Presence",
  401. "default": true,
  402. "examples": [
  403. true,
  404. false
  405. ]
  406. },
  407. "enable_vsync": {
  408. "$id": "#/properties/enable_vsync",
  409. "type": "boolean",
  410. "title": "Enable Vertical Sync",
  411. "description": "Enables or disables Vertical Sync",
  412. "default": true,
  413. "examples": [
  414. true,
  415. false
  416. ]
  417. },
  418. "enable_multicore_scheduling": {
  419. "$id": "#/properties/enable_multicore_scheduling",
  420. "type": "boolean",
  421. "title": "Enable Multicore Scheduling",
  422. "description": "Enables or disables multi-core scheduling of threads",
  423. "default": true,
  424. "examples": [
  425. true,
  426. false
  427. ]
  428. },
  429. "enable_fs_integrity_checks": {
  430. "$id": "#/properties/enable_fs_integrity_checks",
  431. "type": "boolean",
  432. "title": "Enable Filesystem Integrity Checks",
  433. "description": "Enables integrity checks on Game content files. Only applies to ROMs loaded as XCI files",
  434. "default": true,
  435. "examples": [
  436. true,
  437. false
  438. ]
  439. },
  440. "fs_global_access_log_mode": {
  441. "$id": "#/properties/fs_global_access_log_mode",
  442. "type": "integer",
  443. "title": "Enable FS access log",
  444. "description": "Enables FS access log output. Possible modes are 0-3. Modes 2 and 3 output to the console.",
  445. "default": 0,
  446. "minimum": 0,
  447. "examples": [
  448. 0,
  449. 1,
  450. 2,
  451. 3
  452. ]
  453. },
  454. "enable_aggressive_cpu_opts": {
  455. "$id": "#/properties/enable_aggressive_cpu_opts",
  456. "type": "boolean",
  457. "title": "Enable Aggressive CPU Optimizations",
  458. "description": "Enable or disable aggressive CPU optimizations",
  459. "default": true,
  460. "examples": [
  461. true,
  462. false
  463. ]
  464. },
  465. "ignore_missing_services": {
  466. "$id": "#/properties/ignore_missing_services",
  467. "type": "boolean",
  468. "title": "Ignore Missing Services",
  469. "description": "Enable or disable ignoring missing services, this may cause instability",
  470. "default": false,
  471. "examples": [
  472. true,
  473. false
  474. ]
  475. },
  476. "controller_type": {
  477. "$id": "#/properties/controller_type",
  478. "type": "string",
  479. "title": "Controller Type",
  480. "default": "Handheld",
  481. "enum": [
  482. "Handheld",
  483. "ProController",
  484. "NpadPair",
  485. "NpadLeft",
  486. "NpadRight"
  487. ],
  488. "examples": [
  489. "Handheld",
  490. "ProController",
  491. "NpadPair",
  492. "NpadLeft",
  493. "NpadRight"
  494. ]
  495. },
  496. "enable_keyboard": {
  497. "$id": "#/properties/enable_keyboard",
  498. "type": "boolean",
  499. "title": "(HID) Keyboard Enable",
  500. "description": "Enable or disable direct keyboard access (HID) support (Provides games access to your keyboard as a text entry device).",
  501. "default": true,
  502. "examples": [
  503. true,
  504. false
  505. ]
  506. },
  507. "keyboard_controls": {
  508. "$id": "#/properties/keyboard_controls",
  509. "type": "object",
  510. "title": "Keyboard Controls",
  511. "required": [
  512. "left_joycon",
  513. "right_joycon"
  514. ],
  515. "properties": {
  516. "left_joycon": {
  517. "$id": "#/properties/keyboard_controls/properties/left_joycon",
  518. "type": "object",
  519. "title": "Left JoyCon Controls",
  520. "required": [
  521. "stick_up",
  522. "stick_down",
  523. "stick_left",
  524. "stick_right",
  525. "stick_button",
  526. "dpad_up",
  527. "dpad_down",
  528. "dpad_left",
  529. "dpad_right",
  530. "button_minus",
  531. "button_l",
  532. "button_zl"
  533. ],
  534. "properties": {
  535. "stick_up": {
  536. "$id": "#/properties/keyboard_controls/properties/left_joycon/properties/stick_up",
  537. "$ref": "#/definitions/key",
  538. "title": "Stick Up",
  539. "default": "w"
  540. },
  541. "stick_down": {
  542. "$id": "#/properties/keyboard_controls/properties/left_joycon/properties/stick_down",
  543. "$ref": "#/definitions/key",
  544. "title": "Stick Down",
  545. "default": "S"
  546. },
  547. "stick_left": {
  548. "$id": "#/properties/keyboard_controls/properties/left_joycon/properties/stick_left",
  549. "$ref": "#/definitions/key",
  550. "title": "Stick Left",
  551. "default": "A"
  552. },
  553. "stick_right": {
  554. "$id": "#/properties/keyboard_controls/properties/left_joycon/properties/stick_right",
  555. "$ref": "#/definitions/key",
  556. "title": "Stick Right",
  557. "default": "D"
  558. },
  559. "stick_button": {
  560. "$id": "#/properties/keyboard_controls/properties/left_joycon/properties/stick_button",
  561. "$ref": "#/definitions/key",
  562. "title": "Stick Button",
  563. "default": "F"
  564. },
  565. "dpad_up": {
  566. "$id": "#/properties/keyboard_controls/properties/left_joycon/properties/dpad_up",
  567. "$ref": "#/definitions/key",
  568. "title": "Dpad Up",
  569. "default": "Up"
  570. },
  571. "dpad_down": {
  572. "$id": "#/properties/keyboard_controls/properties/left_joycon/properties/dpad_down",
  573. "$ref": "#/definitions/key",
  574. "title": "Dpad Down",
  575. "default": "Down"
  576. },
  577. "dpad_left": {
  578. "$id": "#/properties/keyboard_controls/properties/left_joycon/properties/dpad_left",
  579. "$ref": "#/definitions/key",
  580. "title": "Dpad Left",
  581. "default": "Left"
  582. },
  583. "dpad_right": {
  584. "$id": "#/properties/keyboard_controls/properties/left_joycon/properties/dpad_right",
  585. "$ref": "#/definitions/key",
  586. "title": "Dpad Right",
  587. "default": "Right"
  588. },
  589. "button_minus": {
  590. "$id": "#/properties/keyboard_controls/properties/left_joycon/properties/button_minus",
  591. "$ref": "#/definitions/key",
  592. "title": "Button Minus",
  593. "default": "Minus"
  594. },
  595. "button_l": {
  596. "$id": "#/properties/keyboard_controls/properties/left_joycon/properties/button_l",
  597. "$ref": "#/definitions/key",
  598. "title": "Button L",
  599. "default": "E"
  600. },
  601. "button_zl": {
  602. "$id": "#/properties/keyboard_controls/properties/left_joycon/properties/button_zl",
  603. "$ref": "#/definitions/key",
  604. "title": "Button ZL",
  605. "default": "Q"
  606. }
  607. }
  608. },
  609. "right_joycon": {
  610. "$id": "#/properties/keyboard_controls/properties/right_joycon",
  611. "type": "object",
  612. "title": "Right JoyCon Controls",
  613. "required": [
  614. "stick_up",
  615. "stick_down",
  616. "stick_left",
  617. "stick_right",
  618. "stick_button",
  619. "button_a",
  620. "button_b",
  621. "button_x",
  622. "button_y",
  623. "button_plus",
  624. "button_r",
  625. "button_zr"
  626. ],
  627. "properties": {
  628. "stick_up": {
  629. "$id": "#/properties/keyboard_controls/properties/right_joycon/properties/stick_up",
  630. "$ref": "#/definitions/key",
  631. "title": "Stick Up",
  632. "default": "I"
  633. },
  634. "stick_down": {
  635. "$id": "#/properties/keyboard_controls/properties/right_joycon/properties/stick_down",
  636. "$ref": "#/definitions/key",
  637. "title": "Stick Down",
  638. "default": "K"
  639. },
  640. "stick_left": {
  641. "$id": "#/properties/keyboard_controls/properties/right_joycon/properties/stick_left",
  642. "$ref": "#/definitions/key",
  643. "title": "Stick Left",
  644. "default": "J"
  645. },
  646. "stick_right": {
  647. "$id": "#/properties/keyboard_controls/properties/right_joycon/properties/stick_right",
  648. "$ref": "#/definitions/key",
  649. "title": "Stick Right",
  650. "default": "L"
  651. },
  652. "stick_button": {
  653. "$id": "#/properties/keyboard_controls/properties/right_joycon/properties/stick_button",
  654. "$ref": "#/definitions/key",
  655. "title": "Stick Button",
  656. "default": "H"
  657. },
  658. "button_a": {
  659. "$id": "#/properties/keyboard_controls/properties/right_joycon/properties/button_a",
  660. "$ref": "#/definitions/key",
  661. "title": "Button A",
  662. "default": "Z"
  663. },
  664. "button_b": {
  665. "$id": "#/properties/keyboard_controls/properties/right_joycon/properties/button_b",
  666. "$ref": "#/definitions/key",
  667. "title": "Button B",
  668. "default": "X"
  669. },
  670. "button_x": {
  671. "$id": "#/properties/keyboard_controls/properties/right_joycon/properties/button_x",
  672. "$ref": "#/definitions/key",
  673. "title": "Button X",
  674. "default": "C"
  675. },
  676. "button_y": {
  677. "$id": "#/properties/keyboard_controls/properties/right_joycon/properties/button_y",
  678. "$ref": "#/definitions/key",
  679. "title": "Button Y",
  680. "default": "V"
  681. },
  682. "button_plus": {
  683. "$id": "#/properties/keyboard_controls/properties/right_joycon/properties/button_plus",
  684. "$ref": "#/definitions/key",
  685. "title": "Button Plus",
  686. "default": "Plus"
  687. },
  688. "button_r": {
  689. "$id": "#/properties/keyboard_controls/properties/right_joycon/properties/button_r",
  690. "$ref": "#/definitions/key",
  691. "title": "Button R",
  692. "default": "U"
  693. },
  694. "button_zr": {
  695. "$id": "#/properties/keyboard_controls/properties/right_joycon/properties/button_zr",
  696. "$ref": "#/definitions/key",
  697. "title": "Button Zr",
  698. "default": "O"
  699. }
  700. }
  701. },
  702. "hotkeys": {
  703. "$id": "#/properties/keyboard_controls/properties/hotkeys",
  704. "type": "object",
  705. "title": "Hotkey Controls",
  706. "required": [
  707. "toggle_vsync"
  708. ],
  709. "properties": {
  710. "toggle_vsync": {
  711. "$id": "#/properties/keyboard_controls/properties/hotkeys/properties/toggle_vsync",
  712. "$ref": "#/definitions/key",
  713. "title": "Toggle VSync",
  714. "default": "Tab"
  715. }
  716. }
  717. }
  718. }
  719. },
  720. "gamepad_controls": {
  721. "$id": "#/properties/gamepad_controls",
  722. "type": "object",
  723. "title": "GamePad Controls",
  724. "required": [
  725. "left_joycon",
  726. "right_joycon"
  727. ],
  728. "properties": {
  729. "enable": {
  730. "$id": "#/properties/gamepad_controls/properties/enable",
  731. "type": "boolean",
  732. "title": "Gamepad Enable",
  733. "description": "Enables or disables controller support",
  734. "default": true,
  735. "examples": [
  736. true,
  737. false
  738. ]
  739. },
  740. "index": {
  741. "$id": "#/properties/gamepad_controls/properties/index",
  742. "type": "integer",
  743. "title": "Gamepad Index",
  744. "description": "Controller Device Index",
  745. "default": 0,
  746. "minimum": 0,
  747. "examples": [
  748. 0,
  749. 1,
  750. 2
  751. ]
  752. },
  753. "deadzone": {
  754. "$id": "#/properties/gamepad_controls/properties/deadzone",
  755. "type": "number",
  756. "title": "Gamepad Deadzone",
  757. "description": "Controller Analog Stick Deadzone",
  758. "default": 0.05,
  759. "minimum": -32768.0,
  760. "maximum": 32767.0,
  761. "examples": [
  762. 0.05
  763. ]
  764. },
  765. "trigger_threshold": {
  766. "$id": "#/properties/gamepad_controls/properties/trigger_threshold",
  767. "type": "number",
  768. "title": "Controller Trigger Threshold",
  769. "description": "The value of how pressed down each trigger has to be in order to register a button press",
  770. "default": 0.5,
  771. "minimum": 0.0,
  772. "maximum": 1.0,
  773. "examples": [
  774. 0.5
  775. ]
  776. },
  777. "left_joycon": {
  778. "$id": "#/properties/gamepad_controls/properties/left_joycon",
  779. "type": "object",
  780. "title": "Left JoyCon Controls",
  781. "required": [
  782. "stick",
  783. "stick_button",
  784. "dpad_up",
  785. "dpad_down",
  786. "dpad_left",
  787. "dpad_right",
  788. "button_minus",
  789. "button_l",
  790. "button_zl"
  791. ],
  792. "properties": {
  793. "stick": {
  794. "$id": "#/properties/gamepad_controls/properties/left_joycon/properties/stick",
  795. "$ref": "#/definitions/input",
  796. "title": "Stick",
  797. "default": "LJoystick"
  798. },
  799. "stick_button": {
  800. "$id": "#/properties/gamepad_controls/properties/left_joycon/properties/stick_button",
  801. "$ref": "#/definitions/input",
  802. "title": "Stick Button",
  803. "default": "LStick"
  804. },
  805. "dpad_up": {
  806. "$id": "#/properties/gamepad_controls/properties/left_joycon/properties/dpad_up",
  807. "$ref": "#/definitions/input",
  808. "title": "Dpad Up",
  809. "default": "DPadUp"
  810. },
  811. "dpad_down": {
  812. "$id": "#/properties/gamepad_controls/properties/left_joycon/properties/dpad_down",
  813. "$ref": "#/definitions/input",
  814. "title": "Dpad Down",
  815. "default": "DPadDown"
  816. },
  817. "dpad_left": {
  818. "$id": "#/properties/gamepad_controls/properties/left_joycon/properties/dpad_left",
  819. "$ref": "#/definitions/input",
  820. "title": "Dpad Left",
  821. "default": "DPadLeft"
  822. },
  823. "dpad_right": {
  824. "$id": "#/properties/gamepad_controls/properties/left_joycon/properties/dpad_right",
  825. "$ref": "#/definitions/input",
  826. "title": "Dpad Right",
  827. "default": "DPadRight"
  828. },
  829. "button_minus": {
  830. "$id": "#/properties/gamepad_controls/properties/left_joycon/properties/button_minus",
  831. "$ref": "#/definitions/input",
  832. "title": "Button Minus",
  833. "default": "Back"
  834. },
  835. "button_l": {
  836. "$id": "#/properties/gamepad_controls/properties/left_joycon/properties/button_l",
  837. "$ref": "#/definitions/input",
  838. "title": "Button L",
  839. "default": "LShoulder"
  840. },
  841. "button_zl": {
  842. "$id": "#/properties/gamepad_controls/properties/left_joycon/properties/button_zl",
  843. "$ref": "#/definitions/input",
  844. "title": "Button ZL",
  845. "default": "LTrigger"
  846. }
  847. }
  848. },
  849. "right_joycon": {
  850. "$id": "#/properties/gamepad_controls/properties/right_joycon",
  851. "type": "object",
  852. "title": "Right JoyCon Controls",
  853. "required": [
  854. "stick",
  855. "stick_button",
  856. "button_a",
  857. "button_b",
  858. "button_x",
  859. "button_y",
  860. "button_plus",
  861. "button_r",
  862. "button_zr"
  863. ],
  864. "properties": {
  865. "stick": {
  866. "$id": "#/properties/gamepad_controls/properties/right_joycon/properties/stick",
  867. "$ref": "#/definitions/input",
  868. "title": "Stick",
  869. "default": "RJoystick"
  870. },
  871. "stick_button": {
  872. "$id": "#/properties/gamepad_controls/properties/right_joycon/properties/stick_button",
  873. "$ref": "#/definitions/input",
  874. "title": "Stick Button",
  875. "default": "RStick"
  876. },
  877. "button_a": {
  878. "$id": "#/properties/gamepad_controls/properties/right_joycon/properties/button_a",
  879. "$ref": "#/definitions/input",
  880. "title": "Button A",
  881. "default": "B"
  882. },
  883. "button_b": {
  884. "$id": "#/properties/gamepad_controls/properties/right_joycon/properties/button_b",
  885. "$ref": "#/definitions/input",
  886. "title": "Button B",
  887. "default": "A"
  888. },
  889. "button_x": {
  890. "$id": "#/properties/gamepad_controls/properties/right_joycon/properties/button_x",
  891. "$ref": "#/definitions/input",
  892. "title": "Button X",
  893. "default": "Y"
  894. },
  895. "button_y": {
  896. "$id": "#/properties/gamepad_controls/properties/right_joycon/properties/button_y",
  897. "$ref": "#/definitions/input",
  898. "title": "Button Y",
  899. "default": "X"
  900. },
  901. "button_plus": {
  902. "$id": "#/properties/gamepad_controls/properties/right_joycon/properties/button_plus",
  903. "$ref": "#/definitions/input",
  904. "title": "Button Plus",
  905. "default": "Start"
  906. },
  907. "button_r": {
  908. "$id": "#/properties/gamepad_controls/properties/right_joycon/properties/button_r",
  909. "$ref": "#/definitions/input",
  910. "title": "Button R",
  911. "default": "RShoulder"
  912. },
  913. "button_zr": {
  914. "$id": "#/properties/gamepad_controls/properties/right_joycon/properties/button_zr",
  915. "$ref": "#/definitions/input",
  916. "title": "Button ZR",
  917. "default": "RTrigger"
  918. }
  919. }
  920. }
  921. }
  922. }
  923. }
  924. }