Post Reply 
 
Thread Rating:
  • 0 Votes - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
[Android] Key Mapping For Hardware Keyboard
04-23-2013, 03:59 PM
Post: #1
Question [Android] Key Mapping For Hardware Keyboard
Hello!! So i have a XPERIA MINI PRO and i tried to remap the hardware keyboad based on the XPERIA PLAY Gamepad for play with my keyboard.. but nothing works exept the arrows Key, i tied to used GameKeyboard but with the same problem the buttons ■▲●X doesn't work Sad...

This is the configuration i used for my keylayout archive based on Sony's developer website:
-------------------------------------------------------------------------------------------
key 158 KEYCODE_BACK WAKE_DROPPED
key 102 KEYCODE_HOME WAKE
key 139 KEYCODE_MENU WAKE_DROPPED
key 115 KEYCODE_VOLUME_UP WAKE
key 114 KEYCODE_VOLUME_DOWN WAKE
key 116 KEYCODE_POWER WAKE_DROPPED
key 85 KEYCODE_FOCUS
key 212 KEYCODE_CAMERA WAKE
key 103 KEYCODE_DPAD_UP WAKE_DROPPED
key 108 KEYCODE_DPAD_DOWN WAKE_DROPPED
key 105 KEYCODE_DPAD_LEFT WAKE_DROPPED
key 106 KEYCODE_DPAD_RIGHT WAKE_DROPPED
key 32 KEYCODE_BUTTON_Y WAKE_DROPPED
key 46 KEYCODE_BACK ALT WAKE_DROPPED
key 26 KEYCODE_DPAD_CENTER WAKE_DROPPED
key 44 KEYCODE_BUTTON_X WAKE_DROPPED
key 16 KEYCODE_BUTTON_L1 WAKE_DROPPED
key 25 KEYCODE_BUTTON_R1 WAKE_DROPPED
key 56 KEYCODE_MENU WAKE_DROPPED
key 28 KEYCODE_BUTTON_START
key 57 KEYCODE_BUTTON_SELECT
-----------------------------------------------------------------------
also i tried deleting the "KEYCODE_"command but ■▲●X neither worked...Huh

Hope you can help me guys, maybe it's someting wrong about the commands i dunnoUndecided..

ThanksBlush
Find all posts by this user
Quote this message in a reply
04-23-2013, 05:15 PM
Post: #2
RE: [Android] Key Mapping For Hardware Keyboard
Try this mapping:
For X: Button A
For /\: Button Y
For O: Button B
For []: Button X
R: R1
L: L1
Select: Select
Start: Start
Try on app USB/BT Joystick Center 6 or GameKeyBoard with Re-Map Hardkey.

Phones: Poco F3 8GB/256GB (Snapdragon 870 5G) and Redmi Note 6 Pro 4/64GB (Snapdragon 636)

PC: AMD Ryzen 5 3600 / 16GB RAM DDR4 3600MHz / NVIDIA GTX 1660 Ti 6GB / Windows 10 Pro
Find all posts by this user
Quote this message in a reply
Post Reply 


Forum Jump: