#include "types.h"#include "fix.h"Defines | |
| #define | MOUSE_MAX_BUTTONS 11 |
| #define | MB_LEFT 0 |
| #define | MB_RIGHT 1 |
| #define | MB_MIDDLE 2 |
| #define | MB_Z_UP 3 |
| #define | MB_Z_DOWN 4 |
| #define | MB_PITCH_BACKWARD 5 |
| #define | MB_PITCH_FORWARD 6 |
| #define | MB_BANK_LEFT 7 |
| #define | MB_BANK_RIGHT 8 |
| #define | MB_HEAD_LEFT 9 |
| #define | MB_HEAD_RIGHT 10 |
| #define | MOUSE_LBTN 1 |
| #define | MOUSE_RBTN 2 |
| #define | MOUSE_MBTN 4 |
Functions | |
| int | mouse_init (int unused) |
| void | mouse_close (void) |
| int | mouse_set_limits (int x1, int y1, int x2, int y2) |
| void | mouse_flush () |
| void | mouse_get_pos (int *x, int *y) |
| void | mouse_get_delta (int *dx, int *dy) |
| int | mouse_get_btns () |
| void | mouse_set_pos (int x, int y) |
| void | mouse_get_cyberman_pos (int *x, int *y) |
| fix | mouse_button_down_time (int button) |
| int | mouse_button_down_count (int button) |
| int | mouse_button_state (int button) |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
||||||||||||
|
|
|
||||||||||||
|
|
|
||||||||||||
|
|
|
|
|
|
||||||||||||||||||||
|
|
|
||||||||||||
|
|
1.4.6