26 lines
442 B
C
26 lines
442 B
C
|
|
#ifndef _MINT_MOUSE_H
|
|
#define _MINT_MOUSE_H 1
|
|
|
|
#ifndef _FEATURES_H
|
|
# include <features.h>
|
|
#endif
|
|
|
|
__BEGIN_DECLS
|
|
|
|
/* header file for mouse access */
|
|
|
|
struct mouse_buf {
|
|
int m_buttons; /* button states */
|
|
int m_dx; /* change in x since last read */
|
|
int m_dy; /* change in y since last read */
|
|
};
|
|
|
|
#define M_LEFT_BUTTON 0x02
|
|
#define M_RIGHT_BUTTON 0x01
|
|
#define M_MID_BUTTON 0x00 /* there is none! */
|
|
|
|
__END_DECLS
|
|
|
|
#endif /* _MINT_MOUSE_H */
|