aboutsummaryrefslogtreecommitdiff
path: root/src/evdev_btn.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/evdev_btn.c')
-rw-r--r--src/evdev_btn.c12
1 files changed, 0 insertions, 12 deletions
diff --git a/src/evdev_btn.c b/src/evdev_btn.c
index c03f879..340be82 100644
--- a/src/evdev_btn.c
+++ b/src/evdev_btn.c
@@ -322,18 +322,6 @@ EvdevBtnInit (DeviceIntRec *device)
int
EvdevBtnOn (DeviceIntRec *device)
{
- InputInfoRec *pInfo = device->public.devicePrivate;
- evdevDeviceRec *pEvdev = pInfo->private;
- int i, blocked;
-
- if (!pEvdev->state.btn)
- return Success;
-
- blocked = xf86BlockSIGIO ();
- for (i = 1; i <= pEvdev->state.btn->buttons; i++)
- xf86PostButtonEvent (device, 0, i, 0, 0, 0);
- xf86UnblockSIGIO (blocked);
-
return Success;
}