--
You received this message because you are subscribed to the Google Groups "android-platform" group.
To unsubscribe from this group and stop receiving emails from it, send an email to android-platform+unsubscribe@googlegroups.com.
To post to this group, send email to android-platform@googlegroups.com.
Visit this group at https://groups.google.com/group/android-platform.
For more options, visit https://groups.google.com/d/optout.
Thanks for your support.
Getevent -l lists event for newly added key with linux code but it's not mapping the android scan code name like "VOLUMEUP".
I have added in device/<>/gpio-key.kl file and native layer.
For understanding I have commented volume key mapping in device/<>/gpio-keys.kl file and framework/native , if I try getevent-l for volume key ,still "VOLUMEUP" label is mapped with key event.
Do we need to add in any other place to map linux code to android scan code ?
--
You received this message because you are subscribed to the Google Groups "android-platform" group.
To unsubscribe from this group and stop receiving emails from it, send an email to android-platform+unsubscribe@googlegroups.com.
To post to this group, send email to android-platform@googlegroups.com.
Visit this group at https://groups.google.com/group/android-platform.
For more options, visit https://groups.google.com/d/optout.
It was typo mistake.actual output for volume key event is "KEY_VOLUME_UP".
But I am wondering how it's possible to get android scan code name "KEY_VOLUME_UP" for event,even after commenting in device/<>/.kl file , linux/input.h and frameworks/native/.
--
You received this message because you are subscribed to the Google Groups "android-platform" group.
To unsubscribe from this group and stop receiving emails from it, send an email to android-platform+unsubscribe@googlegroups.com.
To post to this group, send email to android-platform@googlegroups.com.
Visit this group at https://groups.google.com/group/android-platform.
For more options, visit https://groups.google.com/d/optout.