Config.jsonc 4.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140
  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 Discord Rich Presense
  25. "enable_discord_intergration": true,
  26. // Enable or disable Game Vsync
  27. "enable_vsync": true,
  28. // Enable or disable Multi-core scheduling of threads
  29. "enable_multicore_scheduling": true,
  30. // Enable integrity checks on Switch content files
  31. "enable_fs_integrity_checks": true,
  32. // Enable or disable aggressive CPU optimizations
  33. "enable_aggressive_cpu_opts": true,
  34. // Enable or disable ignoring missing services, this may cause instability
  35. "ignore_missing_services": false,
  36. // The primary controller's type
  37. // Supported Values: Handheld, ProController, NpadPair, NpadLeft, NpadRight
  38. "controller_type": "Handheld",
  39. // Enable or disable "direct keyboard access (HID) support" (Provides games access to your keyboard as a text entry device).
  40. "enable_keyboard": true,
  41. // Keyboard Controls
  42. // https://github.com/opentk/opentk/blob/master/src/OpenTK/Input/Key.cs
  43. "keyboard_controls": {
  44. // Left JoyCon Keyboard Bindings
  45. "left_joycon": {
  46. "stick_up": "W",
  47. "stick_down": "S",
  48. "stick_left": "A",
  49. "stick_right": "D",
  50. "stick_button": "F",
  51. "dpad_up": "Up",
  52. "dpad_down": "Down",
  53. "dpad_left": "Left",
  54. "dpad_right": "Right",
  55. "button_minus": "Minus",
  56. "button_l": "E",
  57. "button_zl": "Q"
  58. },
  59. // Right JoyCon Keyboard Bindings
  60. "right_joycon": {
  61. "stick_up": "I",
  62. "stick_down": "K",
  63. "stick_left": "J",
  64. "stick_right": "L",
  65. "stick_button": "H",
  66. "button_a": "Z",
  67. "button_b": "X",
  68. "button_x": "C",
  69. "button_y": "V",
  70. "button_plus": "Plus",
  71. "button_r": "U",
  72. "button_zr": "O"
  73. },
  74. "hotkeys": {
  75. "toggle_vsync": "Tab"
  76. }
  77. },
  78. // Controller Controls
  79. "gamepad_controls": {
  80. // Whether or not to enable Controller support
  81. "enabled": true,
  82. // Controller Device Index
  83. "index": 0,
  84. // Controller Analog Stick Deadzone
  85. "deadzone": 0.05,
  86. // The value of how pressed down each trigger has to be in order to register a button press
  87. "trigger_threshold": 0.5,
  88. // Left JoyCon Controller Bindings
  89. "left_joycon": {
  90. "stick": "LJoystick",
  91. "stick_button": "LStick",
  92. "dpad_up": "DPadUp",
  93. "dpad_down": "DPadDown",
  94. "dpad_left": "DPadLeft",
  95. "dpad_right": "DPadRight",
  96. "button_minus": "Back",
  97. "button_l": "LShoulder",
  98. "button_zl": "LTrigger"
  99. },
  100. // Right JoyCon Controller Bindings
  101. "right_joycon": {
  102. "stick": "RJoystick",
  103. "stick_button": "RStick",
  104. "button_a": "B",
  105. "button_b": "A",
  106. "button_x": "Y",
  107. "button_y": "X",
  108. "button_plus": "Start",
  109. "button_r": "RShoulder",
  110. "button_zr": "RTrigger"
  111. }
  112. }
  113. }