xfree86: remove conversion procs and close proc from InputInfoRec.
None of them are called by the server. Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net> Reviewed-by: Tiago Vignatti <tiago.vignatti@nokia.com> Reviewed-by: Fernando Carrijo <fcarrijo@freedesktop.org>
This commit is contained in:
parent
9802cca816
commit
1217097861
|
@ -669,10 +669,7 @@ xf86AllocateInput(InputDriverPtr drv, IDevPtr idev)
|
||||||
new->device_control = NULL;
|
new->device_control = NULL;
|
||||||
new->read_input = NULL;
|
new->read_input = NULL;
|
||||||
new->control_proc = NULL;
|
new->control_proc = NULL;
|
||||||
new->close_proc = NULL;
|
|
||||||
new->switch_mode = NULL;
|
new->switch_mode = NULL;
|
||||||
new->conversion_proc = NULL;
|
|
||||||
new->reverse_conversion_proc = NULL;
|
|
||||||
new->dev = NULL;
|
new->dev = NULL;
|
||||||
new->private = NULL;
|
new->private = NULL;
|
||||||
new->conf_idev = idev;
|
new->conf_idev = idev;
|
||||||
|
|
|
@ -106,16 +106,8 @@ typedef struct _InputInfoRec {
|
||||||
void (*read_input)(struct _InputInfoRec *local);
|
void (*read_input)(struct _InputInfoRec *local);
|
||||||
int (*control_proc)(struct _InputInfoRec *local,
|
int (*control_proc)(struct _InputInfoRec *local,
|
||||||
xDeviceCtl *control);
|
xDeviceCtl *control);
|
||||||
void (*close_proc)(struct _InputInfoRec *local);
|
|
||||||
int (*switch_mode)(ClientPtr client, DeviceIntPtr dev,
|
int (*switch_mode)(ClientPtr client, DeviceIntPtr dev,
|
||||||
int mode);
|
int mode);
|
||||||
Bool (*conversion_proc)(struct _InputInfoRec *local,
|
|
||||||
int first, int num, int v0,
|
|
||||||
int v1, int v2, int v3, int v4,
|
|
||||||
int v5, int *x, int *y);
|
|
||||||
Bool (*reverse_conversion_proc)(
|
|
||||||
struct _InputInfoRec *local,
|
|
||||||
int x, int y, int *valuators);
|
|
||||||
int (*set_device_valuators)
|
int (*set_device_valuators)
|
||||||
(struct _InputInfoRec *local,
|
(struct _InputInfoRec *local,
|
||||||
int *valuators, int first_valuator,
|
int *valuators, int first_valuator,
|
||||||
|
|
Loading…
Reference in New Issue