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.
USB mouse code for lpc1769 as host
Started by ●October 28, 2013
Reply by ●October 31, 20132013-10-31
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.
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.
Reply by ●October 31, 20132013-10-31
--- 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/
>
> 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/