This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

USB HID Mouse Driver using LPC2148

Hi all,

Thanks for your contineous support from this site.

I want to detect my board as HID mouse when plugged to USB port of PC. For that I guess I need to write HID mouse driver.

I am using LPC2148 controller. Can i gett some reference code for it?

Thanks & Regards,
Kamal

Parents
  • I don't know if this is relevant to USB but a key press in Windows can use any number of modifiers.

    CTRL+ALT+DEL is just the single key DEL with CTRL and ALT as modifiers.

    But the next issue is that a keyboard can handle n-key rollover, in which it keeps track of n concurrently pressed characters, and then reports the key releases first when you do release any of the n pressed keys.

    So in a game, you may press one key to move forward, while pressing another to slide sideways, while pressing a third key to fire a weapon and potentially a fourth key to aim through a sniper scope. For a gamer, it is important to select a good keyboard that supports a large "n", so it is able to keep track of many concurrently pressed keys.

Reply
  • I don't know if this is relevant to USB but a key press in Windows can use any number of modifiers.

    CTRL+ALT+DEL is just the single key DEL with CTRL and ALT as modifiers.

    But the next issue is that a keyboard can handle n-key rollover, in which it keeps track of n concurrently pressed characters, and then reports the key releases first when you do release any of the n pressed keys.

    So in a game, you may press one key to move forward, while pressing another to slide sideways, while pressing a third key to fire a weapon and potentially a fourth key to aim through a sniper scope. For a gamer, it is important to select a good keyboard that supports a large "n", so it is able to keep track of many concurrently pressed keys.

Children
No data