OESF Portables Forum

Everything Else => Sharp Zaurus => Model Specific Forums => Distros, Development, and Model Specific Forums => Archived Forums => C1000/3x00 General discussions => Topic started by: gab74 on October 15, 2005, 09:22:41 am

Title: Keyhelper : Del Code ?
Post by: gab74 on October 15, 2005, 09:22:41 am
I want to map Del key in my Z c3100 but i dont know what is the code ?
Anyone can help me ?

What is the Del code ?
Title: Keyhelper : Del Code ?
Post by: qx773 on October 18, 2005, 07:19:59 am
127?  If you mean backspace, then the code is 8, which corresponds to Ctrl H.
Title: Keyhelper : Del Code ?
Post by: gab74 on October 18, 2005, 02:27:12 pm
thanks for your attention but i dont mean backspace but DEL key
i see in
 /usr/X11R6/include/X11/keysymdef.h

there is

#define XK_Cancel      0xFF69   /* Cancel, stop, abort, exit */
 and

#define XK_Delete      0xFFFF   /* Delete, rubout */


i try to

<define Key="F21">
<map code="FF69"/>
<map_unicode code="FF69"/>
</define>

but it doesent work......
Title: Keyhelper : Del Code ?
Post by: bam on October 18, 2005, 03:52:11 pm
yea, this would be nice, since there is a DEL Fn button, upper right key, normally the backspace
Title: Keyhelper : Del Code ?
Post by: qx773 on October 23, 2005, 04:18:12 am
Are you sure that you are using the right syntax for the keyhelper.xml file?  In my keyhelper.xml file, all references to the word "key" are in lower case.  I do not see any instance of "map code" but rather "map key".  Also, it is not enough to modify the keyhelper.xml file.  You have to use

khctl restart

to stop and start keyhelper.  I am using KeyHelper on the Sharp ROM.