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
Newsdee
d37127485a
Restrict joystick test to only show buttons declared by joystick (like in Windows)
2016-06-19 00:17:46 +08:00
Newsdee
8099bbb16a
added reporting of additional virtual joystick buttons (X, Y, L, R, L2, R2, L3,R3).
2016-06-06 00:25:59 +08:00
Newsdee
0b41f47263
Added OSD reporting for Joystick 2
2016-06-05 21:49:19 +08:00
Newsdee
5ac081e365
Added display of USB raw status in joystick test screen.
...
Added override of core name from HDL version string ("V0;<text>").
2016-06-05 14:49:15 +08:00
Newsdee
d892cdb569
[FIRMWARE] 8-Bit OSD improvements
...
- new Joystick test screen (Joy 1 only for now)
- new About screen (copied from Minimig)
- new logo for MiST (replacing Minimig log)
- added help scroll text on various screens
- minor fixes to joy->key mapping
2016-05-30 23:30:02 +08:00
Newsdee
ba0c4e9426
[FIRMWARE] refactored virtual joystick to keyboard mapping into a separate file.
2016-05-22 13:26:19 +08:00
Newsdee
05a566c37f
[FIRMWARE] refactored virtual joystick mapping to a separate file.
...
added default mapping for NEOGEO-daptor.
2016-05-22 11:22:54 +08:00
sorgelig
16de8904ab
Enable F1-F12 keys on Logitech K400r and similar keyboards.
2016-01-11 13:34:00 +08:00
Till Harbaum
8ac4d7ab34
gcc 5.2.0 warnings fix
2015-10-11 20:15:04 +02:00
newsdee
abcca0b6c0
[FIRMWARE] Fix default mapping of some USB controllers. Added default mapping for Royds Stick.EX.
2015-07-13 14:25:20 +00:00
newsdee
e281c6f883
[FIRMWARE] bugfix: prevent resetting keyboard if no joy2key mappings are present.
2015-07-04 10:11:02 +00:00
newsdee
a648fd14e4
[FIRMWARE] joy2key: fixed handling of modifier keys
2015-06-29 16:33:10 +00:00
newsdee
193ca9c0aa
[FIRMWARE] Fixed sticky keys when using joy2key mapping
2015-06-29 03:37:31 +00:00
newsdee
8e3de88e32
remove debug print from last commit
2015-06-29 03:18:24 +00:00
newsdee
8d98a83641
[FIRMWARE} added option joystick_ignore_osd - prevents joystick from controlling OSD
...
Added feature to map virtual joystick state to a keyboard key (via bitmask), not working yet for shift/alt keys.
2015-06-29 03:17:17 +00:00
newsdee
ee3954df5b
[FIRMWARE] Added mouse emulation shortcut (push SELECT + directions,L,R), Added ESC and F1 as shortcuts with START (L and R respectively).
2015-06-22 13:45:56 +00:00
newsdee
bf57a9547a
[FIRMWARE] New logical joystick mapper allowing assigning any USB recognized button (up to 12) and directions into a standard MiST "virtual joystick".
...
Each physical trigger is assigned to a 16-bit integer used as bitmask to apply to logical josytick. Config can be provided in mist.ini.
2015-06-21 14:35:20 +00:00
newsdee
fabb1480c6
[FIRMWARE] new joypad mapping functionality (which exposes up to 12 hardware buttons and can map from/to directions)
2015-06-18 15:57:01 +00:00
harbaum
261d5265c9
[FIRMWARE] Joystick button remap from mist.ini
2015-06-16 19:02:32 +00:00
newsdee
ffe58c8e48
[FIRMWARE] added USB joystick->keyboard shortcuts:
...
- btn 4 + btn 1 = Enter
- btn 4 + btn 2 = Space bar
- btn 4 + btn 3 = open OSD
Also added control of the OSD via joystick:
- up/down/left/right : arroy keys, use btn3 for pgUp/pgDown
- btn 1 : select
- btn 2 : cancel / back
The new feature can be disabled by adding "joystick_disable_shortcuts=1" to mist.ini
2015-06-14 14:07:04 +00:00
newsdee
88c237ed08
[FIRMWARE] allow using joystick hat at the same time as the analog stick. also fixed mappings for Qanba Q4RAF joystick.
2015-06-12 16:15:42 +00:00
newsdee
d44de866fc
[FIRMWARE] refined joystick mappings for a few devices
2015-06-09 14:33:30 +00:00
newsdee
27bd710c26
[FIRMWARE] updated joystick mappings for several USB devices
2015-06-07 01:24:00 +00:00
harbaum
2687693f33
[FIRMWARE] Improved minimig keyboard wait ...
2015-06-05 11:17:10 +00:00
harbaum
1ac253c864
[FIRMWARE] Test version with support for HATs on USB gamepads
2015-05-24 20:19:02 +00:00
harbaum
0aea286549
[FIRMWARE] More beta HID parser work. Fixing Rii wireless keyboard/touchpad
2015-04-27 19:18:09 +00:00
harbaum
6640dc5547
[FIRMWARE] Experimental change not requiring HID boot mode on mice anymore
2015-04-24 11:45:23 +00:00