| 1 |
# -------------------------------------------------------------------------- |
| 2 |
# Gather everything into a single, convenient namespace. |
| 3 |
# -------------------------------------------------------------------------- |
| 4 |
|
| 5 |
# The superfluous "import name as name" syntax is here to satisfy mypy's attrs-defined rule. |
| 6 |
# Alternatively all exported objects can be listed in __all__. |
| 7 |
|
| 8 |
from . import ( |
| 9 |
ecodes as ecodes, |
| 10 |
ff as ff, |
| 11 |
) |
| 12 |
|
| 13 |
from .device import ( |
| 14 |
AbsInfo as AbsInfo, |
| 15 |
DeviceInfo as DeviceInfo, |
| 16 |
EvdevError as EvdevError, |
| 17 |
InputDevice as InputDevice, |
| 18 |
) |
| 19 |
|
| 20 |
from .events import ( |
| 21 |
AbsEvent as AbsEvent, |
| 22 |
InputEvent as InputEvent, |
| 23 |
KeyEvent as KeyEvent, |
| 24 |
RelEvent as RelEvent, |
| 25 |
SynEvent as SynEvent, |
| 26 |
event_factory as event_factory, |
| 27 |
) |
| 28 |
|
| 29 |
from .uinput import ( |
| 30 |
UInput as UInput, |
| 31 |
UInputError as UInputError, |
| 32 |
) |
| 33 |
|
| 34 |
from .util import ( |
| 35 |
categorize as categorize, |
| 36 |
list_devices as list_devices, |
| 37 |
resolve_ecodes as resolve_ecodes, |
| 38 |
resolve_ecodes_dict as resolve_ecodes_dict, |
| 39 |
) |