Daniel Pavel
b83a14e16f
minor clean-ups and formatting
2013-07-12 22:39:17 +02:00
Daniel Pavel
ba55e4d9bd
import * cleanups
2013-07-05 16:19:49 +02:00
Daniel Pavel
ceba698678
moved settings templates into separate .py
2013-07-01 15:24:30 +02:00
Daniel Pavel
a0b7d39f83
use the wpid to identify devices, when possible
2013-06-30 13:49:35 +02:00
Daniel Pavel
c464e049bf
allow settings to be bound to certain device types
...
avoids stuff like smooth-scroll being attached to a keyboard
2013-06-29 21:26:25 +02:00
Daniel Pavel
8d5718178f
load the configuration when the device is detected
...
and apply it every time the device comes online
2013-06-29 20:35:02 +02:00
Daniel Pavel
70c341e268
don't use proxies for receiver/device objects
...
they should be unnecessary now that their status is properly tracked
2013-06-23 18:37:50 +02:00
Daniel Pavel
431f1c97cf
added read/write_register to receiver and devices
2013-06-21 15:03:36 +02:00
Daniel Pavel
57c759773a
attach configuration to device settings objects
2013-06-17 11:00:53 +02:00
Peter Wu
6c28cedf23
Make BooleanValidator accept bytes too besides int
...
Previously, only the first parameter byte can be read or written. After this
patch, it is possible to select/write more bytes by specifying a mask of type
bytes with the appropriate length.
2013-04-27 15:12:55 +02:00
Daniel Pavel
36f34da227
proper debian packaging, dropper stdeb
2013-01-05 11:48:35 +02:00
Daniel Pavel
064a7a113c
added setup.py for python and debian packaging
2012-12-18 05:03:43 +02:00
Daniel Pavel
f0c5046ccf
re-worked the settings classes
2012-12-14 06:44:44 +02:00
Daniel Pavel
2d338ffbfb
better __str__ of Setting instances
2012-12-13 03:33:19 +02:00
Daniel Pavel
30fedf418c
re-read device settings when they come back online
2012-12-07 21:00:36 +02:00
Daniel Pavel
b86dcce381
I come from the __future__, come with me if you want to live.
2012-12-07 17:10:22 +02:00
Daniel Pavel
3569489ce7
added registers and settings to device descriptors
2012-12-07 13:54:03 +02:00