Hello,

I am working on a bespoke Android development project of which I can't dive 
too deeply into. However, I am trying to work out where 'Scancodes' are 
mapped into 'Keycodes'

e.g. The POWER button is KeyCode 26 (in Keycodes) and Scancode 116 (in 
Generic.kl). 

At which point, does the Scancode (116) get interpreted into a Keycode 
(26)? The reason is, I need to create my own Scancode, which needs to be 
interpreted into its own Keycode. There is no matching keycode for this 
particular function therefore it needs to be it's own definition. I have 
tried adding the Keycodes etc, but as I haven't found where the two link, I 
cannot get any functionality whatsoever.

Please help,
Cheers 

-- 
-- 
unsubscribe: android-porting+unsubscr...@googlegroups.com
website: http://groups.google.com/group/android-porting

--- 
You received this message because you are subscribed to the Google Groups 
"android-porting" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to android-porting+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to