Hi Folks, I've just started playing with the X6pro and am using a Logitech K400r wireless touch keyboard. I have noticed that some functions require using the Zidoo remote "menu" button. 1 ) Does anyone know if this can be mapped to a keyboard key or combination and if so how? 2) Can the other remote "special" function buttons be mapped to a keyboard key? Somehow I did manage to get the Android Recent Tasks/Apps list/window to pop-up. Can't for the life of me remember what I did or how it happened. 3) Does anyone know how to bring up the Android Recent Tasks/Apps list? 4) How on earth to people enter data (type path names etc) without a keyboard? Cheers
not yet for me. Not yet needed, I use both Remote and Keyboard. Did you tried Googling a little? May be an Android app exist for your needs. look above look the red arrow below Very difficult, you should enable "on screen keyboard" as default keyboard, and select keys one by one. If I remember right, the arrow key on remote will move key hilite , the ON enter the character, else you can use the "mouse" mode, pressing once this button on remote and once again when you've finished
Hi PacoRabanne, Thanks for your reply. I found an Android tool that I will test and it may show the keycodes; Note to self: [ KeyEvent Display by Alexandros Schillings ] http://aschillings.co.uk/html/keyevent_display.html Once I've worked out the keycodes, I'll see what can be done to remap some function keys Thanks for the Recent Apps/Task List - feel a little bit silly now I did not enable on-screen keyboard as default (thanks) Must be very painful using mouse mode Won't get to play much until the weekend, but thanks again for the reply/info Cheers
OK, let me know if IR remote sends keycodes like a external keyboard. If yes, all can be done, else... only Zidoo Developers could give us the keycode needed for this remote buttons Indeed I've used a keyboard from the beginning.
Hi: we use the standar android keycode, like "KEYCODE_APP_SWITCH=187" for Recent Tasks maybe you should check which keycode of your Logitech K400r.
Hi guys, thanks for that info spring. I have run the app I found above and have most of the keycodes and scancodes. Some buttons perform the direct action, so we may need a little more input from spring/Zidoo I am very tired now (long day at office), and I have a few hectic days ahead. I will post the full key scancode info in the next day or two. Keys we will need details from spring/Zidoo are: Home Button Play/Okay Button Vol + Button Vol - Button Red Button Green Button Blue Button Display Button If spring/Zidoo can provide code and scancode, would be helpful. Cheers
This is going to take some time. There is no keylayout file in /system/usr/keylayout for the Logitech K400r I messed with it a bit tonight to see if I could remount the /system partition in rw to create a Logitech keylayout file, but the standard command I expected to work didn't Logitech K400r reports the following USB Data: Vendor Code: 046D Product Code: C528 K400r will require a file: Vendor_046D_ProductC528.kl in /system/usr/keylayout There are other files for some controllers and keypads, I will make a list of the included key layout files over the weekend. Most (all) of the remote button keycodes are pretty standard Volume Up = KEYCODE_VOLUME_UP = 115 Volume Down = KEYCODE_VOLUME_DOWN = 114 Task List = KEYCODE_APP_SWITCH = 187 Mouse = KEYCODE_HELP = 388 Home = KEYCODE_HOME = 3 (guess - to be confirmed) Navigation Left = KEYCODE_DPAD_LEFT = 105 Navigation Right = KEYCODE_DPAD_RIGHT = 106 Navigation Up = KEYCODE_DPAD_UP = 103 Navigation Down = KEYCODE_DPAD_DOWN = 108 Ok/Play/Pause = KEYCODE_DPAD_CENTER = 232 Back = KEYCODE_BACK = 158 Menu = KEYCODE_MENU = 139 Delete = KEYCODE_DEL = 402 Button 0 = KEYCODE_0 = 11 Button 1 = KEYCODE_1 = 2 Button 2 = KEYCODE_2 = 3 ...etc... Red = KEYCODE_PROG_RED = 183 (guess - to be confirmed) Green = KEYCODE_PROG_GREEN =184 (guess - to be confirmed) Blue = KEYCODE_PROG_BLUE =186 (guess - to be confirmed) Display = KEYCODE (unknown) [From TV Control Section] Vol + = unknown Vol - = unknown Set = Unknown AV/TV = Unknown Pwr = Unknown Still some work to do ... Cheers
Hi spring, I saw your message about using adb after I work out how to remount /system as rw from terminal/console screen without adb Before I sign-on tonight, I think long and hard about telling how to remount /system to be rw and decide not to - to stop people from accidentally trashing X6pro. I will not post how-to tonight, to give you chance to say if okay or not. If you say okay, I can post simple how-to. I have created my own keyboard file for Logitech K400r keyboard, which is: Vendor_046d_Product_c52b.kl A few "issues" - some keys do not return scancodes. I can not find scancode for "PC-Lock" key or "PC-Power key" "PC-Lock" always bring up Calendar/Schedule. I tried to remap standard Android scancode but no luck. I can not work out scancode for "mouse" key. I tried remap of "Enter" to be DPAD_CENTER But his create big problem with mouse pointer as I described in This Thread - See Issue 3 It is very frustrating/annoying to use Arrow-Keys on Keyboard to move up/down selection and when you press [enter] it does not select right item, but select mouse-pointer instead - even if you not use mouse-pad. I have successfully remapped "Esc" to be "back" button and "Music" to be "Menu" I would like to map "PC Lock" to be APP_SWITCH, but can not find scancode for "PC Lock" I did learn that "Alt-Tab" bring up APP_SWITCH window and you can then use arrow-key to move up/down to kill tasks or select task to switch to. Very Easy to remap most keys. Interesting, different keycode for Left-Ctrl and Right-Ctrl, and Left-Alt and Right-Alt - this could be interesting. "Windows Key" always bring up Google Voice Assist? - not sure Oh, also can not find scancode for F1 (window Left) Unknown scancodes: "PC Lock" "PC Power" "Window Left" "Windows" "Mouse" What keycode is auto-starting "Calendar" - it is not standard Android keycode to start Calendar (forget code now) I have attached my current K400r keycode file if you have interest Cheers
Supported input Devices with native/special keylayout files. This does not guarantee that the device will work properly/ flwlessly. It does not guarantee that the keylayout file will be in future X6pro updates This info is more of a For-Your-Information only. Use this information at your own risk. Code: 20050030_pwm.kl ROCKCHIP_RBOX AVRCP.kl Bluetooth AVRCP ff680030_pwm.kl ROCKCHIP_RBOX *** Zidoo Remote ??? Generic.kl Generic key layout file for full alphabetic US English PC style external keyboards qwerty.kl Emulator keyboard layout #1 rk29-keypad.kl ROCKCHIP R29 Vendor_0079_Product_0011.kl Classic NES Controller Vendor_045e_Product_028e.kl XBox 360 USB Controller Vendor_046d_Product_b501.kl Logitech Bluetooth wireless gamepad (RedHawk) Vendor_046d_Product_c216.kl Logitech Dual Action Controller Vendor_046d_Product_c219.kl Logitech Logitech Cordless RumblePad 2 Vendor_046d_Product_c21d.kl Logitech F310 Vendor_046d_Product_c21f.kl Logitech Wireless Gamepad F710 Vendor_046d_Product_c294.kl Logitech G25 Racing Wheel (in Compatibility Mode) Vendor_046d_Product_c299.kl Logitech G25 Racing Wheel (in Native Mode) Vendor_046d_Product_c532.kl Logitech Revue Wireless keyboard Vendor_054c_Product_0268.kl Sony Playstation(R)3 Controller Vendor_0583_Product_2060.kl ION GO PAD Vendor_05ac_Product_0239.kl Apple Wireless Keyboard Vendor_0b05_Product_4500.kl Asus Gamepad Vendor_1038_Product_1412.kl Steelseries Free Vendor_12bd_Product_d015.kl Hitgaming SNES Retro Vendor_1532_Product_0900.kl Razer Serval Vendor_1689_Product_fd00.kl Razer Onza Tournament Edition Vendor_1689_Product_fd01.kl Razer Xbox 360 Gamepad Vendor_1689_Product_fe00.kl Razer Sabertooth Elite Vendor_18d1_Product_2c40.kl Odie Vendor_1949_Product_0401.kl Amazon Fire TV remote Vendor_1bad_Product_f016.kl Madcatz Gamepad Vendor_1bad_Product_f023.kl Mad Catz MLG GamePad for Xbox 360 Vendor_1bad_Product_f027.kl MadCatz FPS Pro Vendor_1bad_Product_f036.kl MadCatz Generic XBox Controller Vendor_1d79_Product_0009.kl Nyko Playpad / Playpad Pro Vendor_22b8_Product_093d.kl Motorola Bluetooth Wireless Keyboard Vendor_2378_Product_1008.kl OnLive, Inc. OnLive Wireless Controller Vendor_2378_Product_100a.kl OnLive, Inc. OnLive Wireless Controller, USB adapter
Hi jbv: it is very good! i think the "PC Lock" keycode is: key 397 CALENDAR there is some special keycode in android system. you could check this file. We are very welcome to some one can do this work for his special keyboard, and post those files to us, and we can put those files in new firmware.
In addition, if you can not get the msg from "getevent", you could input "logcat -c;logcat", and you could see the android log, when press the key, you can get the android keycode,.
Hi spring, Thanks for your feedback and information. I must have found (used) an old (bad) keycode reference, it showed differrent keycode for calendar I have now found This reference which also shows 397 (0x018e) as being Calendar I will try keycode 397 and your "getevent" suggestion for other unknown keys in the next day or two and report back. Thanks again, Cheers
Hi spring, Keycode 397 was what I had been trying for "PC Lock" key. I just tried to remap Keycode 397, but "PC Lock" key still run Calendar ... Strange I will poke a little more and see if I can find a way to read the "getevent" message. Cheers, Brenton
Hi spring, It is very messy trying to workout keycodes from a terminal emulator. I will look at using installing ADB and trying an ADB connection later this weekend. Cheers
Take a look at "External Keyboard Helper Pro" https://play.google.com/store/apps/details?id=com.apedroid.hwkeyboardhelper This is a paid app but it allows you to set many of the custom keys on an external keyboard to something useful.