Skip to content

Commit 6233047

Browse files
authored
Merge pull request #15 from lesamouraipourpre/patch-1
Update slider cap_map
2 parents e649e70 + 207607b commit 6233047

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

adafruit_funhouse/peripherals.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -179,7 +179,7 @@ def slider(self):
179179
Return the slider position value in the range of 0.0-1.0 or None if not touched
180180
"""
181181
val = 0
182-
cap_map = b"\x01\x03\x02\x05\x04\x0c\x08\x18\x10"
182+
cap_map = b"\x01\x03\x02\x06\x04\x0c\x08\x18\x10"
183183
for cap in range(5):
184184
if self._ctp[cap + 3].value:
185185
val += 1 << (cap)

0 commit comments

Comments
 (0)