Project

General

Profile

Statistics
| Revision:

root / lab4 / .minix-src / include / sys / kbdio.h @ 13

History | View | Annotate | Download (407 Bytes)

1
#ifndef _SYS__KBDIO_H
2
#define _SYS__KBDIO_H
3

    
4
#include <sys/time.h>
5

    
6
typedef struct kio_bell
7
{
8
        unsigned kb_pitch;                /* Bell frequency in HZ */
9
        unsigned long kb_volume;        /* Volume in micro volts */
10
        struct timeval kb_duration;
11
} kio_bell_t;
12

    
13
typedef struct kio_leds
14
{
15
        unsigned kl_bits;
16
} kio_leds_t;
17

    
18
#define KBD_LEDS_NUM        0x1
19
#define KBD_LEDS_CAPS        0x2
20
#define KBD_LEDS_SCROLL        0x4
21

    
22
#endif /* _SYS__KBDIO_H */