Answer the question
In order to leave comments, you need to log in
What can I do to use the optical rotary encoder as an optical mouse?
In general, I have this idea. I think to take an optical encoder from Grayhill series 62F. and connect with, for example, TC9350BFN-T00 (optical mouse controller) and then connect to PC via USB. Apparently, further you will have to write a driver for this kind of mouse under linux. First, debug it on a PC, and then connect this driver to the 2.6 kernel and port it to an embedded system (there is a sk-imx53 board). I am writing a graphical program in Qt, which uses the wheelEvent event function (mouse wheel rotation event), which changes the numbers when the widget is focused. Previously, I did not write drivers for Linux, can someone give some information with comments on writing mouse drivers and connecting them to the kernel.?
Answer the question
In order to leave comments, you need to log in
Why do you need to write drivers? They are all already written in the system if you are using a standard controller.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question