feat: YAB-1785: Initial commit

This commit is contained in:
2023-12-03 21:16:29 +03:00
commit ceeedf6d58
15 changed files with 564 additions and 0 deletions
+6
View File
@@ -0,0 +1,6 @@
yablochkov-keyboard-reader (0.1.0) release; urgency=low
[ Alexander Terekhin ]
* Initial version
-- Alexander Terekhin <alex@bearns> Sun, 03 Dec 2023 17:01:00 +0600
+1
View File
@@ -0,0 +1 @@
11
+11
View File
@@ -0,0 +1,11 @@
Source: yablochkov-keyboard-reader
Section: misc
Priority: optional
Maintainer: Alexander Terekhin <alex@bearns.me>
Package: yablochkov-keyboard-reader
Version: 0.1
Architecture: amd64
Installed-Size: 5008848
Description: Yablochkov keyboard reader
+2
View File
@@ -0,0 +1,2 @@
chmod +x /opt/ocppc/bin/keyboard-reader
systemctl enable keyboard-reader --now
+23
View File
@@ -0,0 +1,23 @@
#!/usr/bin/make -f
build:
@ echo BUILD: nothing to do here
binary:
@ echo BINARY
dh_testroot
dh_prep
dh_install
dh_installdocs
dh_installchangelogs
dh_installexamples
dh_installman
dh_link
dh_compress
dh_fixperms
dh_installdeb
dh_gencontrol
dh_md5sums
dh_builddeb
.PHONY: build clean binary
+2
View File
@@ -0,0 +1,2 @@
etc /
opt /
+18
View File
@@ -0,0 +1,18 @@
[Unit]
Description=Yablochkov keyboard reader
[Service]
StandardOutput=syslog
StandardError=syslog
SyslogIdentifier=keyboard-reader
WorkingDirectory=/opt/ocppc
EnvironmentFile=/opt/conf/configuration_vars.env
EnvironmentFile=/opt/conf/configuration_vars_model.env
EnvironmentFile=/opt/conf/configuration_vars_personal.env
ExecStart=/opt/ocppc/bin/keyboard-reader --serial=OEM_TWN4_B1.64_NKF4.64_STD2.04
User=debian
Group=input
ExecStop=/bin/kill -TERM $MAINPID
[Install]
WantedBy=multi-user.target