Re: [hatari-devel] Hatari keyboard mapping

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


Miguel,

Actually, I have already set my keyboard preferences to use set the function keys to be standard keys. Unfortunately, I do not see the scan code changing in Hatari whether I press fn or not. However, I have resolved the problem with Thomas’ help by reassigning F11 to Help and F12 to Undo. That works for me.

Bob


On Feb 12, 2017, at 10:27 AM, Cocoa Pod <cocoa.pod@xxxxxxx> wrote:

On Mac, function keys 1...8 have two modes. See "preferences system / keyboard" -> "Use all F1, F2 etc keys as standard keys .......etc "
Keys 9 to 12 have modes more complicated with use of "alt" and/or "ctrl".
You can experiment result with  "Key Codes.app".  Perhaps this help you.
 
 Miguel

Bob, the doc-directory is of course included in the .dmg:s I create.

/Troed


On Sun, Feb 12, 2017 at 3:45 PM, Bob Carpenter <hatari@xxxxxxxxxx> wrote:
Thomas,

Thank you for the information. I agree that the Ctrl was not a good example. I was hoping to use the Mac Command key (corresponds to Windows key) with a function key for the Help and Undo keys. Unfortunately, unlike a PC keyboard, there are very few unused keys on a Mac keyboard.

I still hope to see the HTML manual updated because OS X users will rarely download the source code to even see the doc directory.

I have one other question. Using the SDL menu, I was trying to remove the Without modifier option for both Toggle fullscreen and Edit Settings. I could not find a way to tell Hatari that I did not want any key to represent these shortcuts. I only wanted to use the “With modifier” option. Most of my settings files are saved in the pre-2.0 format. They probably go back many versions of Hatari. Somehow, I did get the “Without modifier” setting to not have a key in one of the setting files and I simply saved that setting file with the new settings. I tried going directly to the .cfg files and removing the shortcut key, but that did not help.

Bob C


> On Feb 12, 2017, at 12:58 AM, Thomas Huth <th.huth@xxxxxx> wrote:
>
> Hi Bob,
>
> Am Thu, 2 Feb 2017 06:34:09 -0600
> schrieb Bob Carpenter <hatari@xxxxxxxxxx>:
>
>> Is there a way I can use modifier keys in keymap.txt? For example,
>> use Ctrl-F11,98 for the Help key?
>
> No, but I think it also does not make much sense, since an Atari
> program might also listen to CTRL-HELP ... and how do you tell the
> Atari side that the CTRL modifier is pressed if it is already used on
> the host side for selecting the key? So no, modifier keys can not really
> be used here.
>
>> Thanks again for your help. Hopefully, the manual can be updated with
>> the new keymap information for SDL2.
>
> It's mentioned in the keymap-sample.txt file in the docs directory.
>
> Thomas
>
>









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