Config.jsonc 3.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130
  1. {
  2. "$schema": "./_schema.json",
  3. // Dump shaders in local directory (e.g. `C:\ShaderDumps`)
  4. "graphics_shaders_dump_path": "",
  5. // Enable print debug logs
  6. "logging_enable_debug": false,
  7. // Enable print stubbed calls logs
  8. "logging_enable_stub": true,
  9. // Enable print informations logs
  10. "logging_enable_info": true,
  11. // Enable print warning logs
  12. "logging_enable_warn": true,
  13. // Enable print error logs
  14. "logging_enable_error": true,
  15. // Filtered log classes, in a JSON array, eg. `[ "Loader", "ServiceFs" ]`
  16. "logging_filtered_classes": [ ],
  17. // Enable file logging
  18. "enable_file_log": true,
  19. // Change System Language
  20. // System Language list: https://gist.github.com/HorrorTroll/b6e4a88d774c3c9b3bdf54d79a7ca43b
  21. "system_language": "AmericanEnglish",
  22. // Enable or disable Docked Mode
  23. "docked_mode": false,
  24. // Enable or disable Game Vsync
  25. "enable_vsync": true,
  26. // Enable or disable Multi-core scheduling of threads
  27. "enable_multicore_scheduling": true,
  28. // Enable integrity checks on Switch content files
  29. "enable_fs_integrity_checks": true,
  30. // Enable or disable aggressive CPU optimizations
  31. "enable_aggressive_cpu_opts": true,
  32. // Enable or disable ignoring missing services, this may cause instability
  33. "ignore_missing_services": false,
  34. // The primary controller's type
  35. // Supported Values: Handheld, ProController, NpadPair, NpadLeft, NpadRight
  36. "controller_type": "Handheld",
  37. // Keyboard Controls
  38. // https://github.com/opentk/opentk/blob/master/src/OpenTK/Input/Key.cs
  39. "keyboard_controls": {
  40. // Left JoyCon Keyboard Bindings
  41. "left_joycon": {
  42. "stick_up": "W",
  43. "stick_down": "S",
  44. "stick_left": "A",
  45. "stick_right": "D",
  46. "stick_button": "F",
  47. "dpad_up": "Up",
  48. "dpad_down": "Down",
  49. "dpad_left": "Left",
  50. "dpad_right": "Right",
  51. "button_minus": "Minus",
  52. "button_l": "E",
  53. "button_zl": "Q"
  54. },
  55. // Right JoyCon Keyboard Bindings
  56. "right_joycon": {
  57. "stick_up": "I",
  58. "stick_down": "K",
  59. "stick_left": "J",
  60. "stick_right": "L",
  61. "stick_button": "H",
  62. "button_a": "Z",
  63. "button_b": "X",
  64. "button_x": "C",
  65. "button_y": "V",
  66. "button_plus": "Plus",
  67. "button_r": "U",
  68. "button_zr": "O"
  69. }
  70. },
  71. // Controller Controls
  72. "gamepad_controls": {
  73. // Whether or not to enable Controller support
  74. "enabled": true,
  75. // Controller Device Index
  76. "index": 0,
  77. // Controller Analog Stick Deadzone
  78. "deadzone": 0.05,
  79. // The value of how pressed down each trigger has to be in order to register a button press
  80. "trigger_threshold": 0.5,
  81. // Left JoyCon Controller Bindings
  82. "left_joycon": {
  83. "stick": "LJoystick",
  84. "stick_button": "LStick",
  85. "dpad_up": "DPadUp",
  86. "dpad_down": "DPadDown",
  87. "dpad_left": "DPadLeft",
  88. "dpad_right": "DPadRight",
  89. "button_minus": "Back",
  90. "button_l": "LShoulder",
  91. "button_zl": "LTrigger"
  92. },
  93. // Right JoyCon Controller Bindings
  94. "right_joycon": {
  95. "stick": "RJoystick",
  96. "stick_button": "RStick",
  97. "button_a": "B",
  98. "button_b": "A",
  99. "button_x": "Y",
  100. "button_y": "X",
  101. "button_plus": "Start",
  102. "button_r": "RShoulder",
  103. "button_zr": "RTrigger"
  104. }
  105. }
  106. }