Lloir/android_device_htc_primoc — pull request #1 by nickspacek (2012-07-31 13:49:51+00:00)
Title: Fixed key mapping for Task Switch

> Removed MENU mapping from Home Key long-press, still happening though
> Added TASK_SWITCH mapping to Task Switch key, no long-press for MENU

Just tweaked the key map file for the hard buttons, I noticed that you said CM9 doesn't deal with changing those buttons but I found [this post](https://chris.boyle.name/2010/08/android-keymaps) that pointed out the files that could be modified to change button mappings.

I don't know what the keycode is for the long-press of the task switch button, and also the long-press on the home key is still doing TASK_SWITCH for some reason.