1
0
mirror of https://github.com/mist-devel/mist-firmware.git synced 2026-02-19 13:35:09 +00:00
Commit Graph

93 Commits

Author SHA1 Message Date
Gyorgy Szombathelyi
62139481d2 Add joystick_disable_swap option 2024-01-05 23:40:01 +01:00
gyurco
3f3ef9936d Merge pull request #103 from retrofun/typo_fixes
Fix several typos
2023-03-12 20:35:50 +01:00
Gerald Schnabel
02bcff4b43 Fix several typos 2023-03-12 20:13:49 +01:00
Gerald Schnabel
259c2f6cde System status page 2023-02-16 22:21:39 +01:00
Gyorgy Szombathelyi
b626e1697c USB: overflow-safe timers 2022-08-04 20:47:44 +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
f3978a8eb9 USB: add eptype to the endpoint struct 2022-07-28 23:01:16 +02: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
1021186251 USB: Support two sticks(4 axes)/gamepad 2021-11-27 17:03:57 +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
38b893b27b HID: Read all string descriptors
Makes RETROFLAG Classic USB Gamepad return movement data
2021-08-31 15:32:54 +02:00
Gyorgy Szombathelyi
9193f06134 Move HW specific parts to hw/ 2021-08-24 23:29:27 +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
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
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
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
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
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
sorgelig
e76da03c85 Keyrah: use Keypad keys for Mouse/Joystick emulation. Joystick buttons: LCtrl, LShift, LAlt, LGUI. Mouse buttons: KP7, KP9. Direction keys: KP8, KP5/KP2, KP4, KP6. Give KP(, KP) for cores. Use FN+KP(/KP) to switch Mouse/Joystick emulation. Correct HELP key code. 2016-12-24 01:31:01 +08:00
sorgelig
3d4bf9eaa6 Keyrah: Use LCtrl+LAmiga+LAmiga for Minimig reset. 2016-12-23 06:28:21 +08:00
sorgelig
62b6aead5e Keyrah: Fn+LCtrl+LAmiga+LAmiga - hard reset. 2016-12-23 04:03:38 +08:00
sorgelig
a400aedf2b HID: add special handling for Keyrah V2. 2016-12-23 02:05:59 +08:00
sorgelig
00fea219ee Store VID/PID for all HID devices. 2016-12-23 02:04:35 +08:00
Newsdee
3831e44d7e Working joy2 test 2016-06-26 10:48:52 +08:00
Newsdee
ba8c650c7f Cleanup modifier display (still unactive) 2016-06-26 00:24:02 +08:00
Newsdee
48955e1ada more cleanup 2016-06-25 23:56:03 +08:00
Newsdee
3ee226bf9e reduced code a bit 2016-06-25 23:19:49 +08:00
Newsdee
8e4abd91a7 Restored USB Id1 2016-06-25 22:27:28 +08:00
Newsdee
e7cf99581a Merge commit '28d07350bbd9e7c5823ac499e9c21e722eb9c267' into firmware_160610
# Conflicts:
#	osd.c
#	usb/hid.c
#	user_io.c
2016-06-25 13:24:22 +08:00
Newsdee
28d07350bb Working turbo/autofire function (now needs config) 2016-06-19 14:54:34 +08:00
Newsdee
e8f2602586 Refactored joystick code with new mist_joystick_t data strucutre.
Preparatory work to support turbo/autofire on joystick buttons.
(doesn't yet work with cores)
2016-06-19 12:44:20 +08:00