Gerald Schnabel
154e749a42
joymapping: add Retro Games THEGAMEPAD
2022-04-11 01:02:35 +02:00
Gerald Schnabel
a50b16a06d
usb.c: add 8 bytes device descriptor read before and after set address
...
Fixes recognition of Speedlink Competition Pro USB joystick
2022-02-20 17:42:14 +01:00
Gyorgy Szombathelyi
759f34d0e0
hidparser: initialize report config
...
Fixes devices which doesn't return Report ID
2022-02-16 22:58:45 +01:00
Gyorgy Szombathelyi
4449d16271
Stupid stupid
2022-01-13 19:56:55 +01:00
Gyorgy Szombathelyi
915a6b01d3
Joymapping: fix ignored /core setting in mist.ini
...
+some fixes handling invalid entries, and a possible overflow
2022-01-13 18:40:25 +01:00
Gyorgy Szombathelyi
e514a1bdc4
CFG updates
...
- convert corename.cfg to INI format
- mistcfg.ini as global config, writable by the firmware
- interactive setup of joystick_remap via the OSD
2022-01-12 16:01:37 +01:00
Gyorgy Szombathelyi
073910d9bf
USB: query the device descriptor only once
2021-12-20 21:50:35 +01:00
Gyorgy Szombathelyi
903e89fccf
USB-RTC: allow returning time even in 12h mode
...
This way it's possible to configure the time of an
unitialized chip in the OSD
2021-12-12 20:28:09 +01:00
Gyorgy Szombathelyi
7af73052fc
USB: assign the address before the first query
2021-12-12 20:27:42 +01:00
Gyorgy Szombathelyi
30d6d40cc6
Restructured menu engine
...
- Common code for scrolling and paging
- Separate menu data from the menu engine
- Dialog box functions
- 6k less flash space
2021-12-07 19:52:15 +01:00
Gyorgy Szombathelyi
1021186251
USB: Support two sticks(4 axes)/gamepad
2021-11-27 17:03:57 +01:00
Gyorgy Szombathelyi
58d7dc2c30
Clear dev->vid and dev->pid, too
2021-11-22 23:38:46 +01:00
Gyorgy Szombathelyi
491d467a97
USB: vid and pid belong to the device, not interface
2021-11-21 21:10:22 +01:00
Gyorgy Szombathelyi
2345eb6626
HID: fix polling interval logic
2021-11-21 17:24:17 +01:00
Gyorgy Szombathelyi
a0f9d2f2b3
Add Xbox360 controller support
...
- tested only with a Retroflag classic USB gamepad
- no analogue parts yet (need a real controller for that)
2021-11-21 16:31:28 +01:00
Gyorgy Szombathelyi
196128c8c4
HID: query only the LangIDs
...
Retrobit gamepad breaks querying other strings
2021-09-29 18:03:52 +02:00
Gyorgy Szombathelyi
3c892c72e7
HID: more complete HAT switch handling
2021-09-06 17:43:03 +02:00
Gyorgy Szombathelyi
93a1220285
HID: fix signed joystick axis handling
2021-09-05 17:24:11 +02:00
Gyorgy Szombathelyi
2835cf1e92
Remove reduntant line
2021-09-03 23:00:04 +02:00
Gyorgy Szombathelyi
38b893b27b
HID: Read all string descriptors
...
Makes RETROFLAG Classic USB Gamepad return movement data
2021-08-31 15:32:54 +02:00
Gyorgy Szombathelyi
fb2997991b
menu: add an RTC config page
2021-08-25 02:09:00 +02:00
Gyorgy Szombathelyi
9193f06134
Move HW specific parts to hw/
2021-08-24 23:29:27 +02:00
Gyorgy Szombathelyi
e400ed30df
hardware.c: add InitRTTC() and GetRTTC() functions
2021-07-10 23:09:46 +02:00
Gyorgy Szombathelyi
840b2e0574
Move hexdump to utils
2021-06-09 00:14:50 +02:00
Gyorgy Szombathelyi
5829ba2f0f
Discard report id from USB HID report
2021-04-12 21:17:42 +02:00
Gyorgy Szombathelyi
fe7ee218bf
Asix: add AX88772A USB ID
2021-01-14 09:06:27 +01:00
Gyorgy Szombathelyi
1f3a4209ba
Send Ethernet config not just when the adapter is plugged in
2020-11-18 21:26:42 +01:00
Gyorgy Szombathelyi
d95b38d98c
Add 0b95:772B noname USB Ethernet adapter
2020-11-18 01:11:38 +01:00
Gyorgy Szombathelyi
ecad6622d1
Better mouse scaling (thanks AMR)
2020-10-11 22:59:28 +02:00
Gyorgy Szombathelyi
9df896cc4d
Add mouse_speed setting
2020-10-11 14:21:51 +02:00
Gyorgy Szombathelyi
6b24b874ea
Generic USB-RTC support
2020-07-25 18:59:55 +02:00
Gyorgy Szombathelyi
42fbeaa7cc
Support a second mouse (and send it to Minimig)
2020-06-14 00:55:25 +02:00
Gyorgy Szombathelyi
cf09e0c9de
TAB-SPACE cleanup
2020-06-14 00:04:18 +02:00
Gyorgy Szombathelyi
548b33c717
Support mouse wheel in USB + send mouse wheel events to Minimig
2020-06-13 20:03:38 +02:00
François Andriot
3e184afbf6
Add 'joystick_db9_fixed_index' option to mist.ini to prefer DB9 joysticks over USB joysticks
2020-06-07 15:35:56 +02:00
Ramon Martinez
a13b0349cf
Analogue joystick range scaling fix + dead zone management
...
* changed min value in joystick to absolute value (as it is always negative)
* dead zone management in analog joystick
* code cleanup
2020-02-14 19:55:48 +01:00
harbaum
6c1d6bd0ce
Support arduiono based keyboards
2020-01-07 11:01:50 +01:00
Gyorgy Szombathelyi
18f57bc3b9
Show up to 6, test up to 4 joysticks in the OSD + massive cleanup
2019-11-07 16:26:07 +01:00
Gyorgy Szombathelyi
03c3404413
Fix a buffer index error (count = 0 -> buffer index = -1) in joymapping
2019-04-18 19:08:31 +02:00
Gyorgy Szombathelyi
12974d0df6
Don't send digital USB joystick events continously
...
It just confuses joystick emulation
2019-04-18 18:11:28 +02:00
gyurco
10b5c1b8de
Merge pull request #28 from retrofun/debounce-virtual-joystick-keyboard
...
Debounce virtual joystick keyboard with more than one USB joystick
2019-03-24 22:03:19 +01:00
gyurco
4f8017cbbc
Merge pull request #29 from retrofun/joystick-status-osd
...
Update current joystick status in OSD USB status screen
2019-03-24 21:24:30 +01:00
Gerald Schnabel
2df225fc1c
Update current joystick status in OSD USB status screen
2019-03-22 20:52:31 +01:00
Gerald Schnabel
4f2d734107
Debounce virtual joystick keyboard with more than one USB joystick
2019-03-22 20:51:06 +01:00
Gerald Schnabel
acc5744d15
Add Speedlink SL-650212 Competition Pro Extra USB to known devices
2019-03-22 20:45:55 +01:00
hippi-viking
096765e744
unbreak cheap Chinese controllers
...
Vid:0079, Pid:0011 are used for very different cheap clone controllers, NES mapping breaks the Sega-style clones. Mist.ini is a better place to define the mapping instead of hardcoding it.
2018-12-26 21:55:29 +00:00
Gyorgy Szombathelyi
04e1a3b604
Support extra buttons on USB gamepads/joysticks
2018-10-06 15:29:11 +02:00
Rok Krajnc
23ad06e0fd
added ini option to disable joystick0 reordering (enables use of real DB9 Amiga mouse with attached USB joystick(s)).
2017-09-25 21:31:12 +02:00
Till Harbaum
e9e3dfa321
Disable LEDs on initialization
2017-04-12 20:04:25 +02:00
Till Harbaum
5e4286571f
Make LED animation on mist 1.3+ optional
2017-04-12 13:30:32 +02:00