Re: [hatari-devel] Joystick mode shortcuts (was: SDL GUI keyboard shortcuts) |
[ Thread Index |
Date Index
| More lists.tuxfamily.org/hatari-devel Archives
]
Hi,
On torstai 21 elokuu 2014, Thomas Huth wrote:
> schrieb Eero Tamminen <oak@xxxxxxxxxxxxxx>:
> > I would actually like to have separate AltGr shortcut for each
> > joystick (AltGr 0, AltGr 1 etc), which would switch given joystick
> > between disabled, keyboard and real joystick. Would that cause
> > any problems? Or is there some other, more deserving config
> > change you think should be bound to AltGr+<number>?
>
> Basically fine for me ... the only thing that comes to my mind is that
> some other emulators like ScummVM are mapping graphic effects to the
> number keys, e.g. for selecting the scaling method.
> With SDL2 we now might want to have something like this, too (by setting
> the SDL_HINT_RENDER_SCALE_QUALITY).
> So maybe better go for the function keys for changing the joystick mode?
I added AltGr shortcuts for switching ST joysticks and STE joypads.
This uses F1-F4.
I also added preliminary code for SDL GUI joystick navigation.
(Fairly straight copy from SDL examples, no calibration nor
mapping of joystick axis.)
- Eero