Search code examples
interfaceusbmousemicrocontrollerpsoc

Reading data from USB mouse into microcontroller


As the title say, i have a USB mouse, which i wan't to connect to a microcontroller, more specific a PSoC 4. I want to be able to read its coordinates (x,y).

Is this possible to do, or is it simply to complicated?

best regards


Solution

  • From the datasheet:

    5.7.12 Universal Serial Bus (USB)

    PSoC 4 has a Full-speed USB 2.0 compliant device interface.

    Since it has no host interface, only a device interface, you won't be able to connect a mouse via USB.