Skip to content

Commit 6bed5e0

Browse files
committed
remove mouserel & mouseabs
1 parent b4f6098 commit 6bed5e0

1 file changed

Lines changed: 2 additions & 9 deletions

File tree

‎evdev/uinput.py‎

Lines changed: 2 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -20,17 +20,13 @@ class UInput(object):
2020

2121
__slots__ = (
2222
'name', 'vendor', 'product', 'version', 'bustype',
23-
'mouserel', 'mouseabs', 'events', 'devnode', 'fd',
24-
'device',
23+
'events', 'devnode', 'fd', 'device',
2524
)
2625

2726
def __init__(self,
2827
events=None,
2928
name='py-evdev-uinput',
30-
vendor=0x1, product=0x1, version=0x1,
31-
bustype=0x3,
32-
mouserel=True,
33-
mouseabs=False,
29+
vendor=0x1, product=0x1, version=0x1, bustype=0x3,
3430
devnode='/dev/uinput'):
3531
'''
3632
@@ -60,9 +56,6 @@ def __init__(self,
6056
self.bustype = bustype #: device bustype - eg. ``BUS_USB``
6157
self.devnode = devnode #: uinput device node - eg. ``/dev/uinput/``
6258

63-
self.mouserel = mouserel
64-
self.mouseabs = mouseabs
65-
6659
if not events: events = {ecodes.EV_KEY: ecodes.keys.keys()}
6760

6861
self._verify()

0 commit comments

Comments
 (0)