Config.jsonc 3.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137
  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. // Enable or disable "direct keyboard access (HID) support" (Provides games access to your keyboard as a text entry device).
  38. "enable_keyboard": true,
  39. // Keyboard Controls
  40. // https://github.com/opentk/opentk/blob/master/src/OpenTK/Input/Key.cs
  41. "keyboard_controls": {
  42. // Left JoyCon Keyboard Bindings
  43. "left_joycon": {
  44. "stick_up": "W",
  45. "stick_down": "S",
  46. "stick_left": "A",
  47. "stick_right": "D",
  48. "stick_button": "F",
  49. "dpad_up": "Up",
  50. "dpad_down": "Down",
  51. "dpad_left": "Left",
  52. "dpad_right": "Right",
  53. "button_minus": "Minus",
  54. "button_l": "E",
  55. "button_zl": "Q"
  56. },
  57. // Right JoyCon Keyboard Bindings
  58. "right_joycon": {
  59. "stick_up": "I",
  60. "stick_down": "K",
  61. "stick_left": "J",
  62. "stick_right": "L",
  63. "stick_button": "H",
  64. "button_a": "Z",
  65. "button_b": "X",
  66. "button_x": "C",
  67. "button_y": "V",
  68. "button_plus": "Plus",
  69. "button_r": "U",
  70. "button_zr": "O"
  71. },
  72. "hotkeys": {
  73. "toggle_vsync": "Tab"
  74. }
  75. },
  76. // Controller Controls
  77. "gamepad_controls": {
  78. // Whether or not to enable Controller support
  79. "enabled": true,
  80. // Controller Device Index
  81. "index": 0,
  82. // Controller Analog Stick Deadzone
  83. "deadzone": 0.05,
  84. // The value of how pressed down each trigger has to be in order to register a button press
  85. "trigger_threshold": 0.5,
  86. // Left JoyCon Controller Bindings
  87. "left_joycon": {
  88. "stick": "LJoystick",
  89. "stick_button": "LStick",
  90. "dpad_up": "DPadUp",
  91. "dpad_down": "DPadDown",
  92. "dpad_left": "DPadLeft",
  93. "dpad_right": "DPadRight",
  94. "button_minus": "Back",
  95. "button_l": "LShoulder",
  96. "button_zl": "LTrigger"
  97. },
  98. // Right JoyCon Controller Bindings
  99. "right_joycon": {
  100. "stick": "RJoystick",
  101. "stick_button": "RStick",
  102. "button_a": "B",
  103. "button_b": "A",
  104. "button_x": "Y",
  105. "button_y": "X",
  106. "button_plus": "Start",
  107. "button_r": "RShoulder",
  108. "button_zr": "RTrigger"
  109. }
  110. }
  111. }