Config.jsonc 3.5 KB

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