Files
FireBee_Setup/devtools/ahcccf.bin/include/mint/mouse.h
2022-10-02 10:09:40 +02:00

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 */