View Single Post
  #38 (permalink)  
Old 02-17-2011, 09:15 PM
manekineko's Avatar
manekineko
Regular 'Geeker
Offline
Threadstarter
 
Join Date: Jul 2009
Posts: 478
Reputation: 845
manekineko knows their stuffmanekineko knows their stuffmanekineko knows their stuffmanekineko knows their stuffmanekineko knows their stuffmanekineko knows their stuffmanekineko knows their stuff
Mentioned: 0 Post(s)
Tagged: 0 Thread(s)
Re: 2/10 patched rootfs: More working keyboard keys and classic home for Rhod210/400/

Quote:
Originally Posted by ndno View Post
Hey manekineko, I'm going to try to play around with your rootfs and remap some button keys... for the most part I like it a lot but for whatever reason, I always press the End button to go to the home screen... I'm going to see if I can remap the sleep function back to the power button. What file(s) in rootfs.img contains the settings? Gonna mount the rootfs.img under my Ubuntu and play around with it. Thanks!
Look under init.etc/keymaps for the files that correspond to your device. All of the files follow a certain pattern. For example, for the rhod400, these files are:
rhod400_navi_pad.kl: The name is a misnomer, this file contains layouts for the hard buttons handled by gpio.
rhod400_microp-keypad.kl: This file contains layouts for everything else, which are handled by the microp.
rhod400_microp-keypad.kcm: This file contains mappings that define what keyboard keycodes can be used by the keyboard. This one will not take effect until it is compiled into rhod400_microp-keypad.kcm.bin by the program kcm which is normally compiled as part of the AOSP. I've attached a copy compiled for 32-bit Linux in case you don't want to download and compile all of AOSP for this.
Attached Files
File Type: zip kcm.zip (34.9 KB, 2 views) Click for barcode!
Reply With Quote
This post has been thanked 2 times.