Author Topic: Better usage of power and rec buttons  (Read 4632 times)

pmax20

  • Newbie
  • *
  • Posts: 1
    • View Profile
Better usage of power and rec buttons
« 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

guylhem

  • Hero Member
  • *****
  • Posts: 577
    • View Profile
Better usage of power and rec buttons
« Reply #1 on: November 12, 2004, 08:26:18 am »
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

saakmotu

  • Jr. Member
  • **
  • Posts: 73
    • View Profile
    • http://www.bpang.com
Better usage of power and rec buttons
« Reply #2 on: November 30, 2004, 02:33:55 pm »
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.
bricked(?) sl5000d
sl5500 tkcROM
sl5600
sl6000-L
Many sd/cf memory cards
Linksys wcf12 CF WiFi - Dlink CF Wifi - Xircom CompactCard Ethernet 10
Sharp CF Camera
SerialI/O usb cable - iRiver PMP USB Host Adapter Cable

guylhem

  • Hero Member
  • *****
  • Posts: 577
    • View Profile
Better usage of power and rec buttons
« Reply #3 on: December 05, 2004, 11:31:09 am »
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

Now trying to play with power and rec buttons - that will require some kernel tweaking

rrnwexec

  • Full Member
  • ***
  • Posts: 140
    • View Profile
    • http://
Better usage of power and rec buttons
« Reply #4 on: November 04, 2005, 12:41:42 pm »
What a fantastic idea!! Just wondering if the tweaking has been completed?

Thanks in advance.


---

Quote
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

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]
--
6000, 5600, 5500, 1000
pdaXrom, OZ/GPE, OZ/Opie, Sharp ROM
Too many gadgets to mention

guylhem

  • Hero Member
  • *****
  • Posts: 577
    • View Profile
Better usage of power and rec buttons
« Reply #5 on: November 05, 2005, 10:06:15 am »
hello

it was. power and rec are now used to scroll to read ebooks. Please flash guylhem 1.0rc4 and try by yourself :-)

Guylhem