Recheck mouse sensitivity

I essentially create a new way to control the cursor on the screen. Right now I have an Altera Stratix iv FPGA, and I would like it to send information via USB to a computer and control the cursor.

Is this doable and does anyone know something like this? How will it look like? I understand that I may have to write some code on a computer that listens on the port and moves the mouse, I am fine with this, but is it possible to move the mouse with the code that is on the FPGA?

Thanks!

+4
source share
1 answer

You will probably want to implement a USB HID device . The HID class is one of the simplest USB classes, and most USB kits come with an example HID device. The advantage is that your OS already knows how to talk to the HID device, so you won’t need to write any OS drivers.

+4
source

Source: https://habr.com/ru/post/1412681/


All Articles