firmware+controller: Add match found state
This commit is contained in:
@@ -18,6 +18,8 @@ def main():
|
||||
h.idle(None)
|
||||
h.queue_start(RiotPlayerInfo.dummy(
|
||||
valorant=ValorantPlayerInfo(queue_type='unrated', is_party_owner=True)))
|
||||
h.match_found(RiotPlayerInfo.dummy(valorant=ValorantPlayerInfo(queue_type='premier-seasonmatch')))
|
||||
h.match_found(RiotPlayerInfo.dummy(valorant=ValorantPlayerInfo()))
|
||||
|
||||
h.service()
|
||||
finally:
|
||||
|
@@ -313,6 +313,9 @@ class HIDValconomyHandler(ValconomyHandler):
|
||||
ms_not_comp = info.valorant.is_party_owner and info.valorant.queue_type == 'unrated'
|
||||
self._enq(3, 1 if ms_not_comp else 0, fmt='B')
|
||||
|
||||
def match_found(self, info: RiotPlayerInfo):
|
||||
self._enq(4, 1 if info.valorant.queue_type == 'premier-seasonmatch' else 0, fmt='B')
|
||||
|
||||
class GameState(Enum):
|
||||
NONE = 0
|
||||
MENU = 1
|
||||
|
Reference in New Issue
Block a user