-
Notifications
You must be signed in to change notification settings - Fork 4
/
Copy pathMOUSTER.INI
447 lines (408 loc) · 16.5 KB
/
MOUSTER.INI
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
;
;
; mouSTer - universal USB HID class device to db9 adapter.
; Firmware revision: 3.16.2600
;
; _/_/_/ _/_/_/_/_/
; _/_/_/ _/_/ _/_/ _/ _/ _/ _/ _/_/ _/ _/_/
; _/ _/ _/ _/ _/ _/ _/ _/_/ _/ _/_/_/_/ _/_/
; _/ _/ _/ _/ _/ _/ _/ _/ _/ _/ _/
; _/ _/ _/ _/_/ _/_/_/ _/_/_/ _/ _/_/_/ _/
;
;
; ###############################################################################
; # #
; # Features: #
; # Emulates Atari, Amiga and Commodore 1351 mouse. #
; # Can handle up to 16 buttons that can be translated to an action* #
; # Can handle up to 6 axes, that can be translated to an action* #
; # #
; # More to come... #
; # *an action - means any joystick direction or fire/mouse button #
; # #
; ###############################################################################
;
; ###############################################################################
; # Users Manual #
; ###############################################################################
;
; ###############################################################################
; # WARNING: WARRANTY MAY BE VOID IF USED WITH Atari 7800 #
; ###############################################################################
; # Atari 7800 IS NOT SUPPORTED: #
; # Please do not use the mouSTer with Atari 7800. #
; # It may be dangerous for the mouSTer due to weird A7800 construction. #
; ###############################################################################
;
; ###############################################################################
; # Gamepad Buttons Mapping #
; ###############################################################################
; # To make it easier, mouSTer is normalizing first 4 buttons of most gamepads #
; # Default settings emulates only standard 1 button Joystick. #
; # Button | SONY | XBOX | Default Action #
; # (4) 1 | SQUARE | X | Fire #
; # (1) (3) 2 | CROSS | A | Fire #
; # (2) 3 | CIRCLE | B | AutoFire #
; # 4 | TRIANGLE | Y | AutoFire #
; ###############################################################################
;
; ###############################-Blink-Codes-###################################
;
; The mouSTer signals its state by using MORSE CODE, simply, blinking the LED.
; List of possible messages:
;
; Very fast blinking:
; - Bootloader is Active and is waiting for the USB drive with a new firmware.
; - If the USB drive is not detected within two seconds,
; the main program will run.
;
; Normal blinking:
; - the mouSTer is ready, and is awaiting a USB HID device (mouse, gamepad etc).
;
; HeartBeat:
; - two fast blinks and a long pause - the mouSTer is alive and operational.
;
; SOS: <... --- ...> Critical problem has occurred.
; Not possible to recover from this state. Please power cycle the mouSTer.
;
; E: <.> An error has occurred. Remove USB device | Check INI file syntax.
;
; R: <.-.> Operation successfully finished. Remove the USB device.
;
; D: <-..> Debug data generated. Remove the USB device.
;
; ##############################-Using-an-USB-Drive-#############################
;
; When the USB drive is inserted, the mouSTer looks for the 'MOUSTER' folder.
; If the folder doesn't exist, it will be created and opened.
; In the next step, the mouSTer searches for the configuration file: 'MOUSTER.INI'
; If exists, the configuration will be read and parsed then written to memory.
; The MOUSTER.MSG file will be created with short status or error line number.
;
; If no .INI file is present, mouSTer will search for new firmware file mouSTer.fw
; If the firmware file is present, mouSTer will activate the bootloader,
; and install new firmware.
;
; In case if no INI nor firmware is present - mouSTer will create a new INI file
; and dump current config into it with the current firmware version on the top.
;
; mouSTer is case insensitive.
;
; mouSTer config file: '/MOUSTER/MOUSTER.INI'
; mouSTer firmware file: '/MOUSTER/MOUSTER.FW'
; mouSTer message file: '/MOUSTER/MOUSTER.MSG'
; mouSTer debug file: '/MOUSTER/MOUSTER.DBG'
;
; most up to date information and the latest firmware is always available at:
;
; ###############################################################################
; ######################### http://Jil.guru/mouSTer ###########################
; ###############################################################################
;
; FAQ:
; 1) My controler is not working with mouSTer:
; - Please activate DEBUG mode
; - Connect then disconnect your controller
; - Plug an EMPTY USB thumb drive and wait until D letter in morse code
; - Send us the generated MOUSTER.DBG file.
;
; 2) Right Mouse Button is not working on My Amiga:
; - This issue is caused by damaged PCB around the PAULA chip
; - Or by broken PAULA chip itself.
; - In some rare cases RMB is working with original mouse
; But not with the mouSTer.
; In this case the PAULA is badly damaged, and is working "on the egde"
; with the original Mouse. Unfortunatelly mouSTer is not able to force the
; badly broken PAULA to work.
; In most cases, when the PAULA is only slighty damaged mouSTer work perfectly.
;
; ################################-Configuration-################################
;
[mouster]
; general settings.
; mode=
; Operating mode, what device mouSTer will emulate.
; Default:
; mode=auto
;
; Possible values:
; [00|auto|self] - mouSTer will self determine what device to emulate (Mouse or Gamepad).
; [01|mouse|mice] - lock to mouse mode only.
; [02|gpad|gamepad] - lock to gamepad mode only.
; [03|cd32|apad] - emualate Amiga CD32 gamepad
; [255|reset_to_default|jmp_$e477] - Load default values for mouSTer configuration and end processing ini file. ###NOT IMPLEMENTED YET###
mode=auto
; afrate=
; Auto Fire Rate. Can be used with ANY defined button.
; Define time between consecutive 'auto' presses in 10's of miliseconds.
; fx: afrate=15 => button will be auto pressed every 150ms ca 6 times per second.
; to activate Auto Fire function on button, prepend its definition with * (asterisk)
; when function is defined twice, as a normal and as an autofire, and both are activated, the autofire will take the priority.
; Default:
; afrate=15
;
; Possible values:
; [0-250] - numeric value * 10.
afrate=15
; heartbeat=
; Define the heartbeat LED behavior.
; Default:
; heartbeat=heartbeat
;
; Possible values:
; [00|off|false] - Heartbeat is turned OFF.
; [01|on|true] - Heartbeat is turned constant ON.
; [02|heartbeat|normal] - Heartbeat is normal, 2 short pulses and long pause.
heartbeat=heartbeat
; debug=
; Force Mouster to generate some debug data.
; Usefull to identify unrecognized USB devices. Some new features may be added in the future.
; HowTo use this feature:
; 1) Set the debug value to true.
; 2) Connect unrecognized USB HID device, wait 10 seconds, then remove.
; 3) Put empty USB drive to the mouSTer, and wait until the mouSTer finish, blinking D in morse code.
; 4) Inside the mouSTer folder beside current configuration,You should find a file MOUSTER.DBG containing some debug data.
; This mode is not intended to use in normal work.
; Default:
; debug=false
;
; Possible values:
; [00|false|off] - No debug will be generated.
; [01|true|on] - mouSTer will generate debug data and save them in MOUSTER.DBG file.
debug=true
[mouse]
; mouse emulation settings.
; type=
; Mouse type to emulate.
; Default:
; type=amiga
;
; Possible values:
; [00|atari|ata] - mouSTer will emulate atari mouse.
; [01|amiga|ami] - mouSTer will emulate amiga mouse.
; [02|c1351|c64] - mouSTer will emulate commodore C1351 mouse. Requires mode=mouse !! will not work in auto. Require real or fully emulated SID.
; [03|trackball|trb] - Trackball (Atari CX-22) emulation mode. #### Function in experimantal stage ####
; [04|a8|lame8] - Special mode dedicated to A8 - #### Function not implemented yet #####
; [05|micromys|mimys] - mouSTer will emulate mouse with micromys protocol. ###NOT IMPLEMENTED YET###
type=amiga
; microstep=
; In another words, DPI divider. Allow you to slow down your mouse to adapt speed to capabilities of old devices.
; Define how many real mouse steps should be translated to one virtual step
; Because division by 0 causes critical error, setting it to 0 causes critical error. Try if you don't belive me.
; Default:
; microstep=05
;
; Possible values:
; [0-250] - numeric value.
microstep=05
; revpotlines=
; Reverse 2'nd and 3'rd button line polarity.
; This may be usefull to emulate 2 and 3 mouse buttons on 8-bit computers.
; This setting has no effect on C1351 emulation mode.
; Default:
; revpotlines=false
;
; Possible values:
; [00|false|off] - 2'nd and 3'rd button are normal. (connected to ground when active)
; [01|true|on] - 2'nd and 3'rd button are inverted. (connected to vcc when active)
revpotlines=false
; mbutton=
; Mapping physical mouse buttons for digital (atari or amiga) mouse emulation mode.
; Default:
; mbutton01=lb, mbutton02=rb, mbutton03=mb, mbutton04=*lb
; mbutton05=*rb, mbutton06=*mb, others->none
;
; Possible values:
; [00|none|off] - Button is ignored.
; [01|lb|left] - Left button/fire.
; [02|rb|right] - Right button/paddle A.
; [03|mb|middle] - Middle button/paddle B.
; * Can be defined as an Auto Fire button by prepending * to definition .e.g mbutton01=*01
mbutton01=lb
mbutton02=rb
mbutton03=mb
mbutton04=*lb
mbutton05=*rb
mbutton06=*mb
mbutton07=none
mbutton08=none
mbutton09=none
mbutton10=none
mbutton11=none
mbutton12=none
mbutton13=none
mbutton14=none
mbutton15=none
mbutton16=none
; cbutton=
; Mapping physical mouse buttons for c1351 mouse emulation mode.
; This mode require a REAL or full emulated SID. Will not work with e.g. SwinSID.
; Default:
; cbutton01=fire, cbutton02=north, cbutton04=*fire, cbutton05=*north
; others->none
;
; Possible values:
; [00|none|off] - Button is ignored.
; [01|fire|trigger] - Joystick fire.
; [02|north|up] - Joystick up/north.
; [03|east|right] - Joystick right/east.
; [04|south|down] - Joystick down/south.
; [05|west|left] - Joystick left/west.
; * Can be defined as an Auto Fire button by prepending * to definition .e.g cbutton01=*01
cbutton01=fire
cbutton02=north
cbutton03=none
cbutton04=*fire
cbutton05=*north
cbutton06=none
cbutton07=none
cbutton08=none
cbutton09=none
cbutton10=none
cbutton11=none
cbutton12=none
cbutton13=none
cbutton14=none
cbutton15=none
cbutton16=none
[gamepad]
; gamepad emulation settings.
; number=
; A gampad number that will be lit on DS3 or Xbox360 controller.
; Possible values: 0-4, where 0 no number is lit.
; Default:
; number=01
;
; Possible values:
; [0-04] - numeric value.
number=01
; revpotlines=
; Reverse 2'nd and 3'rd button line polarity.
; This may be useful to emulate 2 and 3 mouse button on 8 bit computers.
; Default:
; revpotlines=false
;
; Possible values:
; [00|false|off] - 2'nd and 3'rd button are normal. (connected to ground when active)
; [01|true|on] - 2'nd and 3'rd button are inverted. (connected to vcc when active)
revpotlines=false
; gbutton=
; ; Mapping physical gamepad buttons for joystick emulation mode.
; GamePad always has a HAT SWITCH that is always mapped to directions.
; Default:
; gbutton01=fire, gbutton02=fire, gbutton03=*fire, gbutton04=*fire
; others->none
;
; Possible values:
; [00|none|off] - Button is ignored.
; [01|fire|lb] - Joystick fire/trigger, mouse left button.
; [02|paddleA|rb] - Paddle A, potX, mouse right button.
; [03|paddleB|mb] - Paddle B, potY, mouse middle button.
; [04|u|n] - Joystick up/north.
; [05|ur|ne] - Joystick up-right/north-east.
; [06|r|e] - Joystick right/east.
; [07|dr|se] - Joystick down-right/south-east.
; [08|d|s] - Joystick down/south.
; [09|dl|sw] - Joystick down-left/south-west.
; [10|l|w] - Joystick left/west.
; [11|ul|nw] - Joystick up-left/north-west.
; * Can be defined as an Auto Fire button by prepending * to definition .e.g gbutton01=*01
gbutton01=fire
gbutton02=fire
gbutton03=*fire
gbutton04=*fire
gbutton05=none
gbutton06=none
gbutton07=none
gbutton08=none
gbutton09=none
gbutton10=none
gbutton11=none
gbutton12=none
gbutton13=none
gbutton14=none
gbutton15=none
gbutton16=none
; abutton=
; ; Mapping physical gamepad buttons for Amiga cd32 emulation.
; GamePad always has a HAT SWITCH that is always mapped to directions.
; Default mapping settings for this mode is compatible with Sony DS4 controller.
; Default:
; abutton01=green, abutton02=red, abutton03=blue, abutton04=yellow
; abutton05=leftfront, abutton06=rightfront, abutton07=leftfront, abutton08=rightfront
; abutton09=pause, abutton10=pause, others->none
;
; Possible values:
; [00|none|off] - Button is ignored.
; [01|red|red] - Red Button on Amiga CD32 pad
; [02|blue|blu] - Blue Button on Amiga CD32 pad
; [03|yellow|yel] - Yellow Button on Amiga CD32 pad
; [04|green|gre] - Green Button on Amiga CD32 pad
; [05|rightfront|rf] - Right Front Button on Amiga CD32 pad
; [06|leftfront|lf] - Left Front Button on Amiga CD32 pad
; [07|pause|pau] - Pause Button on Amiga CD32 pad
; [08|u|n] - Joystick up/north.
; [09|ur|ne] - Joystick up-right/north-east.
; [10|r|e] - Joystick right/east.
; [11|dr|se] - Joystick down-right/south-east.
; [12|d|s] - Joystick down/south.
; [13|dl|sw] - Joystick down-left/south-west.
; [14|l|w] - Joystick left/west.
; [15|ul|nw] - Joystick up-left/north-west.
; * Can be defined as an Auto Fire button by prepending * to definition .e.g abutton01=*01
abutton01=green
abutton02=red
abutton03=blue
abutton04=yellow
abutton05=leftfront
abutton06=rightfront
abutton07=leftfront
abutton08=rightfront
abutton09=pause
abutton10=pause
abutton11=none
abutton12=none
abutton13=none
abutton14=none
abutton15=none
abutton16=none
; axis=
; ##### Function partially implemented - only default settings are available and working. #####
; Mapping physical gamepad axes for joystick emulation mode.
; in this mode, axis can be also mapped to PADLE to become true analog axis.
; axes mapped to one direction are triggered at ca. 75% deflection
; axes mapped to double direction are triggered at ca. <25 and >75 deflection
; Default:
; axis01=ns, axis02=ew, others->none
;
; Possible values:
; [00|none|off] - axis is ignored.
; [01|n|u] - axis is one direction north/up axis.
; [02|s|d] - axis is one direction south/down axis.
; [03|ns|ud] - axis is true north-south/up-down/Y axis. Default for Y axis.
; [04|e|r] - axis is one direction east/right axis.
; [05|w|l] - axis is one direction west/left axis.
; [06|ew|lr] - axis is true east-west/left-right/X axis. Default for X axis.
; [07|paddleA|potX] - axis is directly mapped to analog paddle A. requires SID.
; [08|paddleB|potY] - axis is directly mapped to analog paddle B. requires SID.
; [09|lb|fire] - axis is one direction fire button.
; [10|rb|fire] - axis is one direction button mapped to paddle A.
; [11|mb|fire] - axis is one direction button mapped to paddle B.
axis01=ns
axis02=ew
axis03=none
axis04=none
axis05=none
axis06=none
; validate=
; Validate if pressed direction button are giving valid joystick direction
; valid states are: n, ne, e, se, s, sw, w, nw or neutral
; invalid states are fx: ns, ew, new ,nesw etc.. When invalid state is detected, the neutral state is applied
; buttons nor paddle never are validated.
; Default:
; validate=false
;
; Possible values:
; [00|false|off] - direction states are not validated.
; [01|true|on] - direction states are validated.
validate=false