/usr/lib/python3/dist-packages/UM/InputDevice.py is in python3-uranium 3.1.0-1.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 | # Copyright (c) 2015 Ultimaker B.V.
# Uranium is released under the terms of the LGPLv3 or higher.
from UM.Signal import Signal, signalemitter
from UM.PluginObject import PluginObject
## Abstract base class for all input devices (Human Input Devices)
# Examples of this are mouse & keyboard
@signalemitter
class InputDevice(PluginObject):
def __init__(self):
super().__init__()
## Emitted whenever the device produces an event.
# All actions performed with the device should be seen as an event.
# \param event The event that is emitted.
event = Signal()
|