OESF Portables Forum
Everything Else => General Support and Discussion => Zaurus General Forums => Archived Forums => Software => Topic started by: Zuber on June 04, 2004, 01:59:11 pm
-
Anyone figured out what keycode to use to get a £ (UK pound sign) in keyhelper.
I can get it off the virtual keyboards, but the keyhelper config program does not accept virtual keyboard inputs, so I can\'t get it to gen. the code for me.
-
OK,
I guess I\'m the only person with a Zaurus that uses £££
Roll on joining the Euro...
-
root@zaurus(pts0):~# grep -i sterling /usr/X11R6/include/X11/keysymdef.h
#define XK_sterling 0x0a3
Never used this xkeyhelper but for xmodmap the string \'sterling\' works as do the numbers 163 or 0xa3 (and the string \'pound\' works for loadkeys).
-
From /opt/Qtopia/include/qnamespace.h:
Key_sterling = 0x0a3
-
Zuber
I assumed that it was a data entry & display problem, for example Hancock Word can\'t display a £ sign entered into a document on a PC, interestingly, I can copy the rectangle from Hancock Word to StageOne where it is displayed correctly.
I use the £ symbol all the time, so I would be interested in a solution that would work for all applications.
Mike
-
Not sure exactly what is going on.
Tried the suggestions above, but crashed and burned.
Interestingly, Fn + I is called \"Sterling\" in KeyHelper Config. But it does not generate a £ in any of the apps. Not tried it in Stage One.
I currently get £ from using the virtual unicode keyboard. This has a £ and it is correctly reproduced. I guess this is mapped to a different character to \"Sterling\" Fn +I
A Solution would be nice...
Not tried it on stage one, but
-
Bump...
Final call on this one I guess. If nobody has any other ideas, I guess I can resign myself to the virtual Unicode keyboard.
Just seams ashame, as it looks possible...
-
I\'ve just tried this with my Pocketop keyboard by using IRK to map one of the keys to send the code 0xa3 (163 decimal), and it works fine. Up comes the £ sign, just like you\'d expect...
-
OK thanks.
Either I\'m overlooking something or it is a KeyHelper thing.
-
Got it
Following text in keyhelper does the job.
<define code=<\"200a\">
<map key=\"sterling\"/>
<map_unicode code=\"00A3\"/>
</define>
First line just assigns it to Fn + 6 (Looks a little bit like a pound sign if you squint...
Not sure what the second line does, but does not work without it. It does not even need to say \"sterling\" I just put that in there because it looks neater. Does have to contain a valid entry though. e.g. Give same result if it had \"yen\" in it.
Perhaps someone else can explain the how/why it works.
Anyway, in principle should be good for whatever unicode character you want...
-
Zuber
Just been looking for a £ key after upgrading to Cacko ROM, which has keyhelper as standard.
Fn+P displays a £ character, P for Pound should be reasonably easy to remember.
Works in Hancom Word & StageOne.
I used copy £ from a Word file, displayed correctly in StageOne but not in Hancom Word.
Mike
-
Interesting
The £ that I copied from a Word document is not the same one thats generated using Fn+P, the second one looks like this ₤, with 2 bars through the upright.
Mike