Skip to content

Commit 6bf7257

Browse files
committed
Basic Rinkhals UI
1 parent 54ac98e commit 6bf7257

33 files changed

+4052
-1
lines changed

.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,3 +2,4 @@ build/tmp
22
scripts/tmp
33
build/dist
44
files/4-rinkhals/usr/share/data/framebuffer.bmp
5+
files/4-rinkhals/usr/share/data/output.bmp

build/3-python/install-packages.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,6 @@ export TMPDIR=$PIP_TEMP
1212

1313
python -m ensurepip
1414
python -m pip install -r /usr/share/moonraker/scripts/moonraker-requirements.txt
15-
python -m pip install websockets paho-mqtt aiohttp
15+
python -m pip install websockets paho-mqtt aiohttp evdev
1616

1717
rm -rf $PIP_TEMP
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
pip
Lines changed: 29 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,29 @@
1+
Copyright (c) 2012-2023 Georgi Valkov. All rights reserved.
2+
3+
Redistribution and use in source and binary forms, with or without
4+
modification, are permitted provided that the following conditions are
5+
met:
6+
7+
1. Redistributions of source code must retain the above copyright
8+
notice, this list of conditions and the following disclaimer.
9+
10+
2. Redistributions in binary form must reproduce the above copyright
11+
notice, this list of conditions and the following disclaimer in
12+
the documentation and/or other materials provided with the
13+
distribution.
14+
15+
3. Neither the name of author nor the names of its contributors may
16+
be used to endorse or promote products derived from this software
17+
without specific prior written permission.
18+
19+
THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
20+
"AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
21+
LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
22+
A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHORS OR
23+
COPYRIGHT HOLDERS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
24+
SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
25+
LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
26+
DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
27+
THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
28+
(INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
29+
OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
Lines changed: 76 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,76 @@
1+
Metadata-Version: 2.1
2+
Name: evdev
3+
Version: 1.7.1
4+
Summary: Bindings to the Linux input handling subsystem
5+
Author-email: Georgi Valkov <[email protected]>
6+
Maintainer-email: Tobi <[email protected]>
7+
License: Copyright (c) 2012-2023 Georgi Valkov. All rights reserved.
8+
9+
Redistribution and use in source and binary forms, with or without
10+
modification, are permitted provided that the following conditions are
11+
met:
12+
13+
1. Redistributions of source code must retain the above copyright
14+
notice, this list of conditions and the following disclaimer.
15+
16+
2. Redistributions in binary form must reproduce the above copyright
17+
notice, this list of conditions and the following disclaimer in
18+
the documentation and/or other materials provided with the
19+
distribution.
20+
21+
3. Neither the name of author nor the names of its contributors may
22+
be used to endorse or promote products derived from this software
23+
without specific prior written permission.
24+
25+
THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
26+
"AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
27+
LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
28+
A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHORS OR
29+
COPYRIGHT HOLDERS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
30+
SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
31+
LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
32+
DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
33+
THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
34+
(INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
35+
OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
36+
37+
Project-URL: Homepage, https://github.com/gvalkov/python-evdev
38+
Keywords: evdev,input,uinput
39+
Classifier: Development Status :: 5 - Production/Stable
40+
Classifier: Programming Language :: Python :: 3
41+
Classifier: Operating System :: POSIX :: Linux
42+
Classifier: Intended Audience :: Developers
43+
Classifier: Topic :: Software Development :: Libraries
44+
Classifier: License :: OSI Approved :: BSD License
45+
Classifier: Programming Language :: Python :: Implementation :: CPython
46+
Requires-Python: >=3.6
47+
Description-Content-Type: text/markdown
48+
License-File: LICENSE
49+
50+
# evdev
51+
52+
<p>
53+
<a href="https://pypi.python.org/pypi/evdev"><img alt="pypi version" src="https://img.shields.io/pypi/v/evdev.svg"></a>
54+
<a href="https://github.com/gvalkov/python-evdev/blob/main/LICENSE"><img alt="License" src="https://img.shields.io/pypi/l/evdev"></a>
55+
</p>
56+
57+
This package provides bindings to the generic input event interface in Linux.
58+
The *evdev* interface serves the purpose of passing events generated in the
59+
kernel directly to userspace through character devices that are typically
60+
located in `/dev/input/`.
61+
62+
This package also comes with bindings to *uinput*, the userspace input
63+
subsystem. *Uinput* allows userspace programs to create and handle input devices
64+
that can inject events directly into the input subsystem.
65+
66+
***Documentation:***
67+
https://python-evdev.readthedocs.io/en/latest/
68+
69+
***Development:***
70+
https://github.com/gvalkov/python-evdev
71+
72+
***Package:***
73+
https://pypi.python.org/pypi/evdev
74+
75+
***Changelog:***
76+
https://python-evdev.readthedocs.io/en/latest/changelog.html
Lines changed: 34 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,34 @@
1+
evdev-1.7.1.dist-info/INSTALLER,sha256=zuuue4knoyJ-UwPPXg8fezS7VCrXJQrAP7zeNuwvFQg,4
2+
evdev-1.7.1.dist-info/LICENSE,sha256=Vf1217P5DTEvFh0xhjG5PFig5p1mLQfE9ayixsnsyF4,1507
3+
evdev-1.7.1.dist-info/METADATA,sha256=ZNC5VUcXgUAZBAPGMKSU-Xlai4wWOXFWJaXst4l9O14,3519
4+
evdev-1.7.1.dist-info/RECORD,,
5+
evdev-1.7.1.dist-info/REQUESTED,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
6+
evdev-1.7.1.dist-info/WHEEL,sha256=V5cxkm66lmImpBsJWp2O6CDCWT_Bj1zQK_yH5oS9_k0,104
7+
evdev-1.7.1.dist-info/top_level.txt,sha256=tgRM-peDJTah3Is39Micsqkx31ek4FTHG4usyN23Xsk,6
8+
evdev/__init__.py,sha256=MKPN8vlUZsCwkHNtbGY_PFcA96aWmWdyURFCl1o6fAM,549
9+
evdev/__pycache__/__init__.cpython-311.pyc,,
10+
evdev/__pycache__/device.cpython-311.pyc,,
11+
evdev/__pycache__/ecodes.cpython-311.pyc,,
12+
evdev/__pycache__/eventio.cpython-311.pyc,,
13+
evdev/__pycache__/eventio_async.cpython-311.pyc,,
14+
evdev/__pycache__/events.cpython-311.pyc,,
15+
evdev/__pycache__/evtest.cpython-311.pyc,,
16+
evdev/__pycache__/ff.cpython-311.pyc,,
17+
evdev/__pycache__/genecodes.cpython-311.pyc,,
18+
evdev/__pycache__/uinput.cpython-311.pyc,,
19+
evdev/__pycache__/util.cpython-311.pyc,,
20+
evdev/_ecodes.cpython-311-arm-linux-gnueabihf.so,sha256=WIyDJIXMWSoIqQUuY5JJEMxZJpdA68I4QemKH_hyF-A,35960
21+
evdev/_input.cpython-311-arm-linux-gnueabihf.so,sha256=30c4CIV1yRvMAcPjKalMraDvht2PDvBOBP4h6GHf8xQ,13240
22+
evdev/_uinput.cpython-311-arm-linux-gnueabihf.so,sha256=-6wa19dUJsVrpcw32mixeD_xEErVlgt2xnbj_A31nQ4,12856
23+
evdev/device.py,sha256=wAzEvdw7jmSeRMl412kKXYaAyemkuH3QivF50m52-7c,12566
24+
evdev/ecodes.py,sha256=wZ1AUqvnzhpw5-4lh2lUjHih6oyoe-CUvGFZ0YaZgfU,2618
25+
evdev/eventio.py,sha256=xB8DizUZ5WsOZEhr3igv3eaLo-TWWDph0gpo3MRYO4s,3938
26+
evdev/eventio_async.py,sha256=3r4RuPu8b42caknwKeEcDtdLy-m0r_lHu4OqWv1XULg,2865
27+
evdev/events.py,sha256=HnhA2UCkJFmjUkUFfP-04-Bh8X5TlFBs42z1nZGHy_s,5598
28+
evdev/evtest.py,sha256=i8E3ArDGmE1dfbGriXvunmsmKH6q6tt2iojHevquo04,5517
29+
evdev/ff.py,sha256=eyxxrB0mR8_w1zDQf9Lz_NyazafChPS14W5aXJIJ7Lo,4965
30+
evdev/genecodes.py,sha256=gay1sPitg9MRY5TZLPco7yxYNggQ19JASwFuvFyiRVM,2154
31+
evdev/input.c,sha256=uH0WpZ6n7xcuph6i1qDVPZ8-dcZQVTnKgkEIZ42rFAw,16357
32+
evdev/uinput.c,sha256=bbY8bTHtxksk7LHJABVkQkkSQzhTVsg0avW_2BPdEkw,10575
33+
evdev/uinput.py,sha256=17_WQ4kCP55K4RzXdvXuMjExf3vnU9Icm3CTm_84i6k,13348
34+
evdev/util.py,sha256=z_HI7DOkWlgk8KUc_TcSuVfxFWzrD06ztt7os3PdFt0,4190

files/3-python/usr/lib/python3.11/site-packages/evdev-1.7.1.dist-info/REQUESTED

Whitespace-only changes.
Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
Wheel-Version: 1.0
2+
Generator: setuptools (75.6.0)
3+
Root-Is-Purelib: false
4+
Tag: cp311-cp311-linux_armv7l
5+
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
evdev
Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
# --------------------------------------------------------------------------
2+
# Gather everything into a single, convenient namespace.
3+
# --------------------------------------------------------------------------
4+
5+
from evdev.device import DeviceInfo, InputDevice, AbsInfo, EvdevError
6+
from evdev.events import InputEvent, KeyEvent, RelEvent, SynEvent, AbsEvent, event_factory
7+
from evdev.uinput import UInput, UInputError
8+
from evdev.util import list_devices, categorize, resolve_ecodes, resolve_ecodes_dict
9+
from evdev import ecodes
10+
from evdev import ff

0 commit comments

Comments
 (0)