URL
https://opencores.org/ocsvn/or1k/or1k/trunk
Subversion Repositories or1k
[/] [or1k/] [trunk/] [linux/] [linux-2.4/] [drivers/] [char/] [busmouse.h] - Rev 1774
Go to most recent revision | Compare with Previous | Blame | View Log
/* * linux/drivers/char/busmouse.h * * Copyright (C) 1995 - 1998 Russell King * * Prototypes for generic busmouse interface */ #ifndef BUSMOUSE_H #define BUSMOUSE_H struct busmouse { int minor; const char *name; struct module *owner; int (*open)(struct inode * inode, struct file * file); int (*release)(struct inode * inode, struct file * file); int init_button_state; }; extern void busmouse_add_movementbuttons(int mousedev, int dx, int dy, int buttons); extern void busmouse_add_movement(int mousedev, int dx, int dy); extern void busmouse_add_buttons(int mousedev, int clear, int eor); extern int register_busmouse(struct busmouse *ops); extern int unregister_busmouse(int mousedev); #endif
Go to most recent revision | Compare with Previous | Blame | View Log