Aros/Developer/Docs/HIDD/Mouse

Navbar for the Aros wikibook
Aros User
Aros User Docs
Aros User FAQs
Aros User Applications
Aros User DOS Shell
Aros/User/AmigaLegacy
Aros Dev Docs
Aros Developer Docs
Porting Software from AmigaOS/SDL
For Zune Beginners
Zune .MUI Classes
For SDL Beginners
Aros Developer BuildSystem
Specific platforms
Aros x86 Complete System HCL
Aros x86 Audio/Video Support
Aros x86 Network Support
Aros Intel AMD x86 Installing
Aros Storage Support IDE SATA etc
Aros Poseidon USB Support
x86-64 Support
Motorola 68k Amiga Support
Linux and FreeBSD Support
Windows Mingw and MacOSX Support
Android Support
Arm Raspberry Pi Support
PPC Power Architecture
misc
Aros Public License
See rom/hidd/keyboard and rom/hidd/mouse in AROS source code.

CMD_HIDDINIT private function from keyboard.device and gameport.device has been removed and now these devices use a new keyboard and mouse HIDDs as an underlying level. Actual driver HIDDs may be plugged in or removed at any time using AddHardwareDriver() and RemHardwareDriver().

The API can be further expanded if one day we want to implement OS4 amigainput.library or something like that.

There can be multiple input drivers (feeders) and now there can also be multiple input listeners.

So, lowlevel.library can also work on top of the new API and receive events on its own, independently of keyboard.device and gameport.device.

References edit

To debug: dump mouse events when they are fed to supplied handler. You may also write hidd.mouse client which reads and prints mouse events. This way you'll be able to monitor how events are passed through top-level mouse.hidd. Also introduced top-level "hubs" for mouse and keyboard events.

  • May be ps2mouse.hidd sends malformed events.