On Thu, Jun 28, 2018 at 10:59 PM, Gopinath Sathasivam <[hidden email]> wrote:
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/.
I am not sure if I am able to get the context in right way, but if you are looking on how keycode are mapped even thought no entry in kl file. Android does make use of Generic.kl file to map this - in case device.kl file is missing and events are coming. In android context its not KEY_ --> its KEYCODE_