1
0
mirror of https://github.com/gryf/linak-ctrl.git synced 2025-12-18 12:00:16 +01:00

10 Commits

Author SHA1 Message Date
ab18c7d90f Move from setup.cfg to pyproject.toml. 2025-03-26 19:34:52 +01:00
13d2f008ad Make the package instead of bare module. 2022-04-13 17:39:43 +02:00
32b49bd278 Cover case when no device has been found. 2021-07-29 19:31:21 +02:00
e9ea91f2c3 Detach kernel driver before doing anything with device.
Initialization of the device must be done after device is detached from
kernel, otherwise exception will be thrown about device is busy message.
2021-07-07 17:34:13 +02:00
aa5aecb205 DRY. Simplifying get_status method. 2021-07-07 17:33:00 +02:00
83bd0ac4ea Added initialization part.
Sometimes the usb2lin06 device need to be initialized. Added that part
to the init of LinakDevice class.
2021-06-23 15:40:09 +02:00
7029abd98b Rearranged argument parsing. 2021-02-28 10:13:07 +01:00
53b0f85ebb Handle keyboard interrupt exception for status with loop. 2021-02-28 10:12:16 +01:00
a6d87afc42 Changed param name from height to position for consistency. 2021-02-28 10:10:43 +01:00
61816a98f2 Added linak_ctrl module. 2021-02-27 19:15:07 +01:00