1 #ifndef _ASMm68k_AMIGAMOUSE_H 2 #define _ASMm68k_AMIGAMOUSE_H 3 4 /* 5 * linux/include/asm-m68k/amigamouse.h: header file for Amiga Mouse driver 6 * by Michael Rausch 7 */ 8 9 /* 10 #define MSE_INT_OFF() outb(MSE_DISABLE_INTERRUPTS, MSE_CONTROL_PORT) 11 #define MSE_INT_ON() outb(MSE_ENABLE_INTERRUPTS, MSE_CONTROL_PORT) 12 */ 13 14 struct mouse_status { 15 unsigned char buttons; 16 unsigned char latch_buttons; 17 int dx; 18 int dy; 19 int present; 20 int ready; 21 int active; 22 struct wait_queue *wait; 23 struct fasync_struct *fasyncptr; 24 }; 25 26 #endif