Rotary encoder Volume control
I would like to ask if anyone knows information about implementing a rotary encoder by GPIO to the raspberry to be able to control the volume of android
0
I would like to ask if anyone knows information about implementing a rotary encoder by GPIO to the raspberry to be able to control the volume of android
Comments
Did you think about using a device overlay for sending required events? Something like gpio-key overlay may be useful.
there is a rotary encoder dto included. this however doesn't solve your problem completely because that dto generates axis events while android expects corresponding key events. so I guess you could either rewrite the kernel module the dto is using to emit key events or alternatively create an android service that deals with the axis events.