R
R
retenza2014-07-16 20:08:58
Qt
retenza, 2014-07-16 20:08:58

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

2 answer(s)
A
Alexander Borisovich, 2014-07-16
@Alexufo

Why do you need to write drivers? They are all already written in the system if you are using a standard controller.

R
retenza, 2014-07-17
@retenza

I rummaged through the kernel sources, I never found a driver for this chip. Can this chip be considered a standard controller?

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question