USB mouse code for lpc1769 as host

Started by nikita_linux October 28, 2013
Hi,
I am in need of usb mouse source code for lpc1769 LPCXpresso board ,

The sample codes have keyboard with LPC board as host but not for mouse,the code simply takes input from joystick at GPIO pins and send it to PC host.

What changes do I need to use keyboard_host program for mouse ?
I also want to use usb hub with LPCXpresso board, Any other

suggestions..

Waiting for reply.

An Engineer's Guide to the LPC2100 Series

answered in
http://www.lpcware.com/content/forum/usb-mouse-lpc1769-host

Tsuneo

---In l..., wrote:

Hi,
I am in need of usb mouse source code for lpc1769 LPCXpresso board ,

The sample codes have keyboard with LPC board as host but not for mouse,the code simply takes input from joystick at GPIO pins and send it to PC host.

What changes do I need to use keyboard_host program for mouse ?

I also want to use usb hub with LPCXpresso board, Any other

suggestions..

Waiting for reply.
--- In l..., "nikita_linux" wrote:
>
> Hi,
> I am in need of usb mouse source code for lpc1769 LPCXpresso board ,
>
> The sample codes have keyboard with LPC board as host but not for mouse,the code simply takes input from joystick at GPIO pins and send it to PC host.
>
> What changes do I need to use keyboard_host program for mouse ?
> I also want to use usb hub with LPCXpresso board, Any other
>
> suggestions..
>
> Waiting for reply.
>

You can certainly make a joystick look like a mouse but you are limited to x, y and 3 buttons. The better approach is to implement a HID device. Then you can have 64 bytes transferred per transaction and this allows much more flexibility. No, I don't know where to get the code.

External controls for Microsoft Flight Simulator come to mind. You can add all the gauges, switches, knobs and dials you want by implementing multiple HID devices.

Richard



Yahoo Groups Links

<*> To visit your group on the web, go to:
http://groups.yahoo.com/group/lpc2000/

<*> Your email settings:
Individual Email | Traditional

<*> To change settings online go to:
http://groups.yahoo.com/group/lpc2000/join
(Yahoo! ID required)

<*> To change settings via email:
l...
l...

<*> To unsubscribe from this group, send an email to:
l...

<*> Your use of Yahoo Groups is subject to:
http://info.yahoo.com/legal/us/yahoo/utos/terms/