device: clean up __init__ in logitech_receiver
This commit is contained in:
parent
767a729598
commit
8e44c08139
|
@ -15,27 +15,13 @@
|
||||||
## You should have received a copy of the GNU General Public License along
|
## You should have received a copy of the GNU General Public License along
|
||||||
## with this program; if not, write to the Free Software Foundation, Inc.,
|
## with this program; if not, write to the Free Software Foundation, Inc.,
|
||||||
## 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
|
## 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
|
||||||
"""Low-level interface for devices connected through a Logitech Universal
|
"""Low-level interface for devices using Logitech HID++ protocol.
|
||||||
Receiver (UR).
|
|
||||||
|
|
||||||
Uses the HID api exposed through hidapi.py, a Python thin layer over a native
|
Uses the HID api exposed through hidapi.py, a Python thin layer over a native
|
||||||
implementation.
|
implementation.
|
||||||
|
|
||||||
Incomplete. Based on a bit of documentation, trial-and-error, and guesswork.
|
|
||||||
|
|
||||||
References:
|
|
||||||
http://julien.danjou.info/blog/2012/logitech-k750-linux-support
|
|
||||||
http://6xq.net/git/lars/lshidpp.git/plain/doc/
|
|
||||||
"""
|
"""
|
||||||
|
|
||||||
import logging
|
import logging
|
||||||
|
|
||||||
logger = logging.getLogger(__name__)
|
logger = logging.getLogger(__name__)
|
||||||
logger.setLevel(logging.root.level)
|
logger.setLevel(logging.root.level)
|
||||||
# if logging.root.level > logging.DEBUG:
|
|
||||||
# logger.addHandler(logging.NullHandler())
|
|
||||||
# logger.propagate = 0
|
|
||||||
|
|
||||||
del logging
|
|
||||||
|
|
||||||
__version__ = "0.9"
|
|
||||||
|
|
Loading…
Reference in New Issue