_schema.json 42 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931932933934935936937938939940941942943944945946947948949950951952953954955956957958959960961962963964965966967968969970971972973974975976977978979980981982983984985986987988989990991992993994995996997998999100010011002100310041005100610071008100910101011101210131014101510161017101810191020102110221023102410251026102710281029103010311032103310341035103610371038103910401041104210431044104510461047104810491050105110521053105410551056105710581059106010611062106310641065106610671068106910701071107210731074107510761077107810791080108110821083108410851086108710881089109010911092109310941095109610971098109911001101110211031104110511061107110811091110111111121113111411151116111711181119112011211122112311241125112611271128112911301131113211331134113511361137113811391140114111421143114411451146114711481149115011511152115311541155115611571158115911601161116211631164116511661167116811691170117111721173117411751176117711781179118011811182118311841185118611871188118911901191119211931194119511961197119811991200120112021203120412051206120712081209121012111212121312141215121612171218121912201221122212231224122512261227122812291230123112321233123412351236123712381239124012411242124312441245124612471248124912501251125212531254125512561257125812591260126112621263126412651266126712681269127012711272127312741275127612771278127912801281128212831284128512861287128812891290129112921293129412951296129712981299130013011302130313041305130613071308130913101311131213131314131513161317131813191320132113221323132413251326132713281329133013311332133313341335133613371338133913401341134213431344134513461347134813491350135113521353135413551356135713581359136013611362136313641365136613671368136913701371137213731374137513761377137813791380138113821383138413851386138713881389139013911392139313941395139613971398139914001401140214031404140514061407140814091410141114121413141414151416141714181419142014211422142314241425142614271428142914301431143214331434143514361437143814391440144114421443144414451446144714481449145014511452145314541455145614571458145914601461146214631464146514661467146814691470147114721473
  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_ptc",
  22. "enable_fs_integrity_checks",
  23. "fs_global_access_log_mode",
  24. "enable_keyboard",
  25. "keyboard_config",
  26. "controller_config"
  27. ],
  28. "definitions": {
  29. "key": {
  30. "type": "string",
  31. "enum": [
  32. "ShiftLeft",
  33. "LShift",
  34. "ShiftRight",
  35. "RShift",
  36. "ControlLeft",
  37. "LControl",
  38. "ControlRight",
  39. "RControl",
  40. "AltLeft",
  41. "LAlt",
  42. "AltRight",
  43. "RAlt",
  44. "WinLeft",
  45. "LWin",
  46. "WinRight",
  47. "RWin",
  48. "Menu",
  49. "F1",
  50. "F2",
  51. "F3",
  52. "F4",
  53. "F5",
  54. "F6",
  55. "F7",
  56. "F8",
  57. "F9",
  58. "F10",
  59. "F11",
  60. "F12",
  61. "F13",
  62. "F14",
  63. "F15",
  64. "F16",
  65. "F17",
  66. "F18",
  67. "F19",
  68. "F20",
  69. "F21",
  70. "F22",
  71. "F23",
  72. "F24",
  73. "F25",
  74. "F26",
  75. "F27",
  76. "F28",
  77. "F29",
  78. "F30",
  79. "F31",
  80. "F32",
  81. "F33",
  82. "F34",
  83. "F35",
  84. "Up",
  85. "Down",
  86. "Left",
  87. "Right",
  88. "Enter",
  89. "Escape",
  90. "Space",
  91. "Tab",
  92. "BackSpace",
  93. "Back",
  94. "Insert",
  95. "Delete",
  96. "PageUp",
  97. "PageDown",
  98. "Home",
  99. "End",
  100. "CapsLock",
  101. "ScrollLock",
  102. "PrintScreen",
  103. "Pause",
  104. "NumLock",
  105. "Clear",
  106. "Sleep",
  107. "Keypad0",
  108. "Keypad1",
  109. "Keypad2",
  110. "Keypad3",
  111. "Keypad4",
  112. "Keypad5",
  113. "Keypad6",
  114. "Keypad7",
  115. "Keypad8",
  116. "Keypad9",
  117. "KeypadDivide",
  118. "KeypadMultiply",
  119. "KeypadSubtract",
  120. "KeypadMinus",
  121. "KeypadAdd",
  122. "KeypadPlus",
  123. "KeypadDecimal",
  124. "KeypadPeriod",
  125. "KeypadEnter",
  126. "A",
  127. "B",
  128. "C",
  129. "D",
  130. "E",
  131. "F",
  132. "G",
  133. "H",
  134. "I",
  135. "J",
  136. "K",
  137. "L",
  138. "M",
  139. "N",
  140. "O",
  141. "P",
  142. "Q",
  143. "R",
  144. "S",
  145. "T",
  146. "U",
  147. "V",
  148. "W",
  149. "X",
  150. "Y",
  151. "Z",
  152. "Number0",
  153. "Number1",
  154. "Number2",
  155. "Number3",
  156. "Number4",
  157. "Number5",
  158. "Number6",
  159. "Number7",
  160. "Number8",
  161. "Number9",
  162. "Tilde",
  163. "Grave",
  164. "Minus",
  165. "Plus",
  166. "BracketLeft",
  167. "LBracket",
  168. "BracketRight",
  169. "RBracket",
  170. "Semicolon",
  171. "Quote",
  172. "Comma",
  173. "Period",
  174. "Slash",
  175. "BackSlash",
  176. "NonUSBackSlash",
  177. "LastKey"
  178. ]
  179. },
  180. "input": {
  181. "type": "string",
  182. "enum": [
  183. "Button0",
  184. "Button1",
  185. "Button2",
  186. "Button3",
  187. "Button4",
  188. "Button5",
  189. "Button6",
  190. "Button7",
  191. "Button8",
  192. "Button9",
  193. "Button10",
  194. "Button11",
  195. "Button12",
  196. "Button13",
  197. "Button14",
  198. "Button15",
  199. "Button16",
  200. "Button17",
  201. "Button18",
  202. "Button19",
  203. "Button20",
  204. "Axis0",
  205. "Axis1",
  206. "Axis2",
  207. "Axis3",
  208. "Axis4",
  209. "Axis5",
  210. "Hat0Up",
  211. "Hat0Down",
  212. "Hat0Left",
  213. "Hat0Right",
  214. "Hat1Up",
  215. "Hat1Down",
  216. "Hat1Left",
  217. "Hat1Right",
  218. "Hat2Up",
  219. "Hat2Down",
  220. "Hat2Left",
  221. "Hat2Right"
  222. ]
  223. },
  224. "keyboard_config": {
  225. "type": "object",
  226. "properties": {
  227. "index": {
  228. "$id": "#/definitions/keyboard_config/properties/index",
  229. "type": "integer",
  230. "title": "Keyboard Index",
  231. "description": "Keyboard Device Index",
  232. "default": 0,
  233. "minimum": 0,
  234. "examples": [
  235. 0,
  236. 1,
  237. 2
  238. ]
  239. },
  240. "controller_type": {
  241. "$id": "#/properties/keyboard_config/properties/controller_type",
  242. "type": "string",
  243. "title": "Controller Type",
  244. "default": "Handheld",
  245. "enum": [
  246. "Handheld",
  247. "ProController",
  248. "JoyconPair",
  249. "JoyconLeft",
  250. "JoyconRight"
  251. ],
  252. "examples": [
  253. "Handheld",
  254. "ProController",
  255. "JoyconPair",
  256. "JoyconLeft",
  257. "JoyconRight"
  258. ]
  259. },
  260. "player_index": {
  261. "$id": "#/properties/keyboard_config/properties/player_index",
  262. "type": "string",
  263. "title": "Player Index",
  264. "default": "Player1",
  265. "enum": [
  266. "Player1",
  267. "Player2",
  268. "Player3",
  269. "Player4",
  270. "Player5",
  271. "Player6",
  272. "Player7",
  273. "Player8",
  274. "Handheld"
  275. ]
  276. },
  277. "left_joycon": {
  278. "$id": "#/definitions/keyboard_config/properties/left_joycon",
  279. "type": "object",
  280. "title": "Left JoyCon Controls",
  281. "required": [
  282. "stick_up",
  283. "stick_down",
  284. "stick_left",
  285. "stick_right",
  286. "stick_button",
  287. "dpad_up",
  288. "dpad_down",
  289. "dpad_left",
  290. "dpad_right",
  291. "button_minus",
  292. "button_l",
  293. "button_zl"
  294. ],
  295. "properties": {
  296. "stick_up": {
  297. "$id": "#/definitions/keyboard_config/properties/left_joycon/properties/stick_up",
  298. "$ref": "#/definitions/key",
  299. "title": "Stick Up",
  300. "default": "w"
  301. },
  302. "stick_down": {
  303. "$id": "#/definitions/keyboard_config/properties/left_joycon/properties/stick_down",
  304. "$ref": "#/definitions/key",
  305. "title": "Stick Down",
  306. "default": "S"
  307. },
  308. "stick_left": {
  309. "$id": "#/definitions/keyboard_config/properties/left_joycon/properties/stick_left",
  310. "$ref": "#/definitions/key",
  311. "title": "Stick Left",
  312. "default": "A"
  313. },
  314. "stick_right": {
  315. "$id": "#/definitions/keyboard_config/properties/left_joycon/properties/stick_right",
  316. "$ref": "#/definitions/key",
  317. "title": "Stick Right",
  318. "default": "D"
  319. },
  320. "stick_button": {
  321. "$id": "#/definitions/keyboard_config/properties/left_joycon/properties/stick_button",
  322. "$ref": "#/definitions/key",
  323. "title": "Stick Button",
  324. "default": "F"
  325. },
  326. "dpad_up": {
  327. "$id": "#/definitions/keyboard_config/properties/left_joycon/properties/dpad_up",
  328. "$ref": "#/definitions/key",
  329. "title": "Dpad Up",
  330. "default": "Up"
  331. },
  332. "dpad_down": {
  333. "$id": "#/definitions/keyboard_config/properties/left_joycon/properties/dpad_down",
  334. "$ref": "#/definitions/key",
  335. "title": "Dpad Down",
  336. "default": "Down"
  337. },
  338. "dpad_left": {
  339. "$id": "#/definitions/keyboard_config/properties/left_joycon/properties/dpad_left",
  340. "$ref": "#/definitions/key",
  341. "title": "Dpad Left",
  342. "default": "Left"
  343. },
  344. "dpad_right": {
  345. "$id": "#/definitions/keyboard_config/properties/left_joycon/properties/dpad_right",
  346. "$ref": "#/definitions/key",
  347. "title": "Dpad Right",
  348. "default": "Right"
  349. },
  350. "button_minus": {
  351. "$id": "#/definitions/keyboard_config/properties/left_joycon/properties/button_minus",
  352. "$ref": "#/definitions/key",
  353. "title": "Button Minus",
  354. "default": "Minus"
  355. },
  356. "button_l": {
  357. "$id": "#/definitions/keyboard_config/properties/left_joycon/properties/button_l",
  358. "$ref": "#/definitions/key",
  359. "title": "Button L",
  360. "default": "E"
  361. },
  362. "button_zl": {
  363. "$id": "#/definitions/keyboard_config/properties/left_joycon/properties/button_zl",
  364. "$ref": "#/definitions/key",
  365. "title": "Button ZL",
  366. "default": "Q"
  367. }
  368. }
  369. },
  370. "right_joycon": {
  371. "$id": "#/definitions/keyboard_config/properties/right_joycon",
  372. "type": "object",
  373. "title": "Right JoyCon Controls",
  374. "required": [
  375. "stick_up",
  376. "stick_down",
  377. "stick_left",
  378. "stick_right",
  379. "stick_button",
  380. "button_a",
  381. "button_b",
  382. "button_x",
  383. "button_y",
  384. "button_plus",
  385. "button_r",
  386. "button_zr"
  387. ],
  388. "properties": {
  389. "stick_up": {
  390. "$id": "#/definitions/keyboard_config/properties/right_joycon/properties/stick_up",
  391. "$ref": "#/definitions/key",
  392. "title": "Stick Up",
  393. "default": "I"
  394. },
  395. "stick_down": {
  396. "$id": "#/definitions/keyboard_config/properties/right_joycon/properties/stick_down",
  397. "$ref": "#/definitions/key",
  398. "title": "Stick Down",
  399. "default": "K"
  400. },
  401. "stick_left": {
  402. "$id": "#/definitions/keyboard_config/properties/right_joycon/properties/stick_left",
  403. "$ref": "#/definitions/key",
  404. "title": "Stick Left",
  405. "default": "J"
  406. },
  407. "stick_right": {
  408. "$id": "#/definitions/keyboard_config/properties/right_joycon/properties/stick_right",
  409. "$ref": "#/definitions/key",
  410. "title": "Stick Right",
  411. "default": "L"
  412. },
  413. "stick_button": {
  414. "$id": "#/definitions/keyboard_config/properties/right_joycon/properties/stick_button",
  415. "$ref": "#/definitions/key",
  416. "title": "Stick Button",
  417. "default": "H"
  418. },
  419. "button_a": {
  420. "$id": "#/definitions/keyboard_config/properties/right_joycon/properties/button_a",
  421. "$ref": "#/definitions/key",
  422. "title": "Button A",
  423. "default": "Z"
  424. },
  425. "button_b": {
  426. "$id": "#/definitions/keyboard_config/properties/right_joycon/properties/button_b",
  427. "$ref": "#/definitions/key",
  428. "title": "Button B",
  429. "default": "X"
  430. },
  431. "button_x": {
  432. "$id": "#/definitions/keyboard_config/properties/right_joycon/properties/button_x",
  433. "$ref": "#/definitions/key",
  434. "title": "Button X",
  435. "default": "C"
  436. },
  437. "button_y": {
  438. "$id": "#/definitions/keyboard_config/properties/right_joycon/properties/button_y",
  439. "$ref": "#/definitions/key",
  440. "title": "Button Y",
  441. "default": "V"
  442. },
  443. "button_plus": {
  444. "$id": "#/definitions/keyboard_config/properties/right_joycon/properties/button_plus",
  445. "$ref": "#/definitions/key",
  446. "title": "Button Plus",
  447. "default": "Plus"
  448. },
  449. "button_r": {
  450. "$id": "#/definitions/keyboard_config/properties/right_joycon/properties/button_r",
  451. "$ref": "#/definitions/key",
  452. "title": "Button R",
  453. "default": "U"
  454. },
  455. "button_zr": {
  456. "$id": "#/definitions/keyboard_config/properties/right_joycon/properties/button_zr",
  457. "$ref": "#/definitions/key",
  458. "title": "Button Zr",
  459. "default": "O"
  460. }
  461. }
  462. },
  463. "enable_motion": {
  464. "$id": "#/definitions/keyboard_config/properties/enable_motion",
  465. "type": "boolean",
  466. "title": "Enable Motion Controls",
  467. "description": "Enables Motion Controls",
  468. "default": false,
  469. "examples": [
  470. true,
  471. false
  472. ]
  473. },
  474. "sensitivity": {
  475. "$id": "#/definitions/keyboard_config/properties/sensitivity",
  476. "type": "integer",
  477. "title": "Sensitivity",
  478. "description": "Gyro sensitivity",
  479. "default": 100,
  480. "minimum": 0,
  481. "maximum": 1000,
  482. "examples": [
  483. 90,
  484. 100,
  485. 150
  486. ]
  487. },
  488. "gyro_deadzone": {
  489. "$id": "#/definitions/keyboard_config/properties/gyro_deadzone",
  490. "type": "number",
  491. "title": "Gyro Deadzone",
  492. "description": "Controller Left Analog Stick Deadzone",
  493. "default": 1,
  494. "minimum": 0.00,
  495. "maximum": 100.00,
  496. "examples": [
  497. 0.01
  498. ]
  499. },
  500. "slot": {
  501. "$id": "#/definitions/keyboard_config/properties/slot",
  502. "type": "integer",
  503. "title": "Slot",
  504. "description": "DSU motion client slot for main controller",
  505. "default": 0,
  506. "minimum": 0,
  507. "maximum": 4,
  508. "examples": [
  509. 0,
  510. 1,
  511. 2,
  512. 3
  513. ]
  514. },
  515. "alt_slot": {
  516. "$id": "#/definitions/keyboard_config/properties/alt_slot",
  517. "type": "integer",
  518. "title": "Alternate Slot",
  519. "description": "DSU motion client slot for secondary controller, eg Right Joycon in Paired mode",
  520. "default": 0,
  521. "minimum": 0,
  522. "maximum": 4,
  523. "examples": [
  524. 0,
  525. 1,
  526. 2,
  527. 3
  528. ]
  529. },
  530. "mirror_input": {
  531. "$id": "#/definitions/keyboard_config/properties/mirror_input",
  532. "type": "boolean",
  533. "title": "Mirror Motion Input",
  534. "description": "Mirrors main motion input in Paired mode",
  535. "default": true,
  536. "examples": [
  537. true,
  538. false
  539. ]
  540. },
  541. "dsu_server_port": {
  542. "$id": "#/definitions/keyboard_config/properties/dsu_server_port",
  543. "type": "integer",
  544. "title": "DSU Server Port",
  545. "description": "DSU motion server port",
  546. "default": 26760,
  547. "minimum": 0,
  548. "maximum": 36654,
  549. "examples": [
  550. 0,
  551. 1,
  552. 2,
  553. 3
  554. ]
  555. },
  556. "dsu_server_host": {
  557. "$id": "#/definitions/keyboard_config/properties/dsu_server_host",
  558. "type": "string",
  559. "title": "DSU Server Host Address",
  560. "description": "DSU motion server host address",
  561. "default": "127.0.0.1",
  562. "examples": [
  563. "127.0.0.1",
  564. "example.host.com"
  565. ]
  566. }
  567. }
  568. },
  569. "controller_config": {
  570. "type": "object",
  571. "properties": {
  572. "index": {
  573. "$id": "#/definitions/controller_config/properties/index",
  574. "type": "integer",
  575. "title": "Controller Index",
  576. "description": "Controller Device Index",
  577. "default": 0,
  578. "minimum": 0,
  579. "examples": [
  580. 0,
  581. 1,
  582. 2
  583. ]
  584. },
  585. "controller_type": {
  586. "$id": "#/properties/controller_config/properties/controller_type",
  587. "type": "string",
  588. "title": "Controller Type",
  589. "default": "Handheld",
  590. "enum": [
  591. "Handheld",
  592. "ProController",
  593. "JoyconPair",
  594. "JoyconLeft",
  595. "JoyconRight"
  596. ],
  597. "examples": [
  598. "Handheld",
  599. "ProController",
  600. "JoyconPair",
  601. "JoyconLeft",
  602. "JoyconRight"
  603. ]
  604. },
  605. "player_index": {
  606. "$id": "#/properties/controller_config/properties/player_index",
  607. "type": "string",
  608. "title": "Player Index",
  609. "default": "Player1",
  610. "enum": [
  611. "Player1",
  612. "Player2",
  613. "Player3",
  614. "Player4",
  615. "Player5",
  616. "Player6",
  617. "Player7",
  618. "Player8",
  619. "Handheld"
  620. ]
  621. },
  622. "deadzone_left": {
  623. "$id": "#/definitions/controller_config/properties/deadzone_left",
  624. "type": "number",
  625. "title": "Left Joystick Deadzone",
  626. "description": "Controller Left Analog Stick Deadzone",
  627. "default": 0.05,
  628. "minimum": 0.00,
  629. "maximum": 1.00,
  630. "examples": [
  631. 0.05
  632. ]
  633. },
  634. "deadzone_right": {
  635. "$id": "#/definitions/controller_config/properties/deadzone_right",
  636. "type": "number",
  637. "title": "Right Joystick Deadzone",
  638. "description": "Controller Right Analog Stick Deadzone",
  639. "default": 0.05,
  640. "minimum": 0.00,
  641. "maximum": 1.00,
  642. "examples": [
  643. 0.05
  644. ]
  645. },
  646. "trigger_threshold": {
  647. "$id": "#/definitions/controller_config/properties/trigger_threshold",
  648. "type": "number",
  649. "title": "Controller Trigger Threshold",
  650. "description": "The value of how pressed down each trigger has to be in order to register a button press",
  651. "default": 0.5,
  652. "minimum": 0.0,
  653. "maximum": 1.0,
  654. "examples": [
  655. 0.5
  656. ]
  657. },
  658. "left_joycon": {
  659. "$id": "#/definitions/controller_config/properties/left_joycon",
  660. "type": "object",
  661. "title": "Left JoyCon Controls",
  662. "required": [
  663. "stick",
  664. "stick_button",
  665. "dpad_up",
  666. "dpad_down",
  667. "dpad_left",
  668. "dpad_right",
  669. "button_minus",
  670. "button_l",
  671. "button_zl"
  672. ],
  673. "properties": {
  674. "stick": {
  675. "$id": "#/definitions/controller_config/properties/left_joycon/properties/stick",
  676. "$ref": "#/definitions/input",
  677. "title": "Stick",
  678. "default": "Axis0"
  679. },
  680. "stick_button": {
  681. "$id": "#/definitions/controller_config/properties/left_joycon/properties/stick_button",
  682. "$ref": "#/definitions/input",
  683. "title": "Stick Button",
  684. "default": "Button13"
  685. },
  686. "dpad_up": {
  687. "$id": "#/definitions/controller_config/properties/left_joycon/properties/dpad_up",
  688. "$ref": "#/definitions/input",
  689. "title": "Dpad Up",
  690. "default": "Hat0Up"
  691. },
  692. "dpad_down": {
  693. "$id": "#/definitions/controller_config/properties/left_joycon/properties/dpad_down",
  694. "$ref": "#/definitions/input",
  695. "title": "Dpad Down",
  696. "default": "Hat0Down"
  697. },
  698. "dpad_left": {
  699. "$id": "#/definitions/controller_config/properties/left_joycon/properties/dpad_left",
  700. "$ref": "#/definitions/input",
  701. "title": "Dpad Left",
  702. "default": "Hat0Left"
  703. },
  704. "dpad_right": {
  705. "$id": "#/definitions/controller_config/properties/left_joycon/properties/dpad_right",
  706. "$ref": "#/definitions/input",
  707. "title": "Dpad Right",
  708. "default": "Hat0Right"
  709. },
  710. "button_minus": {
  711. "$id": "#/definitions/controller_config/properties/left_joycon/properties/button_minus",
  712. "$ref": "#/definitions/input",
  713. "title": "Button Minus",
  714. "default": "Button10"
  715. },
  716. "button_l": {
  717. "$id": "#/definitions/controller_config/properties/left_joycon/properties/button_l",
  718. "$ref": "#/definitions/input",
  719. "title": "Button L",
  720. "default": "Button6"
  721. },
  722. "button_zl": {
  723. "$id": "#/definitions/controller_config/properties/left_joycon/properties/button_zl",
  724. "$ref": "#/definitions/input",
  725. "title": "Button ZL",
  726. "default": "Button8"
  727. }
  728. }
  729. },
  730. "right_joycon": {
  731. "$id": "#/definitions/controller_config/properties/right_joycon",
  732. "type": "object",
  733. "title": "Right JoyCon Controls",
  734. "required": [
  735. "stick",
  736. "stick_button",
  737. "button_a",
  738. "button_b",
  739. "button_x",
  740. "button_y",
  741. "button_plus",
  742. "button_r",
  743. "button_zr"
  744. ],
  745. "properties": {
  746. "stick": {
  747. "$id": "#/definitions/controller_config/properties/right_joycon/properties/stick",
  748. "$ref": "#/definitions/input",
  749. "title": "Stick",
  750. "default": "Axis2"
  751. },
  752. "stick_button": {
  753. "$id": "#/definitions/controller_config/properties/right_joycon/properties/stick_button",
  754. "$ref": "#/definitions/input",
  755. "title": "Stick Button",
  756. "default": "Button14"
  757. },
  758. "button_a": {
  759. "$id": "#/definitions/controller_config/properties/right_joycon/properties/button_a",
  760. "$ref": "#/definitions/input",
  761. "title": "Button A",
  762. "default": "Button0"
  763. },
  764. "button_b": {
  765. "$id": "#/definitions/controller_config/properties/right_joycon/properties/button_b",
  766. "$ref": "#/definitions/input",
  767. "title": "Button B",
  768. "default": "Button1"
  769. },
  770. "button_x": {
  771. "$id": "#/definitions/controller_config/properties/right_joycon/properties/button_x",
  772. "$ref": "#/definitions/input",
  773. "title": "Button X",
  774. "default": "Button3"
  775. },
  776. "button_y": {
  777. "$id": "#/definitions/controller_config/properties/right_joycon/properties/button_y",
  778. "$ref": "#/definitions/input",
  779. "title": "Button Y",
  780. "default": "Button4"
  781. },
  782. "button_plus": {
  783. "$id": "#/definitions/controller_config/properties/right_joycon/properties/button_plus",
  784. "$ref": "#/definitions/input",
  785. "title": "Button Plus",
  786. "default": "Button11"
  787. },
  788. "button_r": {
  789. "$id": "#/definitions/controller_config/properties/right_joycon/properties/button_r",
  790. "$ref": "#/definitions/input",
  791. "title": "Button R",
  792. "default": "Button7"
  793. },
  794. "button_zr": {
  795. "$id": "#/definitions/controller_config/properties/right_joycon/properties/button_zr",
  796. "$ref": "#/definitions/input",
  797. "title": "Button ZR",
  798. "default": "Button9"
  799. }
  800. }
  801. },
  802. "enable_motion": {
  803. "$id": "#/definitions/controller_config/properties/enable_motion",
  804. "type": "boolean",
  805. "title": "Enable Motion Controls",
  806. "description": "Enables Motion Controls",
  807. "default": false,
  808. "examples": [
  809. true,
  810. false
  811. ]
  812. },
  813. "sensitivity": {
  814. "$id": "#/definitions/controller_config/properties/sensitivity",
  815. "type": "integer",
  816. "title": "Sensitivity",
  817. "description": "Gyro sensitivity",
  818. "default": 100,
  819. "minimum": 0,
  820. "maximum": 1000,
  821. "examples": [
  822. 90,
  823. 100,
  824. 150
  825. ]
  826. },
  827. "gyro_deadzone": {
  828. "$id": "#/definitions/controller_config/properties/gyro_deadzone",
  829. "type": "number",
  830. "title": "Gyro Deadzone",
  831. "description": "Controller Left Analog Stick Deadzone",
  832. "default": 1,
  833. "minimum": 0.00,
  834. "maximum": 100.00,
  835. "examples": [
  836. 0.01
  837. ]
  838. },
  839. "slot": {
  840. "$id": "#/definitions/controller_config/properties/slot",
  841. "type": "integer",
  842. "title": "Slot",
  843. "description": "DSU motion client slot for main controller",
  844. "default": 0,
  845. "minimum": 0,
  846. "maximum": 4,
  847. "examples": [
  848. 0,
  849. 1,
  850. 2,
  851. 3
  852. ]
  853. },
  854. "alt_slot": {
  855. "$id": "#/definitions/controller_config/properties/alt_slot",
  856. "type": "integer",
  857. "title": "Alternate Slot",
  858. "description": "DSU motion client slot for secondary controller, eg Right Joycon in Paired mode",
  859. "default": 0,
  860. "minimum": 0,
  861. "maximum": 4,
  862. "examples": [
  863. 0,
  864. 1,
  865. 2,
  866. 3
  867. ]
  868. },
  869. "mirror_input": {
  870. "$id": "#/definitions/controller_config/properties/mirror_input",
  871. "type": "boolean",
  872. "title": "Mirror Motion Input",
  873. "description": "Mirrors main motion input in Paired mode",
  874. "default": true,
  875. "examples": [
  876. true,
  877. false
  878. ]
  879. },
  880. "dsu_server_port": {
  881. "$id": "#/definitions/controller_config/properties/dsu_server_port",
  882. "type": "integer",
  883. "title": "DSU Server Port",
  884. "description": "DSU motion server port",
  885. "default": 26760,
  886. "minimum": 0,
  887. "maximum": 36654,
  888. "examples": [
  889. 0,
  890. 1,
  891. 2,
  892. 3
  893. ]
  894. },
  895. "dsu_server_host": {
  896. "$id": "#/definitions/controller_config/properties/dsu_server_host",
  897. "type": "string",
  898. "title": "DSU Server Host Address",
  899. "description": "DSU motion server host address",
  900. "default": "127.0.0.1",
  901. "examples": [
  902. "127.0.0.1",
  903. "example.host.com"
  904. ]
  905. }
  906. }
  907. }
  908. },
  909. "properties": {
  910. "res_scale": {
  911. "$id": "#/properties/res_scale",
  912. "type": "integer",
  913. "title": "Resolution Scale",
  914. "description": "An integer scale applied to applicable render targets. Values 1-4, or -1 to use a custom floating point scale instead.",
  915. "default": -1,
  916. "examples": [
  917. -1,
  918. 1,
  919. 2,
  920. 3,
  921. 4
  922. ]
  923. },
  924. "res_scale_custom": {
  925. "$id": "#/properties/res_scale_custom",
  926. "type": "number",
  927. "title": "Custom Resolution Scale",
  928. "description": "A custom floating point scale applied to applicable render targets. Only active when Resolution Scale is -1.",
  929. "default": 1.0
  930. },
  931. "max_anisotropy": {
  932. "$id": "#/properties/max_anisotropy",
  933. "type": "integer",
  934. "title": "Max Anisotropy. Values range from 0 - 16. Set to -1 to let the game decide.",
  935. "description": "Max Anisotropy. Values range from 0 - 16. Set to -1 to let the game decide.",
  936. "default": -1,
  937. "examples": [
  938. -1,
  939. 4,
  940. 8,
  941. 16
  942. ]
  943. },
  944. "graphics_shaders_dump_path": {
  945. "$id": "#/properties/graphics_shaders_dump_path",
  946. "type": "string",
  947. "title": "Graphics Shaders Dump Path",
  948. "description": "Dumps shaders in this local directory",
  949. "default": "",
  950. "examples": [
  951. "C:\\ShaderDumps"
  952. ]
  953. },
  954. "logging_enable_debug": {
  955. "$id": "#/properties/logging_enable_debug",
  956. "type": "boolean",
  957. "title": "Logging Enable Debug",
  958. "description": "Enables printing debug log messages",
  959. "default": false,
  960. "examples": [
  961. true,
  962. false
  963. ]
  964. },
  965. "logging_enable_stub": {
  966. "$id": "#/properties/logging_enable_stub",
  967. "type": "boolean",
  968. "title": "Logging Enable Stub",
  969. "description": "Enables printing stub log messages",
  970. "default": true,
  971. "examples": [
  972. true,
  973. false
  974. ]
  975. },
  976. "logging_enable_info": {
  977. "$id": "#/properties/logging_enable_info",
  978. "type": "boolean",
  979. "title": "Logging Enable Info",
  980. "description": "Enables printing info log messages",
  981. "default": true,
  982. "examples": [
  983. true,
  984. false
  985. ]
  986. },
  987. "logging_enable_warn": {
  988. "$id": "#/properties/logging_enable_warn",
  989. "type": "boolean",
  990. "title": "Logging Enable Warn",
  991. "description": "Enables printing warning log messages",
  992. "default": true,
  993. "examples": [
  994. true,
  995. false
  996. ]
  997. },
  998. "logging_enable_error": {
  999. "$id": "#/properties/logging_enable_error",
  1000. "type": "boolean",
  1001. "title": "Logging Enable Error",
  1002. "description": "Enables printing error log messages",
  1003. "default": true,
  1004. "examples": [
  1005. true,
  1006. false
  1007. ]
  1008. },
  1009. "logging_enable_guest": {
  1010. "$id": "#/properties/logging_enable_guest",
  1011. "type": "boolean",
  1012. "title": "Logging Enable Guest",
  1013. "description": "Enables printing guest log messages",
  1014. "default": true,
  1015. "examples": [
  1016. true,
  1017. false
  1018. ]
  1019. },
  1020. "logging_enable_fs_access": {
  1021. "$id": "#/properties/logging_enable_fs_access_log",
  1022. "type": "boolean",
  1023. "title": "Logging Enable FS Access Log",
  1024. "description": "Enables printing FS access log messages",
  1025. "default": true,
  1026. "examples": [
  1027. true,
  1028. false
  1029. ]
  1030. },
  1031. "logging_filtered_classes": {
  1032. "$id": "#/properties/logging_filtered_classes",
  1033. "type": "array",
  1034. "title": "Logging Filtered Classes",
  1035. "description": "Controls which log messages are written to the log targets",
  1036. "items": {
  1037. "type": "string",
  1038. "enum": [
  1039. "Application",
  1040. "Audio",
  1041. "Cpu",
  1042. "Font",
  1043. "Emulation",
  1044. "Gpu",
  1045. "Hid",
  1046. "Kernel",
  1047. "KernelIpc",
  1048. "KernelScheduler",
  1049. "KernelSvc",
  1050. "Loader",
  1051. "Service",
  1052. "ServiceAcc",
  1053. "ServiceAm",
  1054. "ServiceApm",
  1055. "ServiceAudio",
  1056. "ServiceBsd",
  1057. "ServiceCaps",
  1058. "ServiceFriend",
  1059. "ServiceFs",
  1060. "ServiceHid",
  1061. "ServiceIrs",
  1062. "ServiceLdr",
  1063. "ServiceLm",
  1064. "ServiceMm",
  1065. "ServiceNfp",
  1066. "ServiceNifm",
  1067. "ServiceNs",
  1068. "ServiceNv",
  1069. "ServicePctl",
  1070. "ServicePl",
  1071. "ServicePrepo",
  1072. "ServicePsm",
  1073. "ServiceSet",
  1074. "ServiceSfdnsres",
  1075. "ServiceSm",
  1076. "ServiceSsl",
  1077. "ServiceSss",
  1078. "ServiceTime",
  1079. "ServiceVi"
  1080. ]
  1081. }
  1082. },
  1083. "enable_file_log": {
  1084. "$id": "#/properties/enable_file_log",
  1085. "type": "boolean",
  1086. "title": "Enable File Log",
  1087. "description": "Enables logging to a file on disk",
  1088. "default": true,
  1089. "examples": [
  1090. true,
  1091. false
  1092. ]
  1093. },
  1094. "system_language": {
  1095. "$id": "#/properties/system_language",
  1096. "type": "string",
  1097. "title": "System Language",
  1098. "description": "Change System Language",
  1099. "default": "AmericanEnglish",
  1100. "enum": [
  1101. "Japanese",
  1102. "AmericanEnglish",
  1103. "French",
  1104. "German",
  1105. "Italian",
  1106. "Spanish",
  1107. "Chinese",
  1108. "Korean",
  1109. "Dutch",
  1110. "Portuguese",
  1111. "Russian",
  1112. "Taiwanese",
  1113. "BritishEnglish",
  1114. "CanadianFrench",
  1115. "LatinAmericanSpanish",
  1116. "SimplifiedChinese",
  1117. "TraditionalChinese"
  1118. ],
  1119. "examples": [
  1120. "AmericanEnglish"
  1121. ]
  1122. },
  1123. "system_region": {
  1124. "$id": "#/properties/system_region",
  1125. "type": "string",
  1126. "title": "System Region",
  1127. "description": "Change System Region",
  1128. "default": "USA",
  1129. "enum": [
  1130. "Japan",
  1131. "USA",
  1132. "Europe",
  1133. "Australia",
  1134. "China",
  1135. "Korea",
  1136. "Taiwan"
  1137. ],
  1138. "examples": [
  1139. "USA"
  1140. ]
  1141. },
  1142. "system_time_offset": {
  1143. "$id": "#/properties/system_time_offset",
  1144. "type": "integer",
  1145. "title": "System Time Offset",
  1146. "description": "System time offset in seconds.",
  1147. "default": 0,
  1148. "examples": [
  1149. -3600,
  1150. 0,
  1151. 3600
  1152. ]
  1153. },
  1154. "docked_mode": {
  1155. "$id": "#/properties/docked_mode",
  1156. "type": "boolean",
  1157. "title": "Enable Docked Mode",
  1158. "description": "Enables or disables Docked Mode",
  1159. "default": false,
  1160. "examples": [
  1161. true,
  1162. false
  1163. ]
  1164. },
  1165. "enable_discord_integration": {
  1166. "$id": "#/properties/enable_discord_integration",
  1167. "type": "boolean",
  1168. "title": "Enable Discord Rich Presence",
  1169. "description": "Enable or disable Discord Rich Presence",
  1170. "default": true,
  1171. "examples": [
  1172. true,
  1173. false
  1174. ]
  1175. },
  1176. "check_updates_on_start": {
  1177. "$id": "#/properties/check_updates_on_start",
  1178. "type": "boolean",
  1179. "title": "Checks for updates when ryujinx starts when enabled",
  1180. "description": "Checks for updates when ryujinx starts when enabled",
  1181. "default": true,
  1182. "examples": [
  1183. true,
  1184. false
  1185. ]
  1186. },
  1187. "enable_vsync": {
  1188. "$id": "#/properties/enable_vsync",
  1189. "type": "boolean",
  1190. "title": "Enable Vertical Sync",
  1191. "description": "Enables or disables Vertical Sync",
  1192. "default": true,
  1193. "examples": [
  1194. true,
  1195. false
  1196. ]
  1197. },
  1198. "enable_ptc": {
  1199. "$id": "#/properties/enable_ptc",
  1200. "type": "boolean",
  1201. "title": "Enable Profiled Persistent Translation Cache",
  1202. "description": "Enables or disables profiled translation cache persistency",
  1203. "default": false,
  1204. "examples": [
  1205. true,
  1206. false
  1207. ]
  1208. },
  1209. "enable_fs_integrity_checks": {
  1210. "$id": "#/properties/enable_fs_integrity_checks",
  1211. "type": "boolean",
  1212. "title": "Enable Filesystem Integrity Checks",
  1213. "description": "Enables integrity checks on Game content files. Only applies to ROMs loaded as XCI files",
  1214. "default": true,
  1215. "examples": [
  1216. true,
  1217. false
  1218. ]
  1219. },
  1220. "fs_global_access_log_mode": {
  1221. "$id": "#/properties/fs_global_access_log_mode",
  1222. "type": "integer",
  1223. "title": "Enable FS access log",
  1224. "description": "Enables FS access log output. Possible modes are 0-3. Modes 2 and 3 output to the console",
  1225. "default": 0,
  1226. "minimum": 0,
  1227. "examples": [
  1228. 0,
  1229. 1,
  1230. 2,
  1231. 3
  1232. ]
  1233. },
  1234. "audio_backend": {
  1235. "$id": "#/properties/audio_backend",
  1236. "type": "string",
  1237. "title": "The selected audio backend",
  1238. "description": "The selected audio backend",
  1239. "default": "OpenAl",
  1240. "enum": [
  1241. "Dummy",
  1242. "SoundIo",
  1243. "OpenAl"
  1244. ]
  1245. },
  1246. "ignore_missing_services": {
  1247. "$id": "#/properties/ignore_missing_services",
  1248. "type": "boolean",
  1249. "title": "Ignore Missing Services",
  1250. "description": "Enable or disable ignoring missing services, this may cause instability",
  1251. "default": false,
  1252. "examples": [
  1253. true,
  1254. false
  1255. ]
  1256. },
  1257. "gui_columns": {
  1258. "$id": "#/properties/gui_columns",
  1259. "type": "object",
  1260. "title": "Used to toggle columns in the GUI",
  1261. "description": "Used to toggle columns in the GUI",
  1262. "properties": {
  1263. "fav_column": {
  1264. "$id": "#/properties/gui_columns/properties/fav_column",
  1265. "type": "boolean",
  1266. "title": "",
  1267. "default": true
  1268. },
  1269. "icon_column": {
  1270. "$id": "#/properties/gui_columns/properties/icon_column",
  1271. "type": "boolean",
  1272. "title": "",
  1273. "default": true
  1274. },
  1275. "app_column": {
  1276. "$id": "#/properties/gui_columns/properties/app_column",
  1277. "type": "boolean",
  1278. "title": "",
  1279. "default": true
  1280. },
  1281. "dev_column": {
  1282. "$id": "#/properties/gui_columns/properties/dev_column",
  1283. "type": "boolean",
  1284. "title": "",
  1285. "default": true
  1286. },
  1287. "version_column": {
  1288. "$id": "#/properties/gui_columns/properties/version_column",
  1289. "type": "boolean",
  1290. "title": "",
  1291. "default": true
  1292. },
  1293. "time_played_column": {
  1294. "$id": "#/properties/gui_columns/properties/time_played_column",
  1295. "type": "boolean",
  1296. "title": "",
  1297. "default": true
  1298. },
  1299. "last_played_column": {
  1300. "$id": "#/properties/gui_columns/properties/last_played_column",
  1301. "type": "boolean",
  1302. "title": "",
  1303. "default": true
  1304. },
  1305. "file_ext_column": {
  1306. "$id": "#/properties/gui_columns/properties/file_ext_column",
  1307. "type": "boolean",
  1308. "title": "",
  1309. "default": true
  1310. },
  1311. "file_size_column": {
  1312. "$id": "#/properties/gui_columns/properties/file_size_column",
  1313. "type": "boolean",
  1314. "title": "",
  1315. "default": true
  1316. },
  1317. "path_column": {
  1318. "$id": "#/properties/gui_columns/properties/path_column",
  1319. "type": "boolean",
  1320. "title": "",
  1321. "default": true
  1322. }
  1323. }
  1324. },
  1325. "column_sort": {
  1326. "$id": "#/properties/column_sort",
  1327. "type": "object",
  1328. "title": "Used to configure column sort settings in the GUI",
  1329. "description": "Used to configure column sort settings in the GUI",
  1330. "properties": {
  1331. "sort_column_id": {
  1332. "$id": "#/properties/column_sort/properties/sort_column_id",
  1333. "type": "integer",
  1334. "title": "",
  1335. "default": 0
  1336. },
  1337. "sort_ascending": {
  1338. "$id": "#/properties/column_sort/properties/sort_ascending",
  1339. "type": "boolean",
  1340. "title": "",
  1341. "default": false
  1342. }
  1343. }
  1344. },
  1345. "game_dirs": {
  1346. "$id": "#/properties/game_dirs",
  1347. "type": "array",
  1348. "title": "List of Game Directories",
  1349. "description": "A list of directories containing games to be used to load games into the games list",
  1350. "default": []
  1351. },
  1352. "enable_custom_theme": {
  1353. "$id": "#/properties/enable_custom_theme",
  1354. "type": "boolean",
  1355. "title": "Enable custom themes in the GUI",
  1356. "description": "Enable or disable custom themes in the GUI",
  1357. "default": false,
  1358. "examples": [
  1359. true,
  1360. false
  1361. ]
  1362. },
  1363. "custom_theme_path": {
  1364. "$id": "#/properties/custom_theme_path",
  1365. "type": "string",
  1366. "title": "Path to custom GUI theme",
  1367. "description": "Path to custom GUI theme",
  1368. "default": ""
  1369. },
  1370. "start_fullscreen": {
  1371. "$id": "#/properties/start_fullscreen",
  1372. "type": "boolean",
  1373. "title": "Start games in fullscreen mode",
  1374. "description": "Start games in fullscreen mode",
  1375. "default": false,
  1376. "examples": [
  1377. true,
  1378. false
  1379. ]
  1380. },
  1381. "enable_keyboard": {
  1382. "$id": "#/properties/enable_keyboard",
  1383. "type": "boolean",
  1384. "title": "(HID) Keyboard Enable",
  1385. "description": "Enable or disable direct keyboard access (HID) support (Provides games access to your keyboard as a text entry device)",
  1386. "default": true,
  1387. "examples": [
  1388. true,
  1389. false
  1390. ]
  1391. },
  1392. "hotkeys": {
  1393. "$id": "#/properties/hotkeys",
  1394. "type": "object",
  1395. "title": "Hotkey Controls",
  1396. "required": [
  1397. "toggle_vsync"
  1398. ],
  1399. "properties": {
  1400. "toggle_vsync": {
  1401. "$id": "#/properties/hotkeys/properties/toggle_vsync",
  1402. "$ref": "#/definitions/key",
  1403. "title": "Toggle VSync",
  1404. "default": "Tab"
  1405. }
  1406. }
  1407. },
  1408. "keyboard_config": {
  1409. "$id": "#/properties/keyboard_config",
  1410. "type": "array",
  1411. "title": "Keyboard Config",
  1412. "items": {
  1413. "$ref": "#/definitions/keyboard_config"
  1414. },
  1415. "default": [
  1416. {
  1417. "index": 0,
  1418. "controller_type": "JoyconPair",
  1419. "player_index": "Player1",
  1420. "left_joycon": {
  1421. "stick_up": "W",
  1422. "stick_down": "S",
  1423. "stick_left": "A",
  1424. "stick_right": "D",
  1425. "stick_button": "F",
  1426. "dpad_up": "Up",
  1427. "dpad_down": "Down",
  1428. "dpad_left": "Left",
  1429. "dpad_right": "Right",
  1430. "button_minus": "Minus",
  1431. "button_l": "E",
  1432. "button_zl": "Q",
  1433. "button_sl": "Unbound",
  1434. "button_sr": "Unbound"
  1435. },
  1436. "right_joycon": {
  1437. "stick_up": "I",
  1438. "stick_down": "K",
  1439. "stick_left": "J",
  1440. "stick_right": "L",
  1441. "stick_button": "H",
  1442. "button_a": "Z",
  1443. "button_b": "X",
  1444. "button_x": "C",
  1445. "button_y": "V",
  1446. "button_plus": "Plus",
  1447. "button_r": "U",
  1448. "button_zr": "O",
  1449. "button_sl": "Unbound",
  1450. "button_sr": "Unbound"
  1451. },
  1452. "slot": 0,
  1453. "alt_slot": 0,
  1454. "mirror_input": false,
  1455. "dsu_server_host": "127.0.0.1",
  1456. "dsu_server_port": 26760,
  1457. "sensitivity": 100,
  1458. "gyro_deadzone": 1,
  1459. "enable_motion": false
  1460. }
  1461. ]
  1462. },
  1463. "controller_config": {
  1464. "$id": "#/properties/controller_config",
  1465. "type": "array",
  1466. "title": "Controller Config",
  1467. "items": {
  1468. "$ref": "#/definitions/controller_config"
  1469. },
  1470. "default": []
  1471. }
  1472. }
  1473. }