geekhack
geekhack Community => Keyboards => Topic started by: janlonden on Thu, 23 April 2015, 02:17:41
-
So I've set my pn layer to colemak, but I'm wondering if it's possible to program special characters and international characters such as äåö to the pn layer of the poker 2?
To not have to install or change layouts on other computers would be awesome.
-
Obviously not. Standard keyboards send codes that are interpreted by the OS.
If you're on GNU/Linux, run `sudo showkey`. (There are probably similar tools for other systems too.) Press the key next to Tab on an ordinary keyboard. `showkey` prints 16. If the software is set to QWERTY, this 16 is interpreted as Q. If it's set to AZERTY, 16 is translated to A.
This keyboard programming (such as on Poker 2) only assigns a different code to the physical key. For example, the key next to Tab will return code 39 (instead of 16), if the keyboard is set to Dvorak Simplified keyboard layout. If the system is set to US QWERTY, then 39 is interpreted as semicolon. If it's set to French AZERTY, then 39 corresponds to M.
Some special codes for "international" keys exist in the standard, but I don't think they're generally well supported.
One way to type characters without touching software keymap is to program certain keys to *macros* that make the OS input an Unicode character. For example, the macro for typing the letter ä would be <Alt press, 1, 3, 2, Alt release>, but only in MS Windows, because X.Org and apparently OS X use different hotkeys for Unicode.
-
Obviously not. Standard keyboards send codes that are interpreted by the OS.
If you're on GNU/Linux, run `sudo showkey`. (There are probably similar tools for other systems too.) Press the key next to Tab on an ordinary keyboard. `showkey` prints 16. If the software is set to QWERTY, this 16 is interpreted as Q. If it's set to AZERTY, 16 is translated to A.
This keyboard programming (such as on Poker 2) only assigns a different code to the physical key. For example, the key next to Tab will return code 39 (instead of 16), if the keyboard is set to Dvorak Simplified keyboard layout. If the system is set to US QWERTY, then 39 is interpreted as semicolon. If it's set to French AZERTY, then 39 corresponds to M.
Some special codes for "international" keys exist in the standard, but I don't think they're generally well supported.
One way to type characters without touching software keymap is to program certain keys to *macros* that make the OS input an Unicode character. For example, the macro for typing the letter ä would be <Alt press, 1, 3, 2, Alt release>, but only in MS Windows, because X.Org and apparently OS X use different hotkeys for Unicode.
I was afraid of that. Thanks anyway.
I guess I'll have to buy a keyboard with colemak built in, like pok3r. Does anyone know of a cheap one that has colemak?
-
Obviously not. Standard keyboards send codes that are interpreted by the OS.
If you're on GNU/Linux, run `sudo showkey`. (There are probably similar tools for other systems too.) Press the key next to Tab on an ordinary keyboard. `showkey` prints 16. If the software is set to QWERTY, this 16 is interpreted as Q. If it's set to AZERTY, 16 is translated to A.
This keyboard programming (such as on Poker 2) only assigns a different code to the physical key. For example, the key next to Tab will return code 39 (instead of 16), if the keyboard is set to Dvorak Simplified keyboard layout. If the system is set to US QWERTY, then 39 is interpreted as semicolon. If it's set to French AZERTY, then 39 corresponds to M.
Some special codes for "international" keys exist in the standard, but I don't think they're generally well supported.
One way to type characters without touching software keymap is to program certain keys to *macros* that make the OS input an Unicode character. For example, the macro for typing the letter ä would be <Alt press, 1, 3, 2, Alt release>, but only in MS Windows, because X.Org and apparently OS X use different hotkeys for Unicode.
I was afraid of that. Thanks anyway.
I guess I'll have to buy a keyboard with colemak built in, like pok3r. Does anyone know of a cheap one that has colemak?
not "cheap" but iirc the Code on Wasdkeyboards.com had Colemak and dvorak.
-
There's no keyboard that supports AltGr layers or non-ASCII characters altogether "in hardware" (or firmware for that matter, because it'd require special drivers).
You're always better off using a custom keymap in software, if you need to enter non-ASCII characters.
-
Obviously not. Standard keyboards send codes that are interpreted by the OS.
If you're on GNU/Linux, run `sudo showkey`. (There are probably similar tools for other systems too.) Press the key next to Tab on an ordinary keyboard. `showkey` prints 16. If the software is set to QWERTY, this 16 is interpreted as Q. If it's set to AZERTY, 16 is translated to A.
This keyboard programming (such as on Poker 2) only assigns a different code to the physical key. For example, the key next to Tab will return code 39 (instead of 16), if the keyboard is set to Dvorak Simplified keyboard layout. If the system is set to US QWERTY, then 39 is interpreted as semicolon. If it's set to French AZERTY, then 39 corresponds to M.
Some special codes for "international" keys exist in the standard, but I don't think they're generally well supported.
One way to type characters without touching software keymap is to program certain keys to *macros* that make the OS input an Unicode character. For example, the macro for typing the letter ä would be <Alt press, 1, 3, 2, Alt release>, but only in MS Windows, because X.Org and apparently OS X use different hotkeys for Unicode.
I was afraid of that. Thanks anyway.
I guess I'll have to buy a keyboard with colemak built in, like pok3r. Does anyone know of a cheap one that has colemak?
not "cheap" but iirc the Code on Wasdkeyboards.com had Colemak and dvorak.
I'm aware of das. But I prefer pok3r, plus it's cheaper :)
-
There's no keyboard that supports AltGr layers or non-ASCII characters altogether "in hardware" (or firmware for that matter, because it'd require special drivers).
You're always better off using a custom keymap in software, if you need to enter non-ASCII characters.
So the das CODE and pok3r in colemak mode don't support altgr characters?
-
There's no keyboard that supports AltGr layers or non-ASCII characters altogether "in hardware" (or firmware for that matter, because it'd require special drivers).
You're always better off using a custom keymap in software, if you need to enter non-ASCII characters.
So the das CODE and pok3r in colemak mode wouldn't support altgr characters?
Correct.
FWIW It's WASD Code, not Das. WASD and Das are two different companies.
-
There's no keyboard that supports AltGr layers or non-ASCII characters altogether "in hardware" (or firmware for that matter, because it'd require special drivers).
You're always better off using a custom keymap in software, if you need to enter non-ASCII characters.
So the das CODE and pok3r in colemak mode wouldn't support altgr characters?
Correct.
FWIW It's WASD Code, not Das. WASD and Das are two different companies.
If that's correct then they are worthless really, at least for me hehe.
You might just have saved me some money, thanks :D