forked from laamaa/m8c
-
Notifications
You must be signed in to change notification settings - Fork 6
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
758f6c0
commit 15122e6
Showing
1 changed file
with
67 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,67 @@ | ||
; edit this file to change m8c defaults | ||
; this file is re-written every time it is read, | ||
; so do not expect comments or commented out values to survive! | ||
; valid parameter changes will be written back and persisted though. | ||
|
||
[graphics] | ||
; set this to true to have m8c start fullscreen | ||
fullscreen=true | ||
; set this to false to run m8c in software rendering mode (may be useful for Raspberry Pi) | ||
use_gpu=true | ||
; set this to true to disable the mouse cursor at startup | ||
diable_cursor=true | ||
; the delay amount in ms in the main loop, decrease value for faster operation, increase value if too much cpu usage | ||
idle_ms = 10 | ||
; show a spinning cube if device is not inserted | ||
wait_for_device = true | ||
; number of zero-byte attempts to disconnect if wait_for_device = false (128 = about 2 sec for default idle_ms) | ||
wait_packets = 128 | ||
|
||
[audio] | ||
audio_enabled=false | ||
audio_buffer_size=1024 | ||
audio_device_name=Default | ||
|
||
[keyboard] | ||
; these need to be the decimal value of the SDL scancodes. | ||
; a table exists here: https://github.com/libsdl-org/sdlwiki/blob/main/SDL2/SDLScancodeLookup.mediawiki | ||
key_up=82 | ||
key_left=80 | ||
key_down=81 | ||
key_right=79 | ||
key_select=225 | ||
key_select_alt=29 | ||
key_start=44 | ||
key_start_alt=27 | ||
key_opt=226 | ||
key_opt_alt=4 | ||
key_edit=224 | ||
key_edit_alt=22 | ||
key_delete=76 | ||
key_reset=21 | ||
|
||
[gamepad] | ||
; these need to be the decimal value of the SDL Controller buttons. | ||
; a table exists here: https://wiki.libsdl.org/SDL_GameControllerButton | ||
gamepad_up=-1 | ||
gamepad_left=-1 | ||
gamepad_down=-1 | ||
gamepad_right=-1 | ||
gamepad_select=4 | ||
gamepad_start=6 | ||
gamepad_opt=2 | ||
gamepad_edit=1 | ||
gamepad_quit=-1 | ||
gamepad_reset=-1 | ||
|
||
gamepad_analog_threshold=32766 ;the threshold for analog sticks to trigger cursor movement (working values: 1-32766) | ||
gamepad_analog_invert=false ;NOT IMPLEMENTED YET: invert up/down and left/right axis (true/false) | ||
|
||
; these need to be the decimal value of the controller axis | ||
; you can use -1 if you do not wish to map the function to an analog axis | ||
gamepad_analog_axis_updown=1 | ||
gamepad_analog_axis_leftright=0 | ||
gamepad_analog_axis_start=-1 | ||
gamepad_analog_axis_select=-1 | ||
gamepad_analog_axis_opt=-1 | ||
gamepad_analog_axis_edit=-1 |