Quote:
Originally Posted by ndno
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.