_schema.json 44 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394959697989910010110210310410510610710810911011111211311411511611711811912012112212312412512612712812913013113213313413513613713813914014114214314414514614714814915015115215315415515615715815916016116216316416516616716816917017117217317417517617717817918018118218318418518618718818919019119219319419519619719819920020120220320420520620720820921021121221321421521621721821922022122222322422522622722822923023123223323423523623723823924024124224324424524624724824925025125225325425525625725825926026126226326426526626726826927027127227327427527627727827928028128228328428528628728828929029129229329429529629729829930030130230330430530630730830931031131231331431531631731831932032132232332432532632732832933033133233333433533633733833934034134234334434534634734834935035135235335435535635735835936036136236336436536636736836937037137237337437537637737837938038138238338438538638738838939039139239339439539639739839940040140240340440540640740840941041141241341441541641741841942042142242342442542642742842943043143243343443543643743843944044144244344444544644744844945045145245345445545645745845946046146246346446546646746846947047147247347447547647747847948048148248348448548648748848949049149249349449549649749849950050150250350450550650750850951051151251351451551651751851952052152252352452552652752852953053153253353453553653753853954054154254354454554654754854955055155255355455555655755855956056156256356456556656756856957057157257357457557657757857958058158258358458558658758858959059159259359459559659759859960060160260360460560660760860961061161261361461561661761861962062162262362462562662762862963063163263363463563663763863964064164264364464564664764864965065165265365465565665765865966066166266366466566666766866967067167267367467567667767867968068168268368468568668768868969069169269369469569669769869970070170270370470570670770870971071171271371471571671771871972072172272372472572672772872973073173273373473573673773873974074174274374474574674774874975075175275375475575675775875976076176276376476576676776876977077177277377477577677777877978078178278378478578678778878979079179279379479579679779879980080180280380480580680780880981081181281381481581681781881982082182282382482582682782882983083183283383483583683783883984084184284384484584684784884985085185285385485585685785885986086186286386486586686786886987087187287387487587687787887988088188288388488588688788888989089189289389489589689789889990090190290390490590690790890991091191291391491591691791891992092192292392492592692792892993093193293393493593693793893994094194294394494594694794894995095195295395495595695795895996096196296396496596696796896997097197297397497597697797897998098198298398498598698798898999099199299399499599699799899910001001100210031004100510061007100810091010101110121013101410151016101710181019102010211022102310241025102610271028102910301031103210331034103510361037103810391040104110421043104410451046104710481049105010511052105310541055105610571058105910601061106210631064106510661067106810691070107110721073107410751076107710781079108010811082108310841085108610871088108910901091109210931094109510961097109810991100110111021103110411051106110711081109111011111112111311141115111611171118111911201121112211231124112511261127112811291130113111321133113411351136113711381139114011411142114311441145114611471148114911501151115211531154115511561157115811591160116111621163116411651166116711681169117011711172117311741175117611771178117911801181118211831184118511861187118811891190119111921193119411951196119711981199120012011202120312041205120612071208120912101211121212131214121512161217121812191220122112221223122412251226122712281229123012311232123312341235123612371238123912401241124212431244124512461247124812491250125112521253125412551256125712581259126012611262126312641265126612671268126912701271127212731274127512761277127812791280128112821283128412851286128712881289129012911292129312941295129612971298129913001301130213031304130513061307130813091310131113121313131413151316131713181319132013211322132313241325132613271328132913301331133213331334133513361337133813391340134113421343134413451346134713481349135013511352135313541355135613571358135913601361136213631364136513661367136813691370137113721373137413751376137713781379138013811382138313841385138613871388138913901391139213931394139513961397139813991400140114021403140414051406140714081409141014111412141314141415141614171418141914201421142214231424142514261427142814291430143114321433143414351436143714381439144014411442144314441445144614471448144914501451145214531454145514561457145814591460146114621463146414651466146714681469147014711472147314741475147614771478147914801481148214831484148514861487148814891490149114921493149414951496149714981499150015011502150315041505150615071508150915101511151215131514151515161517151815191520152115221523152415251526152715281529153015311532153315341535153615371538153915401541
  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. "enable_mouse",
  26. "keyboard_config",
  27. "controller_config"
  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. "keyboard_config": {
  226. "type": "object",
  227. "properties": {
  228. "index": {
  229. "$id": "#/definitions/keyboard_config/properties/index",
  230. "type": "integer",
  231. "title": "Keyboard Index",
  232. "description": "Keyboard Device Index",
  233. "default": 0,
  234. "minimum": 0,
  235. "examples": [
  236. 0,
  237. 1,
  238. 2
  239. ]
  240. },
  241. "controller_type": {
  242. "$id": "#/properties/keyboard_config/properties/controller_type",
  243. "type": "string",
  244. "title": "Controller Type",
  245. "default": "Handheld",
  246. "enum": [
  247. "Handheld",
  248. "ProController",
  249. "JoyconPair",
  250. "JoyconLeft",
  251. "JoyconRight"
  252. ],
  253. "examples": [
  254. "Handheld",
  255. "ProController",
  256. "JoyconPair",
  257. "JoyconLeft",
  258. "JoyconRight"
  259. ]
  260. },
  261. "player_index": {
  262. "$id": "#/properties/keyboard_config/properties/player_index",
  263. "type": "string",
  264. "title": "Player Index",
  265. "default": "Player1",
  266. "enum": [
  267. "Player1",
  268. "Player2",
  269. "Player3",
  270. "Player4",
  271. "Player5",
  272. "Player6",
  273. "Player7",
  274. "Player8",
  275. "Handheld"
  276. ]
  277. },
  278. "left_joycon": {
  279. "$id": "#/definitions/keyboard_config/properties/left_joycon",
  280. "type": "object",
  281. "title": "Left JoyCon Controls",
  282. "required": [
  283. "stick_up",
  284. "stick_down",
  285. "stick_left",
  286. "stick_right",
  287. "stick_button",
  288. "dpad_up",
  289. "dpad_down",
  290. "dpad_left",
  291. "dpad_right",
  292. "button_minus",
  293. "button_l",
  294. "button_zl"
  295. ],
  296. "properties": {
  297. "stick_up": {
  298. "$id": "#/definitions/keyboard_config/properties/left_joycon/properties/stick_up",
  299. "$ref": "#/definitions/key",
  300. "title": "Stick Up",
  301. "default": "w"
  302. },
  303. "stick_down": {
  304. "$id": "#/definitions/keyboard_config/properties/left_joycon/properties/stick_down",
  305. "$ref": "#/definitions/key",
  306. "title": "Stick Down",
  307. "default": "S"
  308. },
  309. "stick_left": {
  310. "$id": "#/definitions/keyboard_config/properties/left_joycon/properties/stick_left",
  311. "$ref": "#/definitions/key",
  312. "title": "Stick Left",
  313. "default": "A"
  314. },
  315. "stick_right": {
  316. "$id": "#/definitions/keyboard_config/properties/left_joycon/properties/stick_right",
  317. "$ref": "#/definitions/key",
  318. "title": "Stick Right",
  319. "default": "D"
  320. },
  321. "stick_button": {
  322. "$id": "#/definitions/keyboard_config/properties/left_joycon/properties/stick_button",
  323. "$ref": "#/definitions/key",
  324. "title": "Stick Button",
  325. "default": "F"
  326. },
  327. "dpad_up": {
  328. "$id": "#/definitions/keyboard_config/properties/left_joycon/properties/dpad_up",
  329. "$ref": "#/definitions/key",
  330. "title": "Dpad Up",
  331. "default": "Up"
  332. },
  333. "dpad_down": {
  334. "$id": "#/definitions/keyboard_config/properties/left_joycon/properties/dpad_down",
  335. "$ref": "#/definitions/key",
  336. "title": "Dpad Down",
  337. "default": "Down"
  338. },
  339. "dpad_left": {
  340. "$id": "#/definitions/keyboard_config/properties/left_joycon/properties/dpad_left",
  341. "$ref": "#/definitions/key",
  342. "title": "Dpad Left",
  343. "default": "Left"
  344. },
  345. "dpad_right": {
  346. "$id": "#/definitions/keyboard_config/properties/left_joycon/properties/dpad_right",
  347. "$ref": "#/definitions/key",
  348. "title": "Dpad Right",
  349. "default": "Right"
  350. },
  351. "button_minus": {
  352. "$id": "#/definitions/keyboard_config/properties/left_joycon/properties/button_minus",
  353. "$ref": "#/definitions/key",
  354. "title": "Button Minus",
  355. "default": "Minus"
  356. },
  357. "button_l": {
  358. "$id": "#/definitions/keyboard_config/properties/left_joycon/properties/button_l",
  359. "$ref": "#/definitions/key",
  360. "title": "Button L",
  361. "default": "E"
  362. },
  363. "button_zl": {
  364. "$id": "#/definitions/keyboard_config/properties/left_joycon/properties/button_zl",
  365. "$ref": "#/definitions/key",
  366. "title": "Button ZL",
  367. "default": "Q"
  368. }
  369. }
  370. },
  371. "right_joycon": {
  372. "$id": "#/definitions/keyboard_config/properties/right_joycon",
  373. "type": "object",
  374. "title": "Right JoyCon Controls",
  375. "required": [
  376. "stick_up",
  377. "stick_down",
  378. "stick_left",
  379. "stick_right",
  380. "stick_button",
  381. "button_a",
  382. "button_b",
  383. "button_x",
  384. "button_y",
  385. "button_plus",
  386. "button_r",
  387. "button_zr"
  388. ],
  389. "properties": {
  390. "stick_up": {
  391. "$id": "#/definitions/keyboard_config/properties/right_joycon/properties/stick_up",
  392. "$ref": "#/definitions/key",
  393. "title": "Stick Up",
  394. "default": "I"
  395. },
  396. "stick_down": {
  397. "$id": "#/definitions/keyboard_config/properties/right_joycon/properties/stick_down",
  398. "$ref": "#/definitions/key",
  399. "title": "Stick Down",
  400. "default": "K"
  401. },
  402. "stick_left": {
  403. "$id": "#/definitions/keyboard_config/properties/right_joycon/properties/stick_left",
  404. "$ref": "#/definitions/key",
  405. "title": "Stick Left",
  406. "default": "J"
  407. },
  408. "stick_right": {
  409. "$id": "#/definitions/keyboard_config/properties/right_joycon/properties/stick_right",
  410. "$ref": "#/definitions/key",
  411. "title": "Stick Right",
  412. "default": "L"
  413. },
  414. "stick_button": {
  415. "$id": "#/definitions/keyboard_config/properties/right_joycon/properties/stick_button",
  416. "$ref": "#/definitions/key",
  417. "title": "Stick Button",
  418. "default": "H"
  419. },
  420. "button_a": {
  421. "$id": "#/definitions/keyboard_config/properties/right_joycon/properties/button_a",
  422. "$ref": "#/definitions/key",
  423. "title": "Button A",
  424. "default": "Z"
  425. },
  426. "button_b": {
  427. "$id": "#/definitions/keyboard_config/properties/right_joycon/properties/button_b",
  428. "$ref": "#/definitions/key",
  429. "title": "Button B",
  430. "default": "X"
  431. },
  432. "button_x": {
  433. "$id": "#/definitions/keyboard_config/properties/right_joycon/properties/button_x",
  434. "$ref": "#/definitions/key",
  435. "title": "Button X",
  436. "default": "C"
  437. },
  438. "button_y": {
  439. "$id": "#/definitions/keyboard_config/properties/right_joycon/properties/button_y",
  440. "$ref": "#/definitions/key",
  441. "title": "Button Y",
  442. "default": "V"
  443. },
  444. "button_plus": {
  445. "$id": "#/definitions/keyboard_config/properties/right_joycon/properties/button_plus",
  446. "$ref": "#/definitions/key",
  447. "title": "Button Plus",
  448. "default": "Plus"
  449. },
  450. "button_r": {
  451. "$id": "#/definitions/keyboard_config/properties/right_joycon/properties/button_r",
  452. "$ref": "#/definitions/key",
  453. "title": "Button R",
  454. "default": "U"
  455. },
  456. "button_zr": {
  457. "$id": "#/definitions/keyboard_config/properties/right_joycon/properties/button_zr",
  458. "$ref": "#/definitions/key",
  459. "title": "Button Zr",
  460. "default": "O"
  461. }
  462. }
  463. },
  464. "enable_motion": {
  465. "$id": "#/definitions/keyboard_config/properties/enable_motion",
  466. "type": "boolean",
  467. "title": "Enable Motion Controls",
  468. "description": "Enables Motion Controls",
  469. "default": false,
  470. "examples": [
  471. true,
  472. false
  473. ]
  474. },
  475. "sensitivity": {
  476. "$id": "#/definitions/keyboard_config/properties/sensitivity",
  477. "type": "integer",
  478. "title": "Sensitivity",
  479. "description": "Gyro sensitivity",
  480. "default": 100,
  481. "minimum": 0,
  482. "maximum": 1000,
  483. "examples": [
  484. 90,
  485. 100,
  486. 150
  487. ]
  488. },
  489. "gyro_deadzone": {
  490. "$id": "#/definitions/keyboard_config/properties/gyro_deadzone",
  491. "type": "number",
  492. "title": "Gyro Deadzone",
  493. "description": "Controller Left Analog Stick Deadzone",
  494. "default": 1,
  495. "minimum": 0.00,
  496. "maximum": 100.00,
  497. "examples": [
  498. 0.01
  499. ]
  500. },
  501. "slot": {
  502. "$id": "#/definitions/keyboard_config/properties/slot",
  503. "type": "integer",
  504. "title": "Slot",
  505. "description": "DSU motion client slot for main controller",
  506. "default": 0,
  507. "minimum": 0,
  508. "maximum": 4,
  509. "examples": [
  510. 0,
  511. 1,
  512. 2,
  513. 3
  514. ]
  515. },
  516. "alt_slot": {
  517. "$id": "#/definitions/keyboard_config/properties/alt_slot",
  518. "type": "integer",
  519. "title": "Alternate Slot",
  520. "description": "DSU motion client slot for secondary controller, eg Right Joycon in Paired mode",
  521. "default": 0,
  522. "minimum": 0,
  523. "maximum": 4,
  524. "examples": [
  525. 0,
  526. 1,
  527. 2,
  528. 3
  529. ]
  530. },
  531. "mirror_input": {
  532. "$id": "#/definitions/keyboard_config/properties/mirror_input",
  533. "type": "boolean",
  534. "title": "Mirror Motion Input",
  535. "description": "Mirrors main motion input in Paired mode",
  536. "default": true,
  537. "examples": [
  538. true,
  539. false
  540. ]
  541. },
  542. "dsu_server_port": {
  543. "$id": "#/definitions/keyboard_config/properties/dsu_server_port",
  544. "type": "integer",
  545. "title": "DSU Server Port",
  546. "description": "DSU motion server port",
  547. "default": 26760,
  548. "minimum": 0,
  549. "maximum": 36654,
  550. "examples": [
  551. 0,
  552. 1,
  553. 2,
  554. 3
  555. ]
  556. },
  557. "dsu_server_host": {
  558. "$id": "#/definitions/keyboard_config/properties/dsu_server_host",
  559. "type": "string",
  560. "title": "DSU Server Host Address",
  561. "description": "DSU motion server host address",
  562. "default": "127.0.0.1",
  563. "examples": [
  564. "127.0.0.1",
  565. "example.host.com"
  566. ]
  567. }
  568. }
  569. },
  570. "controller_config": {
  571. "type": "object",
  572. "properties": {
  573. "index": {
  574. "$id": "#/definitions/controller_config/properties/index",
  575. "type": "integer",
  576. "title": "Controller Index",
  577. "description": "Controller Device Index",
  578. "default": 0,
  579. "minimum": 0,
  580. "examples": [
  581. 0,
  582. 1,
  583. 2
  584. ]
  585. },
  586. "controller_type": {
  587. "$id": "#/properties/controller_config/properties/controller_type",
  588. "type": "string",
  589. "title": "Controller Type",
  590. "default": "Handheld",
  591. "enum": [
  592. "Handheld",
  593. "ProController",
  594. "JoyconPair",
  595. "JoyconLeft",
  596. "JoyconRight"
  597. ],
  598. "examples": [
  599. "Handheld",
  600. "ProController",
  601. "JoyconPair",
  602. "JoyconLeft",
  603. "JoyconRight"
  604. ]
  605. },
  606. "player_index": {
  607. "$id": "#/properties/controller_config/properties/player_index",
  608. "type": "string",
  609. "title": "Player Index",
  610. "default": "Player1",
  611. "enum": [
  612. "Player1",
  613. "Player2",
  614. "Player3",
  615. "Player4",
  616. "Player5",
  617. "Player6",
  618. "Player7",
  619. "Player8",
  620. "Handheld"
  621. ]
  622. },
  623. "deadzone_left": {
  624. "$id": "#/definitions/controller_config/properties/deadzone_left",
  625. "type": "number",
  626. "title": "Left Joystick Deadzone",
  627. "description": "Controller Left Analog Stick Deadzone",
  628. "default": 0.05,
  629. "minimum": 0.00,
  630. "maximum": 1.00,
  631. "examples": [
  632. 0.05
  633. ]
  634. },
  635. "deadzone_right": {
  636. "$id": "#/definitions/controller_config/properties/deadzone_right",
  637. "type": "number",
  638. "title": "Right Joystick Deadzone",
  639. "description": "Controller Right Analog Stick Deadzone",
  640. "default": 0.05,
  641. "minimum": 0.00,
  642. "maximum": 1.00,
  643. "examples": [
  644. 0.05
  645. ]
  646. },
  647. "trigger_threshold": {
  648. "$id": "#/definitions/controller_config/properties/trigger_threshold",
  649. "type": "number",
  650. "title": "Controller Trigger Threshold",
  651. "description": "The value of how pressed down each trigger has to be in order to register a button press",
  652. "default": 0.5,
  653. "minimum": 0.0,
  654. "maximum": 1.0,
  655. "examples": [
  656. 0.5
  657. ]
  658. },
  659. "left_joycon": {
  660. "$id": "#/definitions/controller_config/properties/left_joycon",
  661. "type": "object",
  662. "title": "Left JoyCon Controls",
  663. "required": [
  664. "stick",
  665. "stick_button",
  666. "dpad_up",
  667. "dpad_down",
  668. "dpad_left",
  669. "dpad_right",
  670. "button_minus",
  671. "button_l",
  672. "button_zl"
  673. ],
  674. "properties": {
  675. "stick": {
  676. "$id": "#/definitions/controller_config/properties/left_joycon/properties/stick",
  677. "$ref": "#/definitions/input",
  678. "title": "Stick",
  679. "default": "Axis0"
  680. },
  681. "stick_button": {
  682. "$id": "#/definitions/controller_config/properties/left_joycon/properties/stick_button",
  683. "$ref": "#/definitions/input",
  684. "title": "Stick Button",
  685. "default": "Button13"
  686. },
  687. "dpad_up": {
  688. "$id": "#/definitions/controller_config/properties/left_joycon/properties/dpad_up",
  689. "$ref": "#/definitions/input",
  690. "title": "Dpad Up",
  691. "default": "Hat0Up"
  692. },
  693. "dpad_down": {
  694. "$id": "#/definitions/controller_config/properties/left_joycon/properties/dpad_down",
  695. "$ref": "#/definitions/input",
  696. "title": "Dpad Down",
  697. "default": "Hat0Down"
  698. },
  699. "dpad_left": {
  700. "$id": "#/definitions/controller_config/properties/left_joycon/properties/dpad_left",
  701. "$ref": "#/definitions/input",
  702. "title": "Dpad Left",
  703. "default": "Hat0Left"
  704. },
  705. "dpad_right": {
  706. "$id": "#/definitions/controller_config/properties/left_joycon/properties/dpad_right",
  707. "$ref": "#/definitions/input",
  708. "title": "Dpad Right",
  709. "default": "Hat0Right"
  710. },
  711. "button_minus": {
  712. "$id": "#/definitions/controller_config/properties/left_joycon/properties/button_minus",
  713. "$ref": "#/definitions/input",
  714. "title": "Button Minus",
  715. "default": "Button10"
  716. },
  717. "button_l": {
  718. "$id": "#/definitions/controller_config/properties/left_joycon/properties/button_l",
  719. "$ref": "#/definitions/input",
  720. "title": "Button L",
  721. "default": "Button6"
  722. },
  723. "button_zl": {
  724. "$id": "#/definitions/controller_config/properties/left_joycon/properties/button_zl",
  725. "$ref": "#/definitions/input",
  726. "title": "Button ZL",
  727. "default": "Button8"
  728. }
  729. }
  730. },
  731. "right_joycon": {
  732. "$id": "#/definitions/controller_config/properties/right_joycon",
  733. "type": "object",
  734. "title": "Right JoyCon Controls",
  735. "required": [
  736. "stick",
  737. "stick_button",
  738. "button_a",
  739. "button_b",
  740. "button_x",
  741. "button_y",
  742. "button_plus",
  743. "button_r",
  744. "button_zr"
  745. ],
  746. "properties": {
  747. "stick": {
  748. "$id": "#/definitions/controller_config/properties/right_joycon/properties/stick",
  749. "$ref": "#/definitions/input",
  750. "title": "Stick",
  751. "default": "Axis2"
  752. },
  753. "stick_button": {
  754. "$id": "#/definitions/controller_config/properties/right_joycon/properties/stick_button",
  755. "$ref": "#/definitions/input",
  756. "title": "Stick Button",
  757. "default": "Button14"
  758. },
  759. "button_a": {
  760. "$id": "#/definitions/controller_config/properties/right_joycon/properties/button_a",
  761. "$ref": "#/definitions/input",
  762. "title": "Button A",
  763. "default": "Button0"
  764. },
  765. "button_b": {
  766. "$id": "#/definitions/controller_config/properties/right_joycon/properties/button_b",
  767. "$ref": "#/definitions/input",
  768. "title": "Button B",
  769. "default": "Button1"
  770. },
  771. "button_x": {
  772. "$id": "#/definitions/controller_config/properties/right_joycon/properties/button_x",
  773. "$ref": "#/definitions/input",
  774. "title": "Button X",
  775. "default": "Button3"
  776. },
  777. "button_y": {
  778. "$id": "#/definitions/controller_config/properties/right_joycon/properties/button_y",
  779. "$ref": "#/definitions/input",
  780. "title": "Button Y",
  781. "default": "Button4"
  782. },
  783. "button_plus": {
  784. "$id": "#/definitions/controller_config/properties/right_joycon/properties/button_plus",
  785. "$ref": "#/definitions/input",
  786. "title": "Button Plus",
  787. "default": "Button11"
  788. },
  789. "button_r": {
  790. "$id": "#/definitions/controller_config/properties/right_joycon/properties/button_r",
  791. "$ref": "#/definitions/input",
  792. "title": "Button R",
  793. "default": "Button7"
  794. },
  795. "button_zr": {
  796. "$id": "#/definitions/controller_config/properties/right_joycon/properties/button_zr",
  797. "$ref": "#/definitions/input",
  798. "title": "Button ZR",
  799. "default": "Button9"
  800. }
  801. }
  802. },
  803. "enable_motion": {
  804. "$id": "#/definitions/controller_config/properties/enable_motion",
  805. "type": "boolean",
  806. "title": "Enable Motion Controls",
  807. "description": "Enables Motion Controls",
  808. "default": false,
  809. "examples": [
  810. true,
  811. false
  812. ]
  813. },
  814. "sensitivity": {
  815. "$id": "#/definitions/controller_config/properties/sensitivity",
  816. "type": "integer",
  817. "title": "Sensitivity",
  818. "description": "Gyro sensitivity",
  819. "default": 100,
  820. "minimum": 0,
  821. "maximum": 1000,
  822. "examples": [
  823. 90,
  824. 100,
  825. 150
  826. ]
  827. },
  828. "gyro_deadzone": {
  829. "$id": "#/definitions/controller_config/properties/gyro_deadzone",
  830. "type": "number",
  831. "title": "Gyro Deadzone",
  832. "description": "Controller Left Analog Stick Deadzone",
  833. "default": 1,
  834. "minimum": 0.00,
  835. "maximum": 100.00,
  836. "examples": [
  837. 0.01
  838. ]
  839. },
  840. "slot": {
  841. "$id": "#/definitions/controller_config/properties/slot",
  842. "type": "integer",
  843. "title": "Slot",
  844. "description": "DSU motion client slot for main controller",
  845. "default": 0,
  846. "minimum": 0,
  847. "maximum": 4,
  848. "examples": [
  849. 0,
  850. 1,
  851. 2,
  852. 3
  853. ]
  854. },
  855. "alt_slot": {
  856. "$id": "#/definitions/controller_config/properties/alt_slot",
  857. "type": "integer",
  858. "title": "Alternate Slot",
  859. "description": "DSU motion client slot for secondary controller, eg Right Joycon in Paired mode",
  860. "default": 0,
  861. "minimum": 0,
  862. "maximum": 4,
  863. "examples": [
  864. 0,
  865. 1,
  866. 2,
  867. 3
  868. ]
  869. },
  870. "mirror_input": {
  871. "$id": "#/definitions/controller_config/properties/mirror_input",
  872. "type": "boolean",
  873. "title": "Mirror Motion Input",
  874. "description": "Mirrors main motion input in Paired mode",
  875. "default": true,
  876. "examples": [
  877. true,
  878. false
  879. ]
  880. },
  881. "dsu_server_port": {
  882. "$id": "#/definitions/controller_config/properties/dsu_server_port",
  883. "type": "integer",
  884. "title": "DSU Server Port",
  885. "description": "DSU motion server port",
  886. "default": 26760,
  887. "minimum": 0,
  888. "maximum": 36654,
  889. "examples": [
  890. 0,
  891. 1,
  892. 2,
  893. 3
  894. ]
  895. },
  896. "dsu_server_host": {
  897. "$id": "#/definitions/controller_config/properties/dsu_server_host",
  898. "type": "string",
  899. "title": "DSU Server Host Address",
  900. "description": "DSU motion server host address",
  901. "default": "127.0.0.1",
  902. "examples": [
  903. "127.0.0.1",
  904. "example.host.com"
  905. ]
  906. }
  907. }
  908. }
  909. },
  910. "properties": {
  911. "res_scale": {
  912. "$id": "#/properties/res_scale",
  913. "type": "integer",
  914. "title": "Resolution Scale",
  915. "description": "An integer scale applied to applicable render targets. Values 1-4, or -1 to use a custom floating point scale instead.",
  916. "default": -1,
  917. "examples": [
  918. -1,
  919. 1,
  920. 2,
  921. 3,
  922. 4
  923. ]
  924. },
  925. "res_scale_custom": {
  926. "$id": "#/properties/res_scale_custom",
  927. "type": "number",
  928. "title": "Custom Resolution Scale",
  929. "description": "A custom floating point scale applied to applicable render targets. Only active when Resolution Scale is -1.",
  930. "default": 1.0
  931. },
  932. "max_anisotropy": {
  933. "$id": "#/properties/max_anisotropy",
  934. "type": "integer",
  935. "title": "Max Anisotropy. Values range from 0 - 16. Set to -1 to let the game decide.",
  936. "description": "Max Anisotropy. Values range from 0 - 16. Set to -1 to let the game decide.",
  937. "default": -1,
  938. "examples": [
  939. -1,
  940. 4,
  941. 8,
  942. 16
  943. ]
  944. },
  945. "aspect_ratio": {
  946. "$id": "#/properties/aspect_ratio",
  947. "type": "string",
  948. "title": "Aspect Ratio applied to the renderer window.",
  949. "description": "Aspect Ratio applied to the renderer window.",
  950. "default": "Fixed16x9",
  951. "examples": [
  952. "Fixed4x3",
  953. "Fixed16x9",
  954. "Fixed16x10",
  955. "Fixed21x9",
  956. "Fixed32x9",
  957. "Stretched"
  958. ]
  959. },
  960. "graphics_shaders_dump_path": {
  961. "$id": "#/properties/graphics_shaders_dump_path",
  962. "type": "string",
  963. "title": "Graphics Shaders Dump Path",
  964. "description": "Dumps shaders in this local directory",
  965. "default": "",
  966. "examples": [
  967. "C:\\ShaderDumps"
  968. ]
  969. },
  970. "logging_enable_debug": {
  971. "$id": "#/properties/logging_enable_debug",
  972. "type": "boolean",
  973. "title": "Logging Enable Debug",
  974. "description": "Enables printing debug log messages",
  975. "default": false,
  976. "examples": [
  977. true,
  978. false
  979. ]
  980. },
  981. "logging_enable_stub": {
  982. "$id": "#/properties/logging_enable_stub",
  983. "type": "boolean",
  984. "title": "Logging Enable Stub",
  985. "description": "Enables printing stub log messages",
  986. "default": true,
  987. "examples": [
  988. true,
  989. false
  990. ]
  991. },
  992. "logging_enable_info": {
  993. "$id": "#/properties/logging_enable_info",
  994. "type": "boolean",
  995. "title": "Logging Enable Info",
  996. "description": "Enables printing info log messages",
  997. "default": true,
  998. "examples": [
  999. true,
  1000. false
  1001. ]
  1002. },
  1003. "logging_enable_warn": {
  1004. "$id": "#/properties/logging_enable_warn",
  1005. "type": "boolean",
  1006. "title": "Logging Enable Warn",
  1007. "description": "Enables printing warning log messages",
  1008. "default": true,
  1009. "examples": [
  1010. true,
  1011. false
  1012. ]
  1013. },
  1014. "logging_enable_error": {
  1015. "$id": "#/properties/logging_enable_error",
  1016. "type": "boolean",
  1017. "title": "Logging Enable Error",
  1018. "description": "Enables printing error log messages",
  1019. "default": true,
  1020. "examples": [
  1021. true,
  1022. false
  1023. ]
  1024. },
  1025. "logging_enable_guest": {
  1026. "$id": "#/properties/logging_enable_guest",
  1027. "type": "boolean",
  1028. "title": "Logging Enable Guest",
  1029. "description": "Enables printing guest log messages",
  1030. "default": true,
  1031. "examples": [
  1032. true,
  1033. false
  1034. ]
  1035. },
  1036. "logging_enable_fs_access": {
  1037. "$id": "#/properties/logging_enable_fs_access_log",
  1038. "type": "boolean",
  1039. "title": "Logging Enable FS Access Log",
  1040. "description": "Enables printing FS access log messages",
  1041. "default": true,
  1042. "examples": [
  1043. true,
  1044. false
  1045. ]
  1046. },
  1047. "logging_filtered_classes": {
  1048. "$id": "#/properties/logging_filtered_classes",
  1049. "type": "array",
  1050. "title": "Logging Filtered Classes",
  1051. "description": "Controls which log messages are written to the log targets",
  1052. "items": {
  1053. "type": "string",
  1054. "enum": [
  1055. "Application",
  1056. "Audio",
  1057. "Cpu",
  1058. "Font",
  1059. "Emulation",
  1060. "Gpu",
  1061. "Hid",
  1062. "Kernel",
  1063. "KernelIpc",
  1064. "KernelScheduler",
  1065. "KernelSvc",
  1066. "Loader",
  1067. "Service",
  1068. "ServiceAcc",
  1069. "ServiceAm",
  1070. "ServiceApm",
  1071. "ServiceAudio",
  1072. "ServiceBsd",
  1073. "ServiceCaps",
  1074. "ServiceFriend",
  1075. "ServiceFs",
  1076. "ServiceHid",
  1077. "ServiceIrs",
  1078. "ServiceLdr",
  1079. "ServiceLm",
  1080. "ServiceMm",
  1081. "ServiceNfp",
  1082. "ServiceNifm",
  1083. "ServiceNs",
  1084. "ServiceNv",
  1085. "ServicePctl",
  1086. "ServicePl",
  1087. "ServicePrepo",
  1088. "ServicePsm",
  1089. "ServiceSet",
  1090. "ServiceSfdnsres",
  1091. "ServiceSm",
  1092. "ServiceSsl",
  1093. "ServiceSss",
  1094. "ServiceTime",
  1095. "ServiceVi"
  1096. ]
  1097. }
  1098. },
  1099. "enable_file_log": {
  1100. "$id": "#/properties/enable_file_log",
  1101. "type": "boolean",
  1102. "title": "Enable File Log",
  1103. "description": "Enables logging to a file on disk",
  1104. "default": true,
  1105. "examples": [
  1106. true,
  1107. false
  1108. ]
  1109. },
  1110. "system_language": {
  1111. "$id": "#/properties/system_language",
  1112. "type": "string",
  1113. "title": "System Language",
  1114. "description": "Change System Language",
  1115. "default": "AmericanEnglish",
  1116. "enum": [
  1117. "Japanese",
  1118. "AmericanEnglish",
  1119. "French",
  1120. "German",
  1121. "Italian",
  1122. "Spanish",
  1123. "Chinese",
  1124. "Korean",
  1125. "Dutch",
  1126. "Portuguese",
  1127. "Russian",
  1128. "Taiwanese",
  1129. "BritishEnglish",
  1130. "CanadianFrench",
  1131. "LatinAmericanSpanish",
  1132. "SimplifiedChinese",
  1133. "TraditionalChinese"
  1134. ],
  1135. "examples": [
  1136. "AmericanEnglish"
  1137. ]
  1138. },
  1139. "system_region": {
  1140. "$id": "#/properties/system_region",
  1141. "type": "string",
  1142. "title": "System Region",
  1143. "description": "Change System Region",
  1144. "default": "USA",
  1145. "enum": [
  1146. "Japan",
  1147. "USA",
  1148. "Europe",
  1149. "Australia",
  1150. "China",
  1151. "Korea",
  1152. "Taiwan"
  1153. ],
  1154. "examples": [
  1155. "USA"
  1156. ]
  1157. },
  1158. "system_time_offset": {
  1159. "$id": "#/properties/system_time_offset",
  1160. "type": "integer",
  1161. "title": "System Time Offset",
  1162. "description": "System time offset in seconds.",
  1163. "default": 0,
  1164. "examples": [
  1165. -3600,
  1166. 0,
  1167. 3600
  1168. ]
  1169. },
  1170. "docked_mode": {
  1171. "$id": "#/properties/docked_mode",
  1172. "type": "boolean",
  1173. "title": "Enable Docked Mode",
  1174. "description": "Enables or disables Docked Mode",
  1175. "default": true,
  1176. "examples": [
  1177. true,
  1178. false
  1179. ]
  1180. },
  1181. "enable_discord_integration": {
  1182. "$id": "#/properties/enable_discord_integration",
  1183. "type": "boolean",
  1184. "title": "Enable Discord Rich Presence",
  1185. "description": "Enable or disable Discord Rich Presence",
  1186. "default": true,
  1187. "examples": [
  1188. true,
  1189. false
  1190. ]
  1191. },
  1192. "check_updates_on_start": {
  1193. "$id": "#/properties/check_updates_on_start",
  1194. "type": "boolean",
  1195. "title": "Checks for updates when ryujinx starts when enabled",
  1196. "description": "Checks for updates when ryujinx starts when enabled",
  1197. "default": true,
  1198. "examples": [
  1199. true,
  1200. false
  1201. ]
  1202. },
  1203. "show_confirm_exit": {
  1204. "$id": "#/properties/show_confirm_exit",
  1205. "type": "boolean",
  1206. "title": "Show \"Confirm Exit\" Dialog",
  1207. "description": "Check to shows the \"Confirm Exit\" dialog when closing Ryujinx.",
  1208. "default": true,
  1209. "examples": [
  1210. true,
  1211. false
  1212. ]
  1213. },
  1214. "hide_cursor_on_idle": {
  1215. "$id": "#/properties/hide_cursor_on_idle",
  1216. "type": "boolean",
  1217. "title": "Hide Cursor On Idle",
  1218. "description": "Hides the cursor after being idle for 5 seconds",
  1219. "default": false,
  1220. "examples": [
  1221. true,
  1222. false
  1223. ]
  1224. },
  1225. "enable_vsync": {
  1226. "$id": "#/properties/enable_vsync",
  1227. "type": "boolean",
  1228. "title": "Enable Vertical Sync",
  1229. "description": "Enables or disables Vertical Sync",
  1230. "default": true,
  1231. "examples": [
  1232. true,
  1233. false
  1234. ]
  1235. },
  1236. "enable_ptc": {
  1237. "$id": "#/properties/enable_ptc",
  1238. "type": "boolean",
  1239. "title": "Enable PPTC (Profiled Persistent Translation Cache)",
  1240. "description": "Enables or disables profiled translation cache persistency",
  1241. "default": true,
  1242. "examples": [
  1243. true,
  1244. false
  1245. ]
  1246. },
  1247. "enable_fs_integrity_checks": {
  1248. "$id": "#/properties/enable_fs_integrity_checks",
  1249. "type": "boolean",
  1250. "title": "Enable Filesystem Integrity Checks",
  1251. "description": "Enables integrity checks on Game content files. Only applies to ROMs loaded as XCI files",
  1252. "default": true,
  1253. "examples": [
  1254. true,
  1255. false
  1256. ]
  1257. },
  1258. "fs_global_access_log_mode": {
  1259. "$id": "#/properties/fs_global_access_log_mode",
  1260. "type": "integer",
  1261. "title": "Enable FS access log",
  1262. "description": "Enables FS access log output. Possible modes are 0-3. Modes 2 and 3 output to the console",
  1263. "default": 0,
  1264. "minimum": 0,
  1265. "examples": [
  1266. 0,
  1267. 1,
  1268. 2,
  1269. 3
  1270. ]
  1271. },
  1272. "audio_backend": {
  1273. "$id": "#/properties/audio_backend",
  1274. "type": "string",
  1275. "title": "The selected audio backend",
  1276. "description": "The selected audio backend",
  1277. "default": "OpenAl",
  1278. "enum": [
  1279. "Dummy",
  1280. "SoundIo",
  1281. "OpenAl"
  1282. ]
  1283. },
  1284. "memory_manager_mode": {
  1285. "$id": "#/properties/memory_manager_mode",
  1286. "type": "string",
  1287. "title": "The selected memory manager mode",
  1288. "description": "The selected memory manager mode",
  1289. "default": "HostMappedUnsafe",
  1290. "enum": [
  1291. "SoftwarePageTable",
  1292. "HostMapped",
  1293. "HostMappedUnsafe"
  1294. ]
  1295. },
  1296. "ignore_missing_services": {
  1297. "$id": "#/properties/ignore_missing_services",
  1298. "type": "boolean",
  1299. "title": "Ignore Missing Services",
  1300. "description": "Enable or disable ignoring missing services, this may cause instability",
  1301. "default": false,
  1302. "examples": [
  1303. true,
  1304. false
  1305. ]
  1306. },
  1307. "gui_columns": {
  1308. "$id": "#/properties/gui_columns",
  1309. "type": "object",
  1310. "title": "Used to toggle columns in the GUI",
  1311. "description": "Used to toggle columns in the GUI",
  1312. "properties": {
  1313. "fav_column": {
  1314. "$id": "#/properties/gui_columns/properties/fav_column",
  1315. "type": "boolean",
  1316. "title": "",
  1317. "default": true
  1318. },
  1319. "icon_column": {
  1320. "$id": "#/properties/gui_columns/properties/icon_column",
  1321. "type": "boolean",
  1322. "title": "",
  1323. "default": true
  1324. },
  1325. "app_column": {
  1326. "$id": "#/properties/gui_columns/properties/app_column",
  1327. "type": "boolean",
  1328. "title": "",
  1329. "default": true
  1330. },
  1331. "dev_column": {
  1332. "$id": "#/properties/gui_columns/properties/dev_column",
  1333. "type": "boolean",
  1334. "title": "",
  1335. "default": true
  1336. },
  1337. "version_column": {
  1338. "$id": "#/properties/gui_columns/properties/version_column",
  1339. "type": "boolean",
  1340. "title": "",
  1341. "default": true
  1342. },
  1343. "time_played_column": {
  1344. "$id": "#/properties/gui_columns/properties/time_played_column",
  1345. "type": "boolean",
  1346. "title": "",
  1347. "default": true
  1348. },
  1349. "last_played_column": {
  1350. "$id": "#/properties/gui_columns/properties/last_played_column",
  1351. "type": "boolean",
  1352. "title": "",
  1353. "default": true
  1354. },
  1355. "file_ext_column": {
  1356. "$id": "#/properties/gui_columns/properties/file_ext_column",
  1357. "type": "boolean",
  1358. "title": "",
  1359. "default": true
  1360. },
  1361. "file_size_column": {
  1362. "$id": "#/properties/gui_columns/properties/file_size_column",
  1363. "type": "boolean",
  1364. "title": "",
  1365. "default": true
  1366. },
  1367. "path_column": {
  1368. "$id": "#/properties/gui_columns/properties/path_column",
  1369. "type": "boolean",
  1370. "title": "",
  1371. "default": true
  1372. }
  1373. }
  1374. },
  1375. "column_sort": {
  1376. "$id": "#/properties/column_sort",
  1377. "type": "object",
  1378. "title": "Used to configure column sort settings in the GUI",
  1379. "description": "Used to configure column sort settings in the GUI",
  1380. "properties": {
  1381. "sort_column_id": {
  1382. "$id": "#/properties/column_sort/properties/sort_column_id",
  1383. "type": "integer",
  1384. "title": "",
  1385. "default": 0
  1386. },
  1387. "sort_ascending": {
  1388. "$id": "#/properties/column_sort/properties/sort_ascending",
  1389. "type": "boolean",
  1390. "title": "",
  1391. "default": false
  1392. }
  1393. }
  1394. },
  1395. "game_dirs": {
  1396. "$id": "#/properties/game_dirs",
  1397. "type": "array",
  1398. "title": "List of Game Directories",
  1399. "description": "A list of directories containing games to be used to load games into the games list",
  1400. "default": []
  1401. },
  1402. "enable_custom_theme": {
  1403. "$id": "#/properties/enable_custom_theme",
  1404. "type": "boolean",
  1405. "title": "Enable custom themes in the GUI",
  1406. "description": "Enable or disable custom themes in the GUI",
  1407. "default": false,
  1408. "examples": [
  1409. true,
  1410. false
  1411. ]
  1412. },
  1413. "custom_theme_path": {
  1414. "$id": "#/properties/custom_theme_path",
  1415. "type": "string",
  1416. "title": "Path to custom GUI theme",
  1417. "description": "Path to custom GUI theme",
  1418. "default": ""
  1419. },
  1420. "start_fullscreen": {
  1421. "$id": "#/properties/start_fullscreen",
  1422. "type": "boolean",
  1423. "title": "Start games in fullscreen mode",
  1424. "description": "Start games in fullscreen mode",
  1425. "default": false,
  1426. "examples": [
  1427. true,
  1428. false
  1429. ]
  1430. },
  1431. "enable_keyboard": {
  1432. "$id": "#/properties/enable_keyboard",
  1433. "type": "boolean",
  1434. "title": "(HID) Keyboard Enable",
  1435. "description": "Enable or disable direct keyboard access (HID) support (Provides games access to your keyboard as a text entry device)",
  1436. "default": true,
  1437. "examples": [
  1438. true,
  1439. false
  1440. ]
  1441. },
  1442. "enable_mouse": {
  1443. "$id": "#/properties/enable_mouse",
  1444. "type": "boolean",
  1445. "title": "(HID) Mouse Enable",
  1446. "description": "Enable or disable direct mouse access (HID) support (Provides games access to your mouse as a pointing device)",
  1447. "default": false,
  1448. "examples": [
  1449. true,
  1450. false
  1451. ]
  1452. },
  1453. "hotkeys": {
  1454. "$id": "#/properties/hotkeys",
  1455. "type": "object",
  1456. "title": "Hotkey Controls",
  1457. "required": [
  1458. "toggle_vsync",
  1459. "screenshot"
  1460. ],
  1461. "properties": {
  1462. "toggle_vsync": {
  1463. "$id": "#/properties/hotkeys/properties/toggle_vsync",
  1464. "$ref": "#/definitions/key",
  1465. "title": "Toggle VSync",
  1466. "default": "Tab"
  1467. },
  1468. "screenshot": {
  1469. "$id": "#/properties/hotkeys/properties/screenshot",
  1470. "$ref": "#/definitions/key",
  1471. "title": "Screenshot",
  1472. "default": "F8"
  1473. }
  1474. }
  1475. },
  1476. "keyboard_config": {
  1477. "$id": "#/properties/keyboard_config",
  1478. "type": "array",
  1479. "title": "Keyboard Config",
  1480. "items": {
  1481. "$ref": "#/definitions/keyboard_config"
  1482. },
  1483. "default": [
  1484. {
  1485. "index": 0,
  1486. "controller_type": "JoyconPair",
  1487. "player_index": "Player1",
  1488. "left_joycon": {
  1489. "stick_up": "W",
  1490. "stick_down": "S",
  1491. "stick_left": "A",
  1492. "stick_right": "D",
  1493. "stick_button": "F",
  1494. "dpad_up": "Up",
  1495. "dpad_down": "Down",
  1496. "dpad_left": "Left",
  1497. "dpad_right": "Right",
  1498. "button_minus": "Minus",
  1499. "button_l": "E",
  1500. "button_zl": "Q",
  1501. "button_sl": "Unbound",
  1502. "button_sr": "Unbound"
  1503. },
  1504. "right_joycon": {
  1505. "stick_up": "I",
  1506. "stick_down": "K",
  1507. "stick_left": "J",
  1508. "stick_right": "L",
  1509. "stick_button": "H",
  1510. "button_a": "Z",
  1511. "button_b": "X",
  1512. "button_x": "C",
  1513. "button_y": "V",
  1514. "button_plus": "Plus",
  1515. "button_r": "U",
  1516. "button_zr": "O",
  1517. "button_sl": "Unbound",
  1518. "button_sr": "Unbound"
  1519. },
  1520. "slot": 0,
  1521. "alt_slot": 0,
  1522. "mirror_input": false,
  1523. "dsu_server_host": "127.0.0.1",
  1524. "dsu_server_port": 26760,
  1525. "sensitivity": 100,
  1526. "gyro_deadzone": 1,
  1527. "enable_motion": false
  1528. }
  1529. ]
  1530. },
  1531. "controller_config": {
  1532. "$id": "#/properties/controller_config",
  1533. "type": "array",
  1534. "title": "Controller Config",
  1535. "items": {
  1536. "$ref": "#/definitions/controller_config"
  1537. },
  1538. "default": []
  1539. }
  1540. }
  1541. }