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:
Peter Hutterer 2010-09-01 15:44:44 +10:00
parent 9802cca816
commit 1217097861
2 changed files with 0 additions and 11 deletions

View File

@ -669,10 +669,7 @@ xf86AllocateInput(InputDriverPtr drv, IDevPtr idev)
new->device_control = NULL;
new->read_input = NULL;
new->control_proc = NULL;
new->close_proc = NULL;
new->switch_mode = NULL;
new->conversion_proc = NULL;
new->reverse_conversion_proc = NULL;
new->dev = NULL;
new->private = NULL;
new->conf_idev = idev;

View File

@ -106,16 +106,8 @@ typedef struct _InputInfoRec {
void (*read_input)(struct _InputInfoRec *local);
int (*control_proc)(struct _InputInfoRec *local,
xDeviceCtl *control);
void (*close_proc)(struct _InputInfoRec *local);
int (*switch_mode)(ClientPtr client, DeviceIntPtr dev,
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)
(struct _InputInfoRec *local,
int *valuators, int first_valuator,