_schema.json 44 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394959697989910010110210310410510610710810911011111211311411511611711811912012112212312412512612712812913013113213313413513613713813914014114214314414514614714814915015115215315415515615715815916016116216316416516616716816917017117217317417517617717817918018118218318418518618718818919019119219319419519619719819920020120220320420520620720820921021121221321421521621721821922022122222322422522622722822923023123223323423523623723823924024124224324424524624724824925025125225325425525625725825926026126226326426526626726826927027127227327427527627727827928028128228328428528628728828929029129229329429529629729829930030130230330430530630730830931031131231331431531631731831932032132232332432532632732832933033133233333433533633733833934034134234334434534634734834935035135235335435535635735835936036136236336436536636736836937037137237337437537637737837938038138238338438538638738838939039139239339439539639739839940040140240340440540640740840941041141241341441541641741841942042142242342442542642742842943043143243343443543643743843944044144244344444544644744844945045145245345445545645745845946046146246346446546646746846947047147247347447547647747847948048148248348448548648748848949049149249349449549649749849950050150250350450550650750850951051151251351451551651751851952052152252352452552652752852953053153253353453553653753853954054154254354454554654754854955055155255355455555655755855956056156256356456556656756856957057157257357457557657757857958058158258358458558658758858959059159259359459559659759859960060160260360460560660760860961061161261361461561661761861962062162262362462562662762862963063163263363463563663763863964064164264364464564664764864965065165265365465565665765865966066166266366466566666766866967067167267367467567667767867968068168268368468568668768868969069169269369469569669769869970070170270370470570670770870971071171271371471571671771871972072172272372472572672772872973073173273373473573673773873974074174274374474574674774874975075175275375475575675775875976076176276376476576676776876977077177277377477577677777877978078178278378478578678778878979079179279379479579679779879980080180280380480580680780880981081181281381481581681781881982082182282382482582682782882983083183283383483583683783883984084184284384484584684784884985085185285385485585685785885986086186286386486586686786886987087187287387487587687787887988088188288388488588688788888989089189289389489589689789889990090190290390490590690790890991091191291391491591691791891992092192292392492592692792892993093193293393493593693793893994094194294394494594694794894995095195295395495595695795895996096196296396496596696796896997097197297397497597697797897998098198298398498598698798898999099199299399499599699799899910001001100210031004100510061007100810091010101110121013101410151016101710181019102010211022102310241025102610271028102910301031103210331034103510361037103810391040104110421043104410451046104710481049105010511052105310541055105610571058105910601061106210631064106510661067106810691070107110721073107410751076107710781079108010811082108310841085108610871088108910901091109210931094109510961097109810991100110111021103110411051106110711081109111011111112111311141115111611171118111911201121112211231124112511261127112811291130113111321133113411351136113711381139114011411142114311441145114611471148114911501151115211531154115511561157115811591160116111621163116411651166116711681169117011711172117311741175117611771178117911801181118211831184118511861187118811891190119111921193119411951196119711981199120012011202120312041205120612071208120912101211121212131214121512161217121812191220122112221223122412251226122712281229123012311232123312341235123612371238123912401241124212431244124512461247124812491250125112521253125412551256125712581259126012611262126312641265126612671268126912701271127212731274127512761277127812791280128112821283128412851286128712881289129012911292129312941295129612971298129913001301130213031304130513061307130813091310131113121313131413151316131713181319132013211322132313241325132613271328132913301331133213331334133513361337133813391340134113421343134413451346134713481349135013511352135313541355135613571358135913601361136213631364136513661367136813691370137113721373137413751376137713781379138013811382138313841385138613871388138913901391139213931394139513961397139813991400140114021403140414051406140714081409141014111412141314141415141614171418141914201421142214231424142514261427142814291430143114321433143414351436143714381439144014411442144314441445144614471448144914501451145214531454145514561457145814591460146114621463146414651466146714681469147014711472147314741475147614771478147914801481148214831484148514861487148814891490149114921493149414951496149714981499150015011502150315041505150615071508150915101511151215131514151515161517151815191520152115221523152415251526152715281529153015311532153315341535153615371538153915401541154215431544154515461547154815491550155115521553
  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. "backend_threading": {
  912. "$id": "#/properties/backend_threading",
  913. "type": "string",
  914. "title": "Backend Threading",
  915. "description": "Whether backend threading is enabled or not. 'Auto' selects the most appropriate option for the current OS, vendor and backend.",
  916. "default": "Auto",
  917. "examples": [
  918. "Auto",
  919. "Off",
  920. "On"
  921. ]
  922. },
  923. "res_scale": {
  924. "$id": "#/properties/res_scale",
  925. "type": "integer",
  926. "title": "Resolution Scale",
  927. "description": "An integer scale applied to applicable render targets. Values 1-4, or -1 to use a custom floating point scale instead.",
  928. "default": -1,
  929. "examples": [
  930. -1,
  931. 1,
  932. 2,
  933. 3,
  934. 4
  935. ]
  936. },
  937. "res_scale_custom": {
  938. "$id": "#/properties/res_scale_custom",
  939. "type": "number",
  940. "title": "Custom Resolution Scale",
  941. "description": "A custom floating point scale applied to applicable render targets. Only active when Resolution Scale is -1.",
  942. "default": 1.0
  943. },
  944. "max_anisotropy": {
  945. "$id": "#/properties/max_anisotropy",
  946. "type": "integer",
  947. "title": "Max Anisotropy. Values range from 0 - 16. Set to -1 to let the game decide.",
  948. "description": "Max Anisotropy. Values range from 0 - 16. Set to -1 to let the game decide.",
  949. "default": -1,
  950. "examples": [
  951. -1,
  952. 4,
  953. 8,
  954. 16
  955. ]
  956. },
  957. "aspect_ratio": {
  958. "$id": "#/properties/aspect_ratio",
  959. "type": "string",
  960. "title": "Aspect Ratio applied to the renderer window.",
  961. "description": "Aspect Ratio applied to the renderer window.",
  962. "default": "Fixed16x9",
  963. "examples": [
  964. "Fixed4x3",
  965. "Fixed16x9",
  966. "Fixed16x10",
  967. "Fixed21x9",
  968. "Fixed32x9",
  969. "Stretched"
  970. ]
  971. },
  972. "graphics_shaders_dump_path": {
  973. "$id": "#/properties/graphics_shaders_dump_path",
  974. "type": "string",
  975. "title": "Graphics Shaders Dump Path",
  976. "description": "Dumps shaders in this local directory",
  977. "default": "",
  978. "examples": [
  979. "C:\\ShaderDumps"
  980. ]
  981. },
  982. "logging_enable_debug": {
  983. "$id": "#/properties/logging_enable_debug",
  984. "type": "boolean",
  985. "title": "Logging Enable Debug",
  986. "description": "Enables printing debug log messages",
  987. "default": false,
  988. "examples": [
  989. true,
  990. false
  991. ]
  992. },
  993. "logging_enable_stub": {
  994. "$id": "#/properties/logging_enable_stub",
  995. "type": "boolean",
  996. "title": "Logging Enable Stub",
  997. "description": "Enables printing stub log messages",
  998. "default": true,
  999. "examples": [
  1000. true,
  1001. false
  1002. ]
  1003. },
  1004. "logging_enable_info": {
  1005. "$id": "#/properties/logging_enable_info",
  1006. "type": "boolean",
  1007. "title": "Logging Enable Info",
  1008. "description": "Enables printing info log messages",
  1009. "default": true,
  1010. "examples": [
  1011. true,
  1012. false
  1013. ]
  1014. },
  1015. "logging_enable_warn": {
  1016. "$id": "#/properties/logging_enable_warn",
  1017. "type": "boolean",
  1018. "title": "Logging Enable Warn",
  1019. "description": "Enables printing warning log messages",
  1020. "default": true,
  1021. "examples": [
  1022. true,
  1023. false
  1024. ]
  1025. },
  1026. "logging_enable_error": {
  1027. "$id": "#/properties/logging_enable_error",
  1028. "type": "boolean",
  1029. "title": "Logging Enable Error",
  1030. "description": "Enables printing error log messages",
  1031. "default": true,
  1032. "examples": [
  1033. true,
  1034. false
  1035. ]
  1036. },
  1037. "logging_enable_guest": {
  1038. "$id": "#/properties/logging_enable_guest",
  1039. "type": "boolean",
  1040. "title": "Logging Enable Guest",
  1041. "description": "Enables printing guest log messages",
  1042. "default": true,
  1043. "examples": [
  1044. true,
  1045. false
  1046. ]
  1047. },
  1048. "logging_enable_fs_access": {
  1049. "$id": "#/properties/logging_enable_fs_access_log",
  1050. "type": "boolean",
  1051. "title": "Logging Enable FS Access Log",
  1052. "description": "Enables printing FS access log messages",
  1053. "default": true,
  1054. "examples": [
  1055. true,
  1056. false
  1057. ]
  1058. },
  1059. "logging_filtered_classes": {
  1060. "$id": "#/properties/logging_filtered_classes",
  1061. "type": "array",
  1062. "title": "Logging Filtered Classes",
  1063. "description": "Controls which log messages are written to the log targets",
  1064. "items": {
  1065. "type": "string",
  1066. "enum": [
  1067. "Application",
  1068. "Audio",
  1069. "Cpu",
  1070. "Font",
  1071. "Emulation",
  1072. "Gpu",
  1073. "Hid",
  1074. "Kernel",
  1075. "KernelIpc",
  1076. "KernelScheduler",
  1077. "KernelSvc",
  1078. "Loader",
  1079. "Service",
  1080. "ServiceAcc",
  1081. "ServiceAm",
  1082. "ServiceApm",
  1083. "ServiceAudio",
  1084. "ServiceBsd",
  1085. "ServiceCaps",
  1086. "ServiceFriend",
  1087. "ServiceFs",
  1088. "ServiceHid",
  1089. "ServiceIrs",
  1090. "ServiceLdr",
  1091. "ServiceLm",
  1092. "ServiceMm",
  1093. "ServiceNfp",
  1094. "ServiceNifm",
  1095. "ServiceNs",
  1096. "ServiceNv",
  1097. "ServicePctl",
  1098. "ServicePl",
  1099. "ServicePrepo",
  1100. "ServicePsm",
  1101. "ServiceSet",
  1102. "ServiceSfdnsres",
  1103. "ServiceSm",
  1104. "ServiceSsl",
  1105. "ServiceSss",
  1106. "ServiceTime",
  1107. "ServiceVi"
  1108. ]
  1109. }
  1110. },
  1111. "enable_file_log": {
  1112. "$id": "#/properties/enable_file_log",
  1113. "type": "boolean",
  1114. "title": "Enable File Log",
  1115. "description": "Enables logging to a file on disk",
  1116. "default": true,
  1117. "examples": [
  1118. true,
  1119. false
  1120. ]
  1121. },
  1122. "system_language": {
  1123. "$id": "#/properties/system_language",
  1124. "type": "string",
  1125. "title": "System Language",
  1126. "description": "Change System Language",
  1127. "default": "AmericanEnglish",
  1128. "enum": [
  1129. "Japanese",
  1130. "AmericanEnglish",
  1131. "French",
  1132. "German",
  1133. "Italian",
  1134. "Spanish",
  1135. "Chinese",
  1136. "Korean",
  1137. "Dutch",
  1138. "Portuguese",
  1139. "Russian",
  1140. "Taiwanese",
  1141. "BritishEnglish",
  1142. "CanadianFrench",
  1143. "LatinAmericanSpanish",
  1144. "SimplifiedChinese",
  1145. "TraditionalChinese"
  1146. ],
  1147. "examples": [
  1148. "AmericanEnglish"
  1149. ]
  1150. },
  1151. "system_region": {
  1152. "$id": "#/properties/system_region",
  1153. "type": "string",
  1154. "title": "System Region",
  1155. "description": "Change System Region",
  1156. "default": "USA",
  1157. "enum": [
  1158. "Japan",
  1159. "USA",
  1160. "Europe",
  1161. "Australia",
  1162. "China",
  1163. "Korea",
  1164. "Taiwan"
  1165. ],
  1166. "examples": [
  1167. "USA"
  1168. ]
  1169. },
  1170. "system_time_offset": {
  1171. "$id": "#/properties/system_time_offset",
  1172. "type": "integer",
  1173. "title": "System Time Offset",
  1174. "description": "System time offset in seconds.",
  1175. "default": 0,
  1176. "examples": [
  1177. -3600,
  1178. 0,
  1179. 3600
  1180. ]
  1181. },
  1182. "docked_mode": {
  1183. "$id": "#/properties/docked_mode",
  1184. "type": "boolean",
  1185. "title": "Enable Docked Mode",
  1186. "description": "Enables or disables Docked Mode",
  1187. "default": true,
  1188. "examples": [
  1189. true,
  1190. false
  1191. ]
  1192. },
  1193. "enable_discord_integration": {
  1194. "$id": "#/properties/enable_discord_integration",
  1195. "type": "boolean",
  1196. "title": "Enable Discord Rich Presence",
  1197. "description": "Enable or disable Discord Rich Presence",
  1198. "default": true,
  1199. "examples": [
  1200. true,
  1201. false
  1202. ]
  1203. },
  1204. "check_updates_on_start": {
  1205. "$id": "#/properties/check_updates_on_start",
  1206. "type": "boolean",
  1207. "title": "Checks for updates when ryujinx starts when enabled",
  1208. "description": "Checks for updates when ryujinx starts when enabled",
  1209. "default": true,
  1210. "examples": [
  1211. true,
  1212. false
  1213. ]
  1214. },
  1215. "show_confirm_exit": {
  1216. "$id": "#/properties/show_confirm_exit",
  1217. "type": "boolean",
  1218. "title": "Show \"Confirm Exit\" Dialog",
  1219. "description": "Check to shows the \"Confirm Exit\" dialog when closing Ryujinx.",
  1220. "default": true,
  1221. "examples": [
  1222. true,
  1223. false
  1224. ]
  1225. },
  1226. "hide_cursor_on_idle": {
  1227. "$id": "#/properties/hide_cursor_on_idle",
  1228. "type": "boolean",
  1229. "title": "Hide Cursor On Idle",
  1230. "description": "Hides the cursor after being idle for 5 seconds",
  1231. "default": false,
  1232. "examples": [
  1233. true,
  1234. false
  1235. ]
  1236. },
  1237. "enable_vsync": {
  1238. "$id": "#/properties/enable_vsync",
  1239. "type": "boolean",
  1240. "title": "Enable Vertical Sync",
  1241. "description": "Enables or disables Vertical Sync",
  1242. "default": true,
  1243. "examples": [
  1244. true,
  1245. false
  1246. ]
  1247. },
  1248. "enable_ptc": {
  1249. "$id": "#/properties/enable_ptc",
  1250. "type": "boolean",
  1251. "title": "Enable PPTC (Profiled Persistent Translation Cache)",
  1252. "description": "Enables or disables profiled translation cache persistency",
  1253. "default": true,
  1254. "examples": [
  1255. true,
  1256. false
  1257. ]
  1258. },
  1259. "enable_fs_integrity_checks": {
  1260. "$id": "#/properties/enable_fs_integrity_checks",
  1261. "type": "boolean",
  1262. "title": "Enable Filesystem Integrity Checks",
  1263. "description": "Enables integrity checks on Game content files. Only applies to ROMs loaded as XCI files",
  1264. "default": true,
  1265. "examples": [
  1266. true,
  1267. false
  1268. ]
  1269. },
  1270. "fs_global_access_log_mode": {
  1271. "$id": "#/properties/fs_global_access_log_mode",
  1272. "type": "integer",
  1273. "title": "Enable FS access log",
  1274. "description": "Enables FS access log output. Possible modes are 0-3. Modes 2 and 3 output to the console",
  1275. "default": 0,
  1276. "minimum": 0,
  1277. "examples": [
  1278. 0,
  1279. 1,
  1280. 2,
  1281. 3
  1282. ]
  1283. },
  1284. "audio_backend": {
  1285. "$id": "#/properties/audio_backend",
  1286. "type": "string",
  1287. "title": "The selected audio backend",
  1288. "description": "The selected audio backend",
  1289. "default": "OpenAl",
  1290. "enum": [
  1291. "Dummy",
  1292. "SoundIo",
  1293. "OpenAl"
  1294. ]
  1295. },
  1296. "memory_manager_mode": {
  1297. "$id": "#/properties/memory_manager_mode",
  1298. "type": "string",
  1299. "title": "The selected memory manager mode",
  1300. "description": "The selected memory manager mode",
  1301. "default": "HostMappedUnsafe",
  1302. "enum": [
  1303. "SoftwarePageTable",
  1304. "HostMapped",
  1305. "HostMappedUnsafe"
  1306. ]
  1307. },
  1308. "ignore_missing_services": {
  1309. "$id": "#/properties/ignore_missing_services",
  1310. "type": "boolean",
  1311. "title": "Ignore Missing Services",
  1312. "description": "Enable or disable ignoring missing services, this may cause instability",
  1313. "default": false,
  1314. "examples": [
  1315. true,
  1316. false
  1317. ]
  1318. },
  1319. "gui_columns": {
  1320. "$id": "#/properties/gui_columns",
  1321. "type": "object",
  1322. "title": "Used to toggle columns in the GUI",
  1323. "description": "Used to toggle columns in the GUI",
  1324. "properties": {
  1325. "fav_column": {
  1326. "$id": "#/properties/gui_columns/properties/fav_column",
  1327. "type": "boolean",
  1328. "title": "",
  1329. "default": true
  1330. },
  1331. "icon_column": {
  1332. "$id": "#/properties/gui_columns/properties/icon_column",
  1333. "type": "boolean",
  1334. "title": "",
  1335. "default": true
  1336. },
  1337. "app_column": {
  1338. "$id": "#/properties/gui_columns/properties/app_column",
  1339. "type": "boolean",
  1340. "title": "",
  1341. "default": true
  1342. },
  1343. "dev_column": {
  1344. "$id": "#/properties/gui_columns/properties/dev_column",
  1345. "type": "boolean",
  1346. "title": "",
  1347. "default": true
  1348. },
  1349. "version_column": {
  1350. "$id": "#/properties/gui_columns/properties/version_column",
  1351. "type": "boolean",
  1352. "title": "",
  1353. "default": true
  1354. },
  1355. "time_played_column": {
  1356. "$id": "#/properties/gui_columns/properties/time_played_column",
  1357. "type": "boolean",
  1358. "title": "",
  1359. "default": true
  1360. },
  1361. "last_played_column": {
  1362. "$id": "#/properties/gui_columns/properties/last_played_column",
  1363. "type": "boolean",
  1364. "title": "",
  1365. "default": true
  1366. },
  1367. "file_ext_column": {
  1368. "$id": "#/properties/gui_columns/properties/file_ext_column",
  1369. "type": "boolean",
  1370. "title": "",
  1371. "default": true
  1372. },
  1373. "file_size_column": {
  1374. "$id": "#/properties/gui_columns/properties/file_size_column",
  1375. "type": "boolean",
  1376. "title": "",
  1377. "default": true
  1378. },
  1379. "path_column": {
  1380. "$id": "#/properties/gui_columns/properties/path_column",
  1381. "type": "boolean",
  1382. "title": "",
  1383. "default": true
  1384. }
  1385. }
  1386. },
  1387. "column_sort": {
  1388. "$id": "#/properties/column_sort",
  1389. "type": "object",
  1390. "title": "Used to configure column sort settings in the GUI",
  1391. "description": "Used to configure column sort settings in the GUI",
  1392. "properties": {
  1393. "sort_column_id": {
  1394. "$id": "#/properties/column_sort/properties/sort_column_id",
  1395. "type": "integer",
  1396. "title": "",
  1397. "default": 0
  1398. },
  1399. "sort_ascending": {
  1400. "$id": "#/properties/column_sort/properties/sort_ascending",
  1401. "type": "boolean",
  1402. "title": "",
  1403. "default": false
  1404. }
  1405. }
  1406. },
  1407. "game_dirs": {
  1408. "$id": "#/properties/game_dirs",
  1409. "type": "array",
  1410. "title": "List of Game Directories",
  1411. "description": "A list of directories containing games to be used to load games into the games list",
  1412. "default": []
  1413. },
  1414. "enable_custom_theme": {
  1415. "$id": "#/properties/enable_custom_theme",
  1416. "type": "boolean",
  1417. "title": "Enable custom themes in the GUI",
  1418. "description": "Enable or disable custom themes in the GUI",
  1419. "default": false,
  1420. "examples": [
  1421. true,
  1422. false
  1423. ]
  1424. },
  1425. "custom_theme_path": {
  1426. "$id": "#/properties/custom_theme_path",
  1427. "type": "string",
  1428. "title": "Path to custom GUI theme",
  1429. "description": "Path to custom GUI theme",
  1430. "default": ""
  1431. },
  1432. "start_fullscreen": {
  1433. "$id": "#/properties/start_fullscreen",
  1434. "type": "boolean",
  1435. "title": "Start games in fullscreen mode",
  1436. "description": "Start games in fullscreen mode",
  1437. "default": false,
  1438. "examples": [
  1439. true,
  1440. false
  1441. ]
  1442. },
  1443. "enable_keyboard": {
  1444. "$id": "#/properties/enable_keyboard",
  1445. "type": "boolean",
  1446. "title": "(HID) Keyboard Enable",
  1447. "description": "Enable or disable direct keyboard access (HID) support (Provides games access to your keyboard as a text entry device)",
  1448. "default": true,
  1449. "examples": [
  1450. true,
  1451. false
  1452. ]
  1453. },
  1454. "enable_mouse": {
  1455. "$id": "#/properties/enable_mouse",
  1456. "type": "boolean",
  1457. "title": "(HID) Mouse Enable",
  1458. "description": "Enable or disable direct mouse access (HID) support (Provides games access to your mouse as a pointing device)",
  1459. "default": false,
  1460. "examples": [
  1461. true,
  1462. false
  1463. ]
  1464. },
  1465. "hotkeys": {
  1466. "$id": "#/properties/hotkeys",
  1467. "type": "object",
  1468. "title": "Hotkey Controls",
  1469. "required": [
  1470. "toggle_vsync",
  1471. "screenshot"
  1472. ],
  1473. "properties": {
  1474. "toggle_vsync": {
  1475. "$id": "#/properties/hotkeys/properties/toggle_vsync",
  1476. "$ref": "#/definitions/key",
  1477. "title": "Toggle VSync",
  1478. "default": "Tab"
  1479. },
  1480. "screenshot": {
  1481. "$id": "#/properties/hotkeys/properties/screenshot",
  1482. "$ref": "#/definitions/key",
  1483. "title": "Screenshot",
  1484. "default": "F8"
  1485. }
  1486. }
  1487. },
  1488. "keyboard_config": {
  1489. "$id": "#/properties/keyboard_config",
  1490. "type": "array",
  1491. "title": "Keyboard Config",
  1492. "items": {
  1493. "$ref": "#/definitions/keyboard_config"
  1494. },
  1495. "default": [
  1496. {
  1497. "index": 0,
  1498. "controller_type": "JoyconPair",
  1499. "player_index": "Player1",
  1500. "left_joycon": {
  1501. "stick_up": "W",
  1502. "stick_down": "S",
  1503. "stick_left": "A",
  1504. "stick_right": "D",
  1505. "stick_button": "F",
  1506. "dpad_up": "Up",
  1507. "dpad_down": "Down",
  1508. "dpad_left": "Left",
  1509. "dpad_right": "Right",
  1510. "button_minus": "Minus",
  1511. "button_l": "E",
  1512. "button_zl": "Q",
  1513. "button_sl": "Unbound",
  1514. "button_sr": "Unbound"
  1515. },
  1516. "right_joycon": {
  1517. "stick_up": "I",
  1518. "stick_down": "K",
  1519. "stick_left": "J",
  1520. "stick_right": "L",
  1521. "stick_button": "H",
  1522. "button_a": "Z",
  1523. "button_b": "X",
  1524. "button_x": "C",
  1525. "button_y": "V",
  1526. "button_plus": "Plus",
  1527. "button_r": "U",
  1528. "button_zr": "O",
  1529. "button_sl": "Unbound",
  1530. "button_sr": "Unbound"
  1531. },
  1532. "slot": 0,
  1533. "alt_slot": 0,
  1534. "mirror_input": false,
  1535. "dsu_server_host": "127.0.0.1",
  1536. "dsu_server_port": 26760,
  1537. "sensitivity": 100,
  1538. "gyro_deadzone": 1,
  1539. "enable_motion": false
  1540. }
  1541. ]
  1542. },
  1543. "controller_config": {
  1544. "$id": "#/properties/controller_config",
  1545. "type": "array",
  1546. "title": "Controller Config",
  1547. "items": {
  1548. "$ref": "#/definitions/controller_config"
  1549. },
  1550. "default": []
  1551. }
  1552. }
  1553. }