Active Topics

 


Reply
Thread Tools
Posts: 46 | Thanked: 36 times | Joined on Sep 2008
#1
Hey guys, some questons on remapping the keyboard:
1. has anyone succeeded in getting PgUp, Pgdn mapped by modifying rx-44?
1b. Possible to remap pgup,pgdn to the shift+up-down-left-right keys?
2. How about changing the chr key to a control key?
3. Or, as an alternative to 2), anyone know how to get a stickied or locked control, a la the shift?
4. Im thinking of having the left shift key be a control key since shift is sticķied and ctrl isn't, so i need 2 of them...
 
Posts: 227 | Thanked: 53 times | Joined on Feb 2008 @ Lyon, France
#2
Originally Posted by q335r49 View Post
1. has anyone succeeded in getting PgUp, Pgdn mapped by modifying rx-44?
1b. Possible to remap pgup,pgdn to the shift+up-down-left-right keys?
I tried in the past, without any success.

I would also like to know how the Chr rules can be changed. For instance, Chr+e (without releasing Chr) gives é, Chr+e+e gives è, Chr+e+e+e gives ë, and so on. I would like to modify these sequences, e.g. so that Chr+j give [, Chr+k give ], Chr+g give { and Chr+h give }.
 
Posts: 1,224 | Thanked: 1,763 times | Joined on Jul 2007
#3
Currently, CHR key is not handled by the XKB, but by something else (probably hildon-input-something).

See in

http://my.arava.co.il/~matan/770/rx-44-he

For an example of changing this situation - CHR becomes a normal modifier key, with shift+CHR used as CHR lock. This cancels CHR's special meaning, so if you use something like this, make sure you put all symbols you need in the key map.
 
Posts: 227 | Thanked: 53 times | Joined on Feb 2008 @ Lyon, France
#4
Originally Posted by Matan View Post
For an example of changing this situation - CHR becomes a normal modifier key, with shift+CHR used as CHR lock. This cancels CHR's special meaning, so if you use something like this, make sure you put all symbols you need in the key map.
I'd rather stick to the standard Chr behavior, which is more powerful: one can have access to several characters mapped to a single key.
 
Andre Klapper's Avatar
Posts: 1,665 | Thanked: 1,649 times | Joined on Jun 2008 @ Praha, Czech Republic
#5
I wonder whether http://www.internettablettalk.com/fo...ad.php?t=14698 is related (virtual keyboard though, not input-methods). Maybe not. :-P
__________________
maemo.org Bugmaster
 
Posts: 227 | Thanked: 53 times | Joined on Feb 2008 @ Lyon, France
#6
I don't think it is related. The files mentioned in this thread seem to be about virtual keyboards only (I decoded en_US.vkb as documented).

Information for the physical keyboard is in the /usr/share/X11/xkb/symbols/nokia_vndr/rx-44 file. I just don't know why I couldn't remap cursor keys + shift (I suppose that there are other things under /usr/share/X11/xkb to change because cursor keys are a bit special).

I couldn't find where the Chr sequences are defined. They don't even necessarily depend on the keyboard.

The thread also refers to http://idoru.metadreams.net/~kimju/s...mo/decode_vkb/, which mentions a document How to extend Hildon Input Methods (the URL was no longer valid, I found the new one with Google). However this seems to be about the virtual keyboards only. I've quickly looked at the documentation for Diablo, but couldn't find anything.

Edit: that may be here: Extending Hildon Input Methods.

Last edited by vinc17; 2008-12-29 at 17:34.
 
johnkzin's Avatar
Posts: 1,878 | Thanked: 646 times | Joined on Sep 2007 @ San Jose, CA
#7
By cursor keys, do you mean the dpad? Because the dpad pre-dates the N810. So, I would expect that the file where you manipulate cursor keys is a file that's common to both the N810 and the N800.
__________________
My Personal Blog
 
Posts: 227 | Thanked: 53 times | Joined on Feb 2008 @ Lyon, France
#8
Originally Posted by johnkzin View Post
By cursor keys, do you mean the dpad?
I don't know the official name. The pad with the 5 buttons/keys on the left.

Originally Posted by johnkzin View Post
Because the dpad pre-dates the N810. So, I would expect that the file where you manipulate cursor keys is a file that's common to both the N810 and the N800.
I don't think so. The rx-44 file (which is specific to the N810) contains:
Code:
    key <KPEN>  {       [       Return          ]       };
    key <UP>    {       [       Up              ]       };
    key <DOWN>  {       [       Down            ]       };
    key <LEFT>  {       [       Left            ]       };
    key <RGHT>  {       [       Right           ]       };
I suppose that corresponds to this pad. These are these lines I tried to modify (by adding symbols, like for the other lines) in the past.
 
johnkzin's Avatar
Posts: 1,878 | Thanked: 646 times | Joined on Sep 2007 @ San Jose, CA
#9
Originally Posted by vinc17 View Post
I don't know the official name. The pad with the 5 buttons/keys on the left.
Yeah, the dpad. Short for "directional keypad". Like on video game controllers and cell phones.

I don't think so. The rx-44 file (which is specific to the N810) contains:
Code:
    key <KPEN>  {       [       Return          ]       };
    key <UP>    {       [       Up              ]       };
    key <DOWN>  {       [       Down            ]       };
    key <LEFT>  {       [       Left            ]       };
    key <RGHT>  {       [       Right           ]       };
I suppose that corresponds to this pad. These are these lines I tried to modify (by adding symbols, like for the other lines) in the past.
It might. But it might not. Do your changes work when you are using an external keyboard, and its arrow keys? The dpad might be defined independently of things like that.
__________________
My Personal Blog
 
Posts: 227 | Thanked: 53 times | Joined on Feb 2008 @ Lyon, France
#10
Originally Posted by johnkzin View Post
Do your changes work when you are using an external keyboard, and its arrow keys?
I've never used as external keyboard (and I don't have one).
 
Reply


 
Forum Jump


All times are GMT. The time now is 23:02.