FS2_Open
Open source remastering of the Freespace 2 engine
|
#include "globalincs/pstypes.h"
Go to the source code of this file.
Macros | |
#define | MOUSE_LEFT_BUTTON (1<<0) |
#define | MOUSE_RIGHT_BUTTON (1<<1) |
#define | MOUSE_MIDDLE_BUTTON (1<<2) |
#define | MOUSE_NUM_BUTTONS 3 |
#define | LOWEST_MOUSE_BUTTON (1<<0) |
#define | HIGHEST_MOUSE_BUTTON (1<<2) |
Functions | |
void | mouse_init () |
void | mouse_mark_button (uint flags, int set) |
int | mouse_get_pos (int *xpos, int *ypos) |
int | mouse_get_pos_unscaled (int *xpos, int *ypos) |
void | mouse_get_real_pos (int *mx, int *my) |
void | mouse_set_pos (int xpos, int ypos) |
int | mouse_down_count (int n, int reset_count=1) |
int | mouse_up_count (int n) |
void | mouse_flush () |
int | mouse_down (int btn) |
float | mouse_down_time (int btn) |
int | mouse_is_visible () |
void | mouse_lost_focus () |
void | mouse_got_focus () |
void | mouse_eval_deltas () |
void | mouse_get_delta (int *dx=NULL, int *dy=NULL, int *dz=NULL) |
void | getWindowMousePos (POINT *pt) |
void | setWindowMousePos (POINT *pt) |
void | mouse_force_pos (int x, int y) |
Variables | |
int | Mouse_sensitivity |
int | Use_mouse_to_fly |
int | Mouse_hidden |
int | Keep_mouse_centered |