View Single Post
Posts: 22 | Thanked: 8 times | Joined on Jul 2010
#16
Originally Posted by titi974 View Post
don't know lol that's what you suggested to me...

for the density : you can't go beyond 240

about the menu/home.... write what exactly we need to change, i'll add another hack for europeans keyboards (as mine is a german one)...
Ah like that, 240 it is then

And to remap the keys around:

Code:
sudo gainroot
mount /dev/mmcblk1p2 /and
cd /and/system/usr/keylayout
leafpad opmap_tw14030keypad.kl
Look for HOME (default mapped to camera button), BACK (default mapped to slider) and MENU (default mapped to poximity sensor). Change the numbers around like you want it (I mapped back and menu to the volumekeys which makes it easier to use in portrait mode, but use your own preferences). 65 and 66 are the numbers for the volume buttons buttons so to map them to the BACK and MENU button, change numbers at the BACK and MENU line to 65 and 66 (if some keys are mapped to the same thing like MENU which has 3 different keys mapped to it, just change one and remove the rest or change them all) and make sure any other functions arent mapped to 65 and 66 (remap them or simply remove them).

Save and unmount.

Code:
cd /
umount /dev/mmcblk1p2
And it would be a good idea to back the file up before changing anything:

Code:
cp /and/system/usr/keylayout/opmap_tw14030keypad.kl /home/user/MyDocs/
No enters between the two lines.
If something goes wrong, copy the file back

Code:
cp /home/user/MyDocs/opmap_tw14030keypad.kl /and/system/usr/keylayout/
Again no enters between the two lines, its one line.
NITDroid needs to be mounted to /and ofc.

EDIT: I see that I also edited the qwerty.kl file, so might want to fiddle around in that one as wel to make it work (repeat everything, but with opmap_tw14030keypad.kl replaced by qwerty.kl) .
You might need to edit the other .kl files in the keylayout folder too, havent really explored what does what

NOTE: watch out with remapping the power button! I once mapped it wrong, so I couldnt turn NITDroid off. Didnt know what to do then so pulled out the battery :x

Last edited by Gundogan; 2010-07-26 at 18:41.
 

The Following User Says Thank You to Gundogan For This Useful Post: