![]() |
Re: [ANNOUNCE] NOKIA N900 Awesome Hardware Keyboard Layout for Programmers
For the love of god, in all that is holy, can someone tell me what 'menu' key does?
|
Re: [ANNOUNCE] NOKIA N900 Awesome Hardware Keyboard Layout for Programmers
Quote:
I borrowing that from this link: MaemoEmacs . I using it in emacs. |
Re: [ANNOUNCE] NOKIA N900 Awesome Hardware Keyboard Layout for Programmers
Made my variant + russian layout with switching by Shift-Space (with combined cursor keys, while english layout has distinct).
At github What do you think about: 1. Fix Fn-SH-h - dead_tilde - I get "~" only after second press 2. Something for Fn-SH-a, s, d, f, g, l? |
Re: [ANNOUNCE] NOKIA N900 Awesome Hardware Keyboard Layout for Programmers
Looks like the knowledge I added to that wiki page years ago has been helping people. Well, maybe not, most of the base knowledge was already there, I just clarified some stuff and added the section on multiple layouts (by means other than the stock ctrl+space toggle).
|
Re: [ANNOUNCE] NOKIA N900 Awesome Hardware Keyboard Layout for Programmers
Quote:
|
Re: [ANNOUNCE] NOKIA N900 Awesome Hardware Keyboard Layout for Programmers
About Delete not working in terminal: Use the key "KP_Delete" for the delete key mapping instead of whatever the more intuitive one was called (I already forgot the name of the other Delete key for xkb). That's the one I've been using for years on my N900 and it works perfectly, near as I can tell, everywhere.
Quote:
For the record, another way (just reiterating even though it's in the wiki, for those who don't read that part of it), if you find hitting both shift and fn simultaneously a lot more natural, is to simply leave one of those keys at the fourth level completely unmapped. Then it works to just print the one key, for either of the paired keys. Quote:
That said, I believe programs COULD override this behavior. Now, to answer your query, with a keymapping that doesn't alter ctrl+[arrow] specifically, MicroB still uses those as tab and shift-tab. Modifying the xkb behavior to allow ctrl+key combos would require you to also modify the file where the groups are defined. Then you can test if Micro-B still overrides... The N900 I'm on with at the moment is about to lose battery power, so I'm going to edit this post from another one as soon as I've re-found where the keygroup behaviors are defined. |
Re: [ANNOUNCE] NOKIA N900 Awesome Hardware Keyboard Layout for Programmers
Thanks to the useful and detailed info on the wiki; I made my own keyboard layout. It's mostly based on vi_'s keymap but I added on the fourth-level: dead ` on F-key, dead ´ on G-key, dead ¨ on .:-key. Also I re-fixed the Euro-character he removed.
Still, it sucks that qt-application refuse to follow xkbmap, or partially. It doesn't follow all fourth-level keys, however it DOES follow the dead-characters I added on the above mentioned keys... Weird! =/ Edit: According to Mentalist, some programms use KP_delete. to tackle this once and forever, I was thinking of some construction like this [CODE key <DEL> {[ KP_Delete ] }; key <KPDL> {[ Delete ] }; [/CODE] This doesn't work as expected, unfortunately :( Any ideas? |
Re: [ANNOUNCE] NOKIA N900 Awesome Hardware Keyboard Layout for Programmers
Quote:
The various key level groupings are in /usr/share/X11/xkb/types/ There's many files in there, and they're all apparently read by xkb when looking for the key map 'type'. So if you want to experiment with a Ctrl+[key] key map type, you can just make your own test file in there... I THINK. There's more to how xkb does that then just those files, but it's been years since I've looked around there in-depth. |
Re: [ANNOUNCE] NOKIA N900 Awesome Hardware Keyboard Layout for Programmers
Quote:
Code:
key <BKSP> { [ BackSpace, BackSpace, KP_Delete, Escape ] }; |
Re: [ANNOUNCE] NOKIA N900 Awesome Hardware Keyboard Layout for Programmers
I know that just works but from experience with the KP_enter issue (fixed by CSSU) is that certain programms failed to recognize KPEN and/or normal Return. A fix has be implemented to map KP_enter to Return and the other way round, no matter what enter was pressed it will always work. What I wanted to achieve is 100% compatibility ;)
For now I will go with the KP_Delete then ;) |
All times are GMT. The time now is 15:50. |
vBulletin® Version 3.8.8