frang75 / nappgui_src

SDK for building cross-platform desktop apps in ANSI-C

Home Page:https://www.nappgui.com

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Key names and keyboard

SamSandq opened this issue · comments

I am using keys a lot, match them with the symbolic names, like

ekKEY_QUEST, ekMKEY_COMMAND

and so forth.

The problem I had is that the key names (like ekKEY_QUEST) are based on the Spanish keyboard, which does not match the one I am using (Swedish/Finnish).

What I wanted was to implement zooming (on a photo) with ekKEY_PLUS, ekMKEY_COMMAND but when checking the keyboard layout discovered that the positions differ. I found the ekKEY_PLUS key on my keyboard's '¨' (two dots, like used in Spanish ü ).

This is more of a documentation issue, and perhaps should be mentioned in the docs.