Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 6 additions & 0 deletions scc/drivers/sc_dongle.py
Original file line number Diff line number Diff line change
Expand Up @@ -185,6 +185,12 @@ def __repr__(self):


def input(self, idata):
if idata.rtrig >= 253 and (idata.buttons & SCButtons.RT == 0):
idata = idata._replace(rtrig=253)

if idata.ltrig >= 253 and (idata.buttons & SCButtons.LT == 0):
idata = idata._replace(ltrig=253)

old_state, self._old_state = self._old_state, idata
if self.mapper:
#if idata.buttons & SCButtons.LPAD:
Expand Down