New bitmap method SetRGBConversionFunction which can be used to
[tangerine.git] / workbench / hidds / kbd / include / keyboard.h
blobee64eb86b637a48e5340710691eeb9af9d7533a8
1 #ifndef HIDD_KEYBOARD_H
2 #define HIDD_KEYBOARD_H
4 /*
5 Copyright © 1995-2001, The AROS Development Team. All rights reserved.
6 $Id$
8 Desc: Include for the keyboard hidd.
9 Lang: English.
12 #ifndef OOP_OOP_H
13 # include <oop/oop.h>
14 #endif
17 #define IID_Hidd_Kbd "hidd.kbd"
19 #define HiddKbdAB __abHidd_Kbd
21 #ifndef __OOP_NOATTRBASES__
22 extern OOP_AttrBase HiddKbdAB;
23 #endif
25 enum {
26 aoHidd_Kbd_IrqHandler,
27 aoHidd_Kbd_IrqHandlerData,
29 num_Hidd_Kbd_Attrs
33 /* Parameter values for the IRQ handler */
35 enum {
36 vHidd_Kbd_Press,
37 vHidd_Kbd_Release
41 #define aHidd_Kbd_IrqHandler (aoHidd_Kbd_IrqHandler + HiddKbdAB)
42 #define aHidd_Kbd_IrqHandlerData (aoHidd_Kbd_IrqHandlerData + HiddKbdAB)
44 #define IS_HIDDKBD_ATTR(attr, idx) IS_IF_ATTR(attr, idx, HiddKbdAB, num_Hidd_Kbd_Attrs)
46 #endif /* HIDD_KEYBOARD_H */