BUSMOUSE_ADD_BUTTONS
Section: ()
Updated: 06 October 2005
Index
Return to Main Contents
NAME
busmouse_add_buttons - notification of a change of button state
SYNOPSIS
"SYNOPSIS"
void busmouse_add_buttons (int mousedev, int clear, int eor);
ARGUMENTS
- mousedev
-
mouse number
- clear
-
mask of buttons to clear
- eor
-
mask of buttons to change
DESCRIPTION
Updates the button state. The mousedev parameter is the value
returned from register_busmouse. The buttons are updated by:
new_state = (old_state & ~clear) ^ eor
A waiting user thread is woken up.
Index
- NAME
-
- SYNOPSIS
-
- ARGUMENTS
-
- DESCRIPTION
-
This document was created by
man2html,
using the manual pages.
Time: 07:07:01 GMT, October 06, 2005