1
0
mirror of https://github.com/mist-devel/mist-firmware.git synced 2026-02-11 10:14:41 +00:00
Commit Graph

142 Commits

Author SHA1 Message Date
Gerald Schnabel
db1dda26dd Tweak USB storage recognition 2022-09-13 23:15:04 +02:00
Gerald Schnabel
be0e1bcdd6 Fix compiling without usb storage support 2022-08-05 21:43:05 +02:00
Gyorgy Szombathelyi
b626e1697c USB: overflow-safe timers 2022-08-04 20:47:44 +02:00
Gyorgy Szombathelyi
9c1fb3ba76 USB: add some grace time after address setup 2022-08-04 16:48:08 +02:00
Gyorgy Szombathelyi
dbd05d5aa3 Add joystick_dead_range setting 2022-08-01 18:20:21 +02:00
Gyorgy Szombathelyi
cd9bfd98da Send all input coordinates to OSD state 2022-07-29 14:05:41 +02:00
Gyorgy Szombathelyi
c32cb78e56 USB: parse endpoint data for HUBs 2022-07-28 23:01:37 +02:00
Gyorgy Szombathelyi
0cbe721046 USB: get ep0 max packet size from the initial descriptor 2022-07-28 23:01:26 +02:00
Gyorgy Szombathelyi
b8b3c27af5 USB: factor out the max3421e driver from usb.c 2022-07-28 23:01:21 +02:00
Gyorgy Szombathelyi
f3978a8eb9 USB: add eptype to the endpoint struct 2022-07-28 23:01:16 +02:00
Gyorgy Szombathelyi
370c4c8ed8 Resurrect USB storage driver (host) 2022-07-10 21:08:21 +02:00
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