Hi All, I am trying to implement a HID mouse on LPC2148 board.I downloaded code from keil for the same controller and tried to use it but it did not work.If anybody has working code then please post it.Actually I want to move mouse pointer . I started exploring USB concepts just few days back I am just a beginner.Please help..
What do you mean it does not work? The HID example in the Keil folders does work. It does not support a mouse but it fully support HID concepts. Did you fully read the abstract with the example code? Do you realize that you must load the HID application code in the utilities folder?
http://www.usb.org for the mouse protocols. http://www.lvr.com for additional sample code.
Bradford
Thanks a lot for replying Bradford. actually I have controller board from ngx technology.The code I downloaded from keil is from this address http://www.keil.com/download/docs/306.asp Later I downloaded code from sourceforge.net/.../ .Now it is recognizing it as HID. Now how to go to next step of controlling mouse pointer. Please help..
There are a number of posts on this forum describing the USB mouse. Do a search on this forum (Upper Right Corner of the threads menu). Below is just one post that I searched on this forum. The two references in the first post describe the mouse protocol and descriptor files. Also, remember that Microsoft Windows has HID mouse applications installed. Suggest that you go to Microsoft and download their SDK software. The API calls for mouse operation will be included in their documentation.
http://www.keil.com/forum/docs/thread11461.asp - 7.2K - Dec 26, 2007
Thank you Bradford.I will use the references and try to implement.Thank you once again...