typedef struct MOUSE_DRIVER
{
int id;
AL_CONST char *name;
AL_CONST char *desc;
AL_CONST char *ascii_name;
AL_METHOD(int, init, (void));
AL_METHOD(void, exit, (void));
AL_METHOD(void, poll, (void));
AL_METHOD(void, timer_poll, (void));
AL_METHOD(void, position, (int x, int y));
AL_METHOD(void, set_range, (int x1, int y_1, int x2, int y2));
AL_METHOD(void, set_speed, (int xspeed, int yspeed));
AL_METHOD(void, get_mickeys, (int *mickeyx, int *mickeyy));
AL_METHOD(int, analyse_data, (AL_CONST char *buffer, int size));
AL_METHOD(void, enable_hardware_cursor, (int mode));
AL_METHOD(int, select_system_cursor, (int cursor));
} MOUSE_DRIVER;
I don't want you to explain all that, just explain if this was a type definition, a data structure, or something else, because I don't know what this is


Sign In
Create Account

Guest_x42_*
Back to top










