Hello all, I'm working on getting aFreeRDP running for a Motorola MC32 device as part of a client hardware evaluation for our internal applications delivered over RDS. This device has an integrated barcode imager that sends keyboard input events to the active Activity. Our standard is to set the imager to send a Tab key after the decoded barcode to advance the cursor in the remote application to the next field. However, it doesn't seem to work consistently, because the Android client is misinterpreting the Tab key.
I found that the KeyboardMapper class in the Android FreeRDPCore project was receiving a KEYCODE_TAB KeyEvent in processAndroidKeyEvent. When it takes a trip into getVirtualKeyCode, it finds no vkcode for the Tab code, and falls through the rest of the if-else cases until it sends the key as a UnicodeKey with value 9. Of the applications I tested on our server, only Notepad would correctly interpret the tab. Other applications didn't receive the event at all. When I added a mapping from KEYCODE_TAB to VK_TAB in the keymapAndroid array, all remote applications behave correctly. It looks like KeyboardMapper is expecting the Tab key to come in as a custom or extended key, but that's not happening on my hardware. Is it acceptable to add the KEYCODE_TAB -> VK_TAB in keymapAndroid? Details on setup: aFreeRDP Client from git master, March 15 2015 RDS Server version: Windows 2012 R2 Android Version: 4.1.1 See github issue #2486 Regards, Robert Corrigan ------------------------------------------------------------------------------ BPM Camp - Free Virtual Workshop May 6th at 10am PDT/1PM EDT Develop your own process in accordance with the BPMN 2 standard Learn Process modeling best practices with Bonita BPM through live exercises http://www.bonitasoft.com/be-part-of-it/events/bpm-camp-virtual- event?utm_ source=Sourceforge_BPM_Camp_5_6_15&utm_medium=email&utm_campaign=VA_SF _______________________________________________ FreeRDP-devel mailing list FreeRDP-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/freerdp-devel