Re: [hatari-devel] Keyboard shortcut to toggle Atari borders?

[ Thread Index | Date Index | More lists.tuxfamily.org/hatari-devel Archives ]


Am Sun, 19 Nov 2017 13:23:44 +0200
schrieb Eero Tamminen <oak@xxxxxxxxxxxxxx>:

> Hi,
> 
> On 07/20/2017 06:16 PM, Matthias Arndt wrote:
> > Am Wed, 19 Jul 2017 22:27:55 +0300
> > schrieb Eero Tamminen <oak@xxxxxxxxxxxxxx>:
> >> On 07/19/2017 08:42 PM, Matthias Arndt wrote:
> >>> I noticed that I tend to toggle Atari border emulation more often
> >>> since I exchanged my monitor for a more recent 16:9 one.
> >>>
> >>> Would it be possible to add a keyboard shortcut for this?
> >>
> >> Hm.  At least AltGr + B shortcut combination is still free...
> > 
> > Sounds reasonable.
> > 
> >>
> >> Can you propose a patch?
> > 
> > Hardly as I don't know where to add which hooks in order not to
> > break anything.
> > 
> > I am not fully fluent in the current Hatari code base.
> 
> Attached is patch implementing Borders shortcut, could you try it?

I think you don't have to add anything new to the
configs_ShortCut*Mod_Sdl1 arrays since they are only used for
loading legacy config files, but not for saving new data.

And I think you also have to adapt gui-sdl/dlgKeyboard.c for
the new shortcut accordingly.

 Thomas



Mail converted by MHonArc 2.6.19+ http://listengine.tuxfamily.org/