Author Topic: Changing The Keymap  (Read 5183 times)

pitr

  • Newbie
  • *
  • Posts: 11
    • View Profile
    • http://peter-b.co.uk/
Changing The Keymap
« on: May 08, 2005, 04:41:39 pm »
Is it possible to alter the keymap on the Sharp ROM?  I ask because I've just installed microemacs (having been totally unable to get full GNU Emacs built for the Z   ) and I can't work out how where the Alt/Meta key is.

Or am I on a hiding to nothing and it would be better to install OZ?

 
Proud owner of a C-3000

iamasmith

  • Hero Member
  • *****
  • Posts: 1248
    • View Profile
Changing The Keymap
« Reply #1 on: May 08, 2005, 07:42:54 pm »
Quote
Is it possible to alter the keymap on the Sharp ROM?  I ask because I've just installed microemacs (having been totally unable to get full GNU Emacs built for the Z   ) and I can't work out how where the Alt/Meta key is.

Or am I on a hiding to nothing and it would be better to install OZ?

 
[div align=\"right\"][{POST_SNAPBACK}][/a][/div]

You need keyhelper.

Here's the site..

[a href=\"http://tbox.jpn.org/linuzau]http://tbox.jpn.org/linuzau[/url]

It's in Japanese but if you use babelfish you should be able to read it.

- Andy
OpenBSD 4.2 -current on full 4Gb of SL-C3000
Microdrive replaced with 4Gb SanDisk Extreme III card

Stubear

  • Hero Member
  • *****
  • Posts: 1164
    • View Profile
    • http://
Changing The Keymap
« Reply #2 on: May 10, 2005, 09:05:13 am »
Here's a short how-to in English on getting KeyHelper to do various stuff

https://www.oesf.org/index.php?title=Introd...on_to_KeyHelper

Stu
SL-C1000, Hand converted to English with Japanese Input
Running X apps via X/Qt
iRiver USB host cable; Diatec P-Cord usb power cable (extendable); Acro's Reel Cable USB (A to A, B, Mini-B,  & Mini-B 8pin); GreenHouse 1Gb PicoDrive+; 2x256Mb Hagiwara SD cards; 128Mb Transcend CF card; 512Mb PQI CF card; AmbiCom WL1100C-CF 11B WLAN card

TRIsoft

  • Sr. Member
  • ****
  • Posts: 332
    • View Profile
    • http://www.trisoft.de
Changing The Keymap
« Reply #3 on: May 10, 2005, 11:17:06 am »
pitr,
the easiest way is to restore our latest backup.
Then your Zaurus is set to our delivery state
including KeyHelper, the Ko/Pi etc. apps and
a lot more stuff.
Also it then matches fully our manual  

Find all the needed downloads here:
SL-C3000 downloads

In this case the "Alt" key is the japanese key
left to the spacebar.

///TRIsoft

Marc Stephan

Ragnorok

  • Sr. Member
  • ****
  • Posts: 296
    • View Profile
    • http://
Changing The Keymap
« Reply #4 on: May 24, 2005, 05:26:46 pm »
- I downloaded the ipk from the indicated link, but it won't install.  When I install it, and close the app installer, it drops to the command line instantly, like Qtopia crashes or something, and then it reboots right away.  No applet or anything to indicate it's working.
- Has anyone else seen this?  Or know what to do about it?  (grin)  So far I'm just not remapping my keys, but I'd kinda like to change that default scenario.

- It looks like there's a file that can be edited with vi to change the key assignments, and I surmise this applet is doing just that.  But I don't know what all the key codes mean in there.  A table of key codes would do me just as well as any applet ... I don't really intend to change the key mapping once I get it where I want it.  I primarily want to do something with the "kanji" keys (between ctrl and space), which currently do nothing what-so-ever, like put forward slash on a non-shifted key.  I'd also like to tweak some function mappings that generate japanese characters, even after "conversion", that essentially do nothing for this Kanji Challenged user.  (snicker)
- I *could* just change stuff and see what happens.  (shrug)  It seems just as easy, and more likely to generates useful results, to learn what to do first!  (cheshire grin)

- Summary: get KeyHelper to work or acquire a table of key codes to edit the existing key map file.

- Thanks for your time...
| I shed a tear for the passing of Hiroshi; he served me well
| Zaurus zealot since Nov 2002, PDA user since Oct 1991
| Replaced Z with UMID BZ February 2010

MONVMENTVM

  • Full Member
  • ***
  • Posts: 191
    • View Profile
Changing The Keymap
« Reply #5 on: August 21, 2005, 05:04:59 pm »
Quote
- I downloaded the ipk from the indicated link, but it won't install.  When I install it, and close the app installer, it drops to the command line instantly, like Qtopia crashes or something, and then it reboots right away.  No applet or anything to indicate it's working.
- Has anyone else seen this?  Or know what to do about it?  (grin)  So far I'm just not remapping my keys, but I'd kinda like to change that default scenario.

- It looks like there's a file that can be edited with vi to change the key assignments, and I surmise this applet is doing just that.  But I don't know what all the key codes mean in there.  A table of key codes would do me just as well as any applet ... I don't really intend to change the key mapping once I get it where I want it.  I primarily want to do something with the "kanji" keys (between ctrl and space), which currently do nothing what-so-ever, like put forward slash on a non-shifted key.  I'd also like to tweak some function mappings that generate japanese characters, even after "conversion", that essentially do nothing for this Kanji Challenged user.  (snicker)
- I *could* just change stuff and see what happens.  (shrug)  It seems just as easy, and more likely to generates useful results, to learn what to do first!  (cheshire grin)

- Summary: get KeyHelper to work or acquire a table of key codes to edit the existing key map file.

- Thanks for your time...
[div align=\"right\"][a href=\"index.php?act=findpost&pid=81312\"][{POST_SNAPBACK}][/a][/div]


i have the same problem with my c3100... after i install keyhelper and exit the add & remove programm qtopia crashes and reboots... need help pls.
Device: Zaurus C3100
OS: testing pda[span style=\'font-size:13pt;line-height:100%\']X[/span]rom beta4
Window Manager: Xfce4 + ROX Desktop and Filer
WLAN: D-Link DCF-660W
Memory: Kingston 512MB SD
Creative Wired Remote modified to work as CE-RH2

Stubear

  • Hero Member
  • *****
  • Posts: 1164
    • View Profile
    • http://
Changing The Keymap
« Reply #6 on: August 21, 2005, 05:35:20 pm »
when you add a new ipnut method or taskbar applet, qtopia often reboots after the install app finishes, this is normal - not right but normal.

To see if keyhelper is running or not (there is not icon on the taskbar) run
Code: [Select]
khctl relaodfrom the terminal, you should see something like "KeyHelper 1.2.2" printed in the task bar next to the "Q" for a second or 2.

If that is so then edit keyhelper.xml in /home/zaurus/Settings and use "khctl reload" again to relaod your changes.

Stu
SL-C1000, Hand converted to English with Japanese Input
Running X apps via X/Qt
iRiver USB host cable; Diatec P-Cord usb power cable (extendable); Acro's Reel Cable USB (A to A, B, Mini-B,  & Mini-B 8pin); GreenHouse 1Gb PicoDrive+; 2x256Mb Hagiwara SD cards; 128Mb Transcend CF card; 512Mb PQI CF card; AmbiCom WL1100C-CF 11B WLAN card

guylhem

  • Hero Member
  • *****
  • Posts: 577
    • View Profile
Changing The Keymap
« Reply #7 on: August 24, 2005, 09:24:01 am »
Hello

If you want a better solution that does not requires keyhelper, edit the .tbl files from /opt/Qtopia/etc/

It's hard complicated and undocumented; but that's what I'm doing on the 6000 for the Guylhem distro. I am still missing "Record" and "Light" keycodes, but besides that it allows you to do whatever you want with the keyboard.

Guylhem

Ragnorok

  • Sr. Member
  • ****
  • Posts: 296
    • View Profile
    • http://
Changing The Keymap
« Reply #8 on: August 24, 2005, 06:50:28 pm »
Quote
Hello

If you want a better solution that does not requires keyhelper, edit the .tbl files from /opt/Qtopia/etc/

It's hard complicated and undocumented; but that's what I'm doing on the 6000 for the Guylhem distro. I am still missing "Record" and "Light" keycodes, but besides that it allows you to do whatever you want with the keyboard.

Guylhem
[div align=\"right\"][a href=\"index.php?act=findpost&pid=93077\"][{POST_SNAPBACK}][/a][/div]

- Nice.  I don't suppose you have essentially created documentation, however brief?  That fact that you are "...missing "Record" and "Light" keycodes implies you have the rest of them.  (cheshire grin)  That so?
- Anything would be nice.  I've been completely unable to find any hard data regarding the keyboard ... scan codes, what the cryptic "labels" mean, anything at all.
- For instance, in my keycode.tbl file is "0x105 Key_Equal <blah, blah>".  The "1xx" implies an Fn key, but it's pretty obvious by experimentation that the CTRL key performs the same function as "Shift-FN", but the Shift and Ctrl codes don't have the same value on them.  And why does an Fn key even have a Ctrl value when that's implied by the Ctrl button?
- I'd be happy to have any hard data at all, rather than shooting in the dark, or completely re-inventing the scancode wheel that others have certainly done.
- Thanks for your time...
| I shed a tear for the passing of Hiroshi; he served me well
| Zaurus zealot since Nov 2002, PDA user since Oct 1991
| Replaced Z with UMID BZ February 2010

guylhem

  • Hero Member
  • *****
  • Posts: 577
    • View Profile
Changing The Keymap
« Reply #9 on: August 27, 2005, 03:03:50 am »
Hello

Will post documentation soon... yes I've them all besides record/light/screen shot

Guylhem

bam

  • Hero Member
  • *****
  • Posts: 1213
    • View Profile
    • http://thegrinder.ws
Changing The Keymap
« Reply #10 on: August 27, 2005, 07:29:40 pm »
ooo...cool, i can just edit that and skip keyhelper.....maybe
SL-C3100 current: Stock/Tetsu 18h
Socket BT CF Card
Linksys WCF-12 802.11b/Cheapie USB Ethernet

The Grinder