We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 90e4ca9 commit 2a9a60bCopy full SHA for 2a9a60b
adafruit_hid/consumer_control.py
@@ -28,6 +28,10 @@
28
* Author(s): Dan Halbert
29
"""
30
31
+import sys
32
+if sys.implementation[1][0] < 3:
33
+ raise ImportError('{0} is not supported in CircuitPython 2.x or lower'.format(__name__))
34
+
35
import time
36
import usb_hid
37
adafruit_hid/gamepad.py
import struct
0 commit comments