The device_t available/poll union is now gone, mouse poll is now set using mouse_set_poll(), and mouse_curr is now also gone.
This commit is contained in:
@@ -165,10 +165,8 @@ typedef struct _device_ {
|
||||
};
|
||||
void (*close)(void *priv);
|
||||
void (*reset)(void *priv);
|
||||
union {
|
||||
int (*available)(void);
|
||||
int (*poll)(void *priv);
|
||||
};
|
||||
int (*available)(void);
|
||||
int (*poll)(void *priv);
|
||||
void (*speed_changed)(void *priv);
|
||||
void (*force_redraw)(void *priv);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user