OESF Portables Forum
Everything Else => Sharp Zaurus => Model Specific Forums => Distros, Development, and Model Specific Forums => Archived Forums => 6000 - Tosa => Topic started by: pmax20 on November 09, 2004, 07:52:32 pm
-
Hi, everyone
I just love reading e-books on my z6000 . I was wondering whether there's a possibility to use the power and rec buttons for scrolling pages, one page at a time.
Looks like Z reacts only when power or rec button is pressed for 3-4 secs. That leaves single clicks unused!
I tried mapping these buttons into JustReader (former opiereader), but it wouldn't recognize a single click on either on the buttons, although it does allow you to map any function on a longer click. Kernel assistance is quite apparent
Thanks in advance
-
You're right, this require kernel modification. In fact, using them for opie-reader was my #1 motivation in making a custom kernel (externe.net/zaurus/kernel)
Yet you not only need to hack the kernel but also .tbl files in /opt/Qtopia/etc/*tbl
I've not decided yet how I would map these keys, but I think I'd like to map:
power short press= lcd off (mp3 player, cell phone dialer, etc)
power long press = off
record short press= some key event
record long press=another key event
Then ppl could map these key events.
Anyway, I'm now as motivated as I was before, but I'd be interested in making these keys work if someone wanted to give a hand :-) Would you be interested in fixing the .tbl tables? The 6000 custom kernel has proper long keypresses support for every hardware key (address, calendar etc). All it needs is a good set of .tbl files. Then I'll go back into power/rec handling
-
I disabled the REC button as I found I was inadvertently pressing it too often.
I also mapped the "dot" button (the silver one above "cancel") to TAB.
Really helpful for when you want to keep the keyboard closed.
-
Update on keyboard remapping on sl6000: correctly documented /opt/Qtopia/etc/*.tbl files to make custom working mappings (fn+shit, etc.)
http://externe.net/zaurus/keyboard (http://externe.net/zaurus/keyboard)
Now trying to play with power and rec buttons - that will require some kernel tweaking
-
What a fantastic idea!! Just wondering if the tweaking has been completed?
Thanks in advance.
---
Update on keyboard remapping on sl6000: correctly documented /opt/Qtopia/etc/*.tbl files to make custom working mappings (fn+shit, etc.)
http://externe.net/zaurus/keyboard (http://externe.net/zaurus/keyboard)
Now trying to play with power and rec buttons - that will require some kernel tweaking
[div align=\"right\"][a href=\"index.php?act=findpost&pid=55127\"][{POST_SNAPBACK}][/a][/div]
-
hello
it was. power and rec are now used to scroll to read ebooks. Please flash guylhem 1.0rc4 and try by yourself :-)
Guylhem