Aros/Developer/Docs/HIDD/Kbd

From Wikibooks, open books for an open world
Jump to navigation Jump to search
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.

I've thrown away private CMD_HIDDINIT from keyboard.device and gameport.device, now these devices use new keyboard and mouse HIDDs as 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 not only multiple input drivers (feeders), now there can 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.