annotate default.cfg @ 881:415bb1911bd2

Change default config to make first gamepad mapped as gamepad 1, add a second gamepad maping. Player one on keyboard and player two on controller does not make sense as a default config
author Michael Pavone <pavone@retrodev.com>
date Mon, 09 Nov 2015 21:34:32 -0800
parents b6842dfb8edf
children b5d35222047e
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
430
7f84090ab1cd Add config file parser and default config file
Mike Pavone <pavone@retrodev.com>
parents:
diff changeset
1
7f84090ab1cd Add config file parser and default config file
Mike Pavone <pavone@retrodev.com>
parents:
diff changeset
2 bindings {
7f84090ab1cd Add config file parser and default config file
Mike Pavone <pavone@retrodev.com>
parents:
diff changeset
3 keys {
431
440efd7d27a9 Read key bindings from config file
Mike Pavone <pavone@retrodev.com>
parents: 430
diff changeset
4 up gamepads.1.up
440efd7d27a9 Read key bindings from config file
Mike Pavone <pavone@retrodev.com>
parents: 430
diff changeset
5 down gamepads.1.down
440efd7d27a9 Read key bindings from config file
Mike Pavone <pavone@retrodev.com>
parents: 430
diff changeset
6 left gamepads.1.left
440efd7d27a9 Read key bindings from config file
Mike Pavone <pavone@retrodev.com>
parents: 430
diff changeset
7 right gamepads.1.right
430
7f84090ab1cd Add config file parser and default config file
Mike Pavone <pavone@retrodev.com>
parents:
diff changeset
8 a gamepads.1.a
7f84090ab1cd Add config file parser and default config file
Mike Pavone <pavone@retrodev.com>
parents:
diff changeset
9 s gamepads.1.b
7f84090ab1cd Add config file parser and default config file
Mike Pavone <pavone@retrodev.com>
parents:
diff changeset
10 d gamepads.1.c
7f84090ab1cd Add config file parser and default config file
Mike Pavone <pavone@retrodev.com>
parents:
diff changeset
11 q gamepads.1.x
7f84090ab1cd Add config file parser and default config file
Mike Pavone <pavone@retrodev.com>
parents:
diff changeset
12 w gamepads.1.y
7f84090ab1cd Add config file parser and default config file
Mike Pavone <pavone@retrodev.com>
parents:
diff changeset
13 e gamepads.1.z
7f84090ab1cd Add config file parser and default config file
Mike Pavone <pavone@retrodev.com>
parents:
diff changeset
14 f gamepads.1.mode
431
440efd7d27a9 Read key bindings from config file
Mike Pavone <pavone@retrodev.com>
parents: 430
diff changeset
15 enter gamepads.1.start
451
b7c3b2d22858 Added support for saving savestates. Added gst savestate format test harness
Mike Pavone <pavone@retrodev.com>
parents: 445
diff changeset
16
430
7f84090ab1cd Add config file parser and default config file
Mike Pavone <pavone@retrodev.com>
parents:
diff changeset
17 [ ui.vdp_debug_mode
7f84090ab1cd Add config file parser and default config file
Mike Pavone <pavone@retrodev.com>
parents:
diff changeset
18 ] ui.vdp_debug_pal
7f84090ab1cd Add config file parser and default config file
Mike Pavone <pavone@retrodev.com>
parents:
diff changeset
19 u ui.enter_debugger
444
cc754a309ead Add fullscreen support and add a keybinding for exiting the emulator
Mike Pavone <pavone@retrodev.com>
parents: 431
diff changeset
20 esc ui.exit
468
949c7d875693 Added README file
Mike Pavone <pavone@retrodev.com>
parents: 451
diff changeset
21 ` ui.save_state
483
3e1573fa22cf Implement turbo/slow motion feature that overclocks or underclocks the entire system at the push of a button
Mike Pavone <pavone@retrodev.com>
parents: 468
diff changeset
22 0 ui.set_speed.0
3e1573fa22cf Implement turbo/slow motion feature that overclocks or underclocks the entire system at the push of a button
Mike Pavone <pavone@retrodev.com>
parents: 468
diff changeset
23 1 ui.set_speed.1
3e1573fa22cf Implement turbo/slow motion feature that overclocks or underclocks the entire system at the push of a button
Mike Pavone <pavone@retrodev.com>
parents: 468
diff changeset
24 2 ui.set_speed.2
3e1573fa22cf Implement turbo/slow motion feature that overclocks or underclocks the entire system at the push of a button
Mike Pavone <pavone@retrodev.com>
parents: 468
diff changeset
25 3 ui.set_speed.3
3e1573fa22cf Implement turbo/slow motion feature that overclocks or underclocks the entire system at the push of a button
Mike Pavone <pavone@retrodev.com>
parents: 468
diff changeset
26 4 ui.set_speed.4
3e1573fa22cf Implement turbo/slow motion feature that overclocks or underclocks the entire system at the push of a button
Mike Pavone <pavone@retrodev.com>
parents: 468
diff changeset
27 5 ui.set_speed.5
3e1573fa22cf Implement turbo/slow motion feature that overclocks or underclocks the entire system at the push of a button
Mike Pavone <pavone@retrodev.com>
parents: 468
diff changeset
28 6 ui.set_speed.6
3e1573fa22cf Implement turbo/slow motion feature that overclocks or underclocks the entire system at the push of a button
Mike Pavone <pavone@retrodev.com>
parents: 468
diff changeset
29 7 ui.set_speed.7
3e1573fa22cf Implement turbo/slow motion feature that overclocks or underclocks the entire system at the push of a button
Mike Pavone <pavone@retrodev.com>
parents: 468
diff changeset
30 = ui.next_speed
3e1573fa22cf Implement turbo/slow motion feature that overclocks or underclocks the entire system at the push of a button
Mike Pavone <pavone@retrodev.com>
parents: 468
diff changeset
31 - ui.prev_speed
430
7f84090ab1cd Add config file parser and default config file
Mike Pavone <pavone@retrodev.com>
parents:
diff changeset
32 }
7f84090ab1cd Add config file parser and default config file
Mike Pavone <pavone@retrodev.com>
parents:
diff changeset
33 pads {
7f84090ab1cd Add config file parser and default config file
Mike Pavone <pavone@retrodev.com>
parents:
diff changeset
34 0 {
7f84090ab1cd Add config file parser and default config file
Mike Pavone <pavone@retrodev.com>
parents:
diff changeset
35 dpads {
7f84090ab1cd Add config file parser and default config file
Mike Pavone <pavone@retrodev.com>
parents:
diff changeset
36 0 {
881
415bb1911bd2 Change default config to make first gamepad mapped as gamepad 1, add a second gamepad maping. Player one on keyboard and player two on controller does not make sense as a default config
Michael Pavone <pavone@retrodev.com>
parents: 874
diff changeset
37 up gamepads.1.up
415bb1911bd2 Change default config to make first gamepad mapped as gamepad 1, add a second gamepad maping. Player one on keyboard and player two on controller does not make sense as a default config
Michael Pavone <pavone@retrodev.com>
parents: 874
diff changeset
38 down gamepads.1.down
415bb1911bd2 Change default config to make first gamepad mapped as gamepad 1, add a second gamepad maping. Player one on keyboard and player two on controller does not make sense as a default config
Michael Pavone <pavone@retrodev.com>
parents: 874
diff changeset
39 left gamepads.1.left
415bb1911bd2 Change default config to make first gamepad mapped as gamepad 1, add a second gamepad maping. Player one on keyboard and player two on controller does not make sense as a default config
Michael Pavone <pavone@retrodev.com>
parents: 874
diff changeset
40 right gamepads.1.right
415bb1911bd2 Change default config to make first gamepad mapped as gamepad 1, add a second gamepad maping. Player one on keyboard and player two on controller does not make sense as a default config
Michael Pavone <pavone@retrodev.com>
parents: 874
diff changeset
41 }
415bb1911bd2 Change default config to make first gamepad mapped as gamepad 1, add a second gamepad maping. Player one on keyboard and player two on controller does not make sense as a default config
Michael Pavone <pavone@retrodev.com>
parents: 874
diff changeset
42 }
415bb1911bd2 Change default config to make first gamepad mapped as gamepad 1, add a second gamepad maping. Player one on keyboard and player two on controller does not make sense as a default config
Michael Pavone <pavone@retrodev.com>
parents: 874
diff changeset
43 buttons {
415bb1911bd2 Change default config to make first gamepad mapped as gamepad 1, add a second gamepad maping. Player one on keyboard and player two on controller does not make sense as a default config
Michael Pavone <pavone@retrodev.com>
parents: 874
diff changeset
44 0 gamepads.1.a
415bb1911bd2 Change default config to make first gamepad mapped as gamepad 1, add a second gamepad maping. Player one on keyboard and player two on controller does not make sense as a default config
Michael Pavone <pavone@retrodev.com>
parents: 874
diff changeset
45 1 gamepads.1.b
415bb1911bd2 Change default config to make first gamepad mapped as gamepad 1, add a second gamepad maping. Player one on keyboard and player two on controller does not make sense as a default config
Michael Pavone <pavone@retrodev.com>
parents: 874
diff changeset
46 2 gamepads.1.c
415bb1911bd2 Change default config to make first gamepad mapped as gamepad 1, add a second gamepad maping. Player one on keyboard and player two on controller does not make sense as a default config
Michael Pavone <pavone@retrodev.com>
parents: 874
diff changeset
47 3 gamepads.1.x
415bb1911bd2 Change default config to make first gamepad mapped as gamepad 1, add a second gamepad maping. Player one on keyboard and player two on controller does not make sense as a default config
Michael Pavone <pavone@retrodev.com>
parents: 874
diff changeset
48 4 gamepads.1.y
415bb1911bd2 Change default config to make first gamepad mapped as gamepad 1, add a second gamepad maping. Player one on keyboard and player two on controller does not make sense as a default config
Michael Pavone <pavone@retrodev.com>
parents: 874
diff changeset
49 5 gamepads.1.z
415bb1911bd2 Change default config to make first gamepad mapped as gamepad 1, add a second gamepad maping. Player one on keyboard and player two on controller does not make sense as a default config
Michael Pavone <pavone@retrodev.com>
parents: 874
diff changeset
50 6 gamepads.1.mode
415bb1911bd2 Change default config to make first gamepad mapped as gamepad 1, add a second gamepad maping. Player one on keyboard and player two on controller does not make sense as a default config
Michael Pavone <pavone@retrodev.com>
parents: 874
diff changeset
51 7 gamepads.1.start
415bb1911bd2 Change default config to make first gamepad mapped as gamepad 1, add a second gamepad maping. Player one on keyboard and player two on controller does not make sense as a default config
Michael Pavone <pavone@retrodev.com>
parents: 874
diff changeset
52 }
415bb1911bd2 Change default config to make first gamepad mapped as gamepad 1, add a second gamepad maping. Player one on keyboard and player two on controller does not make sense as a default config
Michael Pavone <pavone@retrodev.com>
parents: 874
diff changeset
53 }
415bb1911bd2 Change default config to make first gamepad mapped as gamepad 1, add a second gamepad maping. Player one on keyboard and player two on controller does not make sense as a default config
Michael Pavone <pavone@retrodev.com>
parents: 874
diff changeset
54 1 {
415bb1911bd2 Change default config to make first gamepad mapped as gamepad 1, add a second gamepad maping. Player one on keyboard and player two on controller does not make sense as a default config
Michael Pavone <pavone@retrodev.com>
parents: 874
diff changeset
55 dpads {
415bb1911bd2 Change default config to make first gamepad mapped as gamepad 1, add a second gamepad maping. Player one on keyboard and player two on controller does not make sense as a default config
Michael Pavone <pavone@retrodev.com>
parents: 874
diff changeset
56 0 {
430
7f84090ab1cd Add config file parser and default config file
Mike Pavone <pavone@retrodev.com>
parents:
diff changeset
57 up gamepads.2.up
7f84090ab1cd Add config file parser and default config file
Mike Pavone <pavone@retrodev.com>
parents:
diff changeset
58 down gamepads.2.down
7f84090ab1cd Add config file parser and default config file
Mike Pavone <pavone@retrodev.com>
parents:
diff changeset
59 left gamepads.2.left
7f84090ab1cd Add config file parser and default config file
Mike Pavone <pavone@retrodev.com>
parents:
diff changeset
60 right gamepads.2.right
7f84090ab1cd Add config file parser and default config file
Mike Pavone <pavone@retrodev.com>
parents:
diff changeset
61 }
7f84090ab1cd Add config file parser and default config file
Mike Pavone <pavone@retrodev.com>
parents:
diff changeset
62 }
7f84090ab1cd Add config file parser and default config file
Mike Pavone <pavone@retrodev.com>
parents:
diff changeset
63 buttons {
7f84090ab1cd Add config file parser and default config file
Mike Pavone <pavone@retrodev.com>
parents:
diff changeset
64 0 gamepads.2.a
7f84090ab1cd Add config file parser and default config file
Mike Pavone <pavone@retrodev.com>
parents:
diff changeset
65 1 gamepads.2.b
7f84090ab1cd Add config file parser and default config file
Mike Pavone <pavone@retrodev.com>
parents:
diff changeset
66 2 gamepads.2.c
7f84090ab1cd Add config file parser and default config file
Mike Pavone <pavone@retrodev.com>
parents:
diff changeset
67 3 gamepads.2.x
7f84090ab1cd Add config file parser and default config file
Mike Pavone <pavone@retrodev.com>
parents:
diff changeset
68 4 gamepads.2.y
7f84090ab1cd Add config file parser and default config file
Mike Pavone <pavone@retrodev.com>
parents:
diff changeset
69 5 gamepads.2.z
7f84090ab1cd Add config file parser and default config file
Mike Pavone <pavone@retrodev.com>
parents:
diff changeset
70 6 gamepads.2.mode
7f84090ab1cd Add config file parser and default config file
Mike Pavone <pavone@retrodev.com>
parents:
diff changeset
71 7 gamepads.2.start
7f84090ab1cd Add config file parser and default config file
Mike Pavone <pavone@retrodev.com>
parents:
diff changeset
72 }
7f84090ab1cd Add config file parser and default config file
Mike Pavone <pavone@retrodev.com>
parents:
diff changeset
73 }
7f84090ab1cd Add config file parser and default config file
Mike Pavone <pavone@retrodev.com>
parents:
diff changeset
74 }
7f84090ab1cd Add config file parser and default config file
Mike Pavone <pavone@retrodev.com>
parents:
diff changeset
75 }
7f84090ab1cd Add config file parser and default config file
Mike Pavone <pavone@retrodev.com>
parents:
diff changeset
76
645
d77c79cec800 Initial support for configurable IO, custom IO and sega transfer board emulation
Michael Pavone <pavone@retrodev.com>
parents: 498
diff changeset
77 io {
d77c79cec800 Initial support for configurable IO, custom IO and sega transfer board emulation
Michael Pavone <pavone@retrodev.com>
parents: 498
diff changeset
78 devices {
d77c79cec800 Initial support for configurable IO, custom IO and sega transfer board emulation
Michael Pavone <pavone@retrodev.com>
parents: 498
diff changeset
79 1 gamepad6.1
d77c79cec800 Initial support for configurable IO, custom IO and sega transfer board emulation
Michael Pavone <pavone@retrodev.com>
parents: 498
diff changeset
80 2 gamepad6.2
d77c79cec800 Initial support for configurable IO, custom IO and sega transfer board emulation
Michael Pavone <pavone@retrodev.com>
parents: 498
diff changeset
81 }
d77c79cec800 Initial support for configurable IO, custom IO and sega transfer board emulation
Michael Pavone <pavone@retrodev.com>
parents: 498
diff changeset
82 }
d77c79cec800 Initial support for configurable IO, custom IO and sega transfer board emulation
Michael Pavone <pavone@retrodev.com>
parents: 498
diff changeset
83
430
7f84090ab1cd Add config file parser and default config file
Mike Pavone <pavone@retrodev.com>
parents:
diff changeset
84 video {
7f84090ab1cd Add config file parser and default config file
Mike Pavone <pavone@retrodev.com>
parents:
diff changeset
85 width 640
498
51bf87f76d15 Pull shader file names from config file.
Mike Pavone <pavone@retrodev.com>
parents: 483
diff changeset
86 vertex_shader default.v.glsl
51bf87f76d15 Pull shader file names from config file.
Mike Pavone <pavone@retrodev.com>
parents: 483
diff changeset
87 fragment_shader default.f.glsl
430
7f84090ab1cd Add config file parser and default config file
Mike Pavone <pavone@retrodev.com>
parents:
diff changeset
88 }
7f84090ab1cd Add config file parser and default config file
Mike Pavone <pavone@retrodev.com>
parents:
diff changeset
89
445
80a9527c812c Add config values for audio sample rate and buffer size
Mike Pavone <pavone@retrodev.com>
parents: 444
diff changeset
90 audio {
80a9527c812c Add config values for audio sample rate and buffer size
Mike Pavone <pavone@retrodev.com>
parents: 444
diff changeset
91 rate 48000
80a9527c812c Add config values for audio sample rate and buffer size
Mike Pavone <pavone@retrodev.com>
parents: 444
diff changeset
92 buffer 512
80a9527c812c Add config values for audio sample rate and buffer size
Mike Pavone <pavone@retrodev.com>
parents: 444
diff changeset
93 }
80a9527c812c Add config values for audio sample rate and buffer size
Mike Pavone <pavone@retrodev.com>
parents: 444
diff changeset
94
483
3e1573fa22cf Implement turbo/slow motion feature that overclocks or underclocks the entire system at the push of a button
Mike Pavone <pavone@retrodev.com>
parents: 468
diff changeset
95 clocks {
785
0e5f14d9a579 Prep for 0.3.0 release
Michael Pavone <pavone@retrodev.com>
parents: 645
diff changeset
96 max_cycles 3420
483
3e1573fa22cf Implement turbo/slow motion feature that overclocks or underclocks the entire system at the push of a button
Mike Pavone <pavone@retrodev.com>
parents: 468
diff changeset
97 speeds {
3e1573fa22cf Implement turbo/slow motion feature that overclocks or underclocks the entire system at the push of a button
Mike Pavone <pavone@retrodev.com>
parents: 468
diff changeset
98 1 150
3e1573fa22cf Implement turbo/slow motion feature that overclocks or underclocks the entire system at the push of a button
Mike Pavone <pavone@retrodev.com>
parents: 468
diff changeset
99 2 200
3e1573fa22cf Implement turbo/slow motion feature that overclocks or underclocks the entire system at the push of a button
Mike Pavone <pavone@retrodev.com>
parents: 468
diff changeset
100 3 300
3e1573fa22cf Implement turbo/slow motion feature that overclocks or underclocks the entire system at the push of a button
Mike Pavone <pavone@retrodev.com>
parents: 468
diff changeset
101 4 400
3e1573fa22cf Implement turbo/slow motion feature that overclocks or underclocks the entire system at the push of a button
Mike Pavone <pavone@retrodev.com>
parents: 468
diff changeset
102 5 25
3e1573fa22cf Implement turbo/slow motion feature that overclocks or underclocks the entire system at the push of a button
Mike Pavone <pavone@retrodev.com>
parents: 468
diff changeset
103 6 50
3e1573fa22cf Implement turbo/slow motion feature that overclocks or underclocks the entire system at the push of a button
Mike Pavone <pavone@retrodev.com>
parents: 468
diff changeset
104 7 75
3e1573fa22cf Implement turbo/slow motion feature that overclocks or underclocks the entire system at the push of a button
Mike Pavone <pavone@retrodev.com>
parents: 468
diff changeset
105 }
3e1573fa22cf Implement turbo/slow motion feature that overclocks or underclocks the entire system at the push of a button
Mike Pavone <pavone@retrodev.com>
parents: 468
diff changeset
106 }
3e1573fa22cf Implement turbo/slow motion feature that overclocks or underclocks the entire system at the push of a button
Mike Pavone <pavone@retrodev.com>
parents: 468
diff changeset
107
874
b6842dfb8edf ROM is now run after being selected in menu. Initial path for menu is read from config file.
Michael Pavone <pavone@retrodev.com>
parents: 785
diff changeset
108 ui {
b6842dfb8edf ROM is now run after being selected in menu. Initial path for menu is read from config file.
Michael Pavone <pavone@retrodev.com>
parents: 785
diff changeset
109 rom menu.bin
b6842dfb8edf ROM is now run after being selected in menu. Initial path for menu is read from config file.
Michael Pavone <pavone@retrodev.com>
parents: 785
diff changeset
110 }
b6842dfb8edf ROM is now run after being selected in menu. Initial path for menu is read from config file.
Michael Pavone <pavone@retrodev.com>
parents: 785
diff changeset
111
430
7f84090ab1cd Add config file parser and default config file
Mike Pavone <pavone@retrodev.com>
parents:
diff changeset
112 default_region U
7f84090ab1cd Add config file parser and default config file
Mike Pavone <pavone@retrodev.com>
parents:
diff changeset
113