Add Stadia support (#8)
* Log some info * Fix pairing url and include TLS certificate in the connection request * Try to fix crashing related to shortcuts * Add print_exc() * Fix crash when pressing buttons on Joy-Con (L) * Linting * Add "Stadia" pairing method
This commit is contained in:
parent
2ebd7be378
commit
e89be3166f
4 changed files with 69 additions and 33 deletions
|
@ -129,8 +129,8 @@ SHORTCUT_MAPPING = {
|
|||
}
|
||||
|
||||
# Same with Joy-Con (L)
|
||||
SHORTCUT_MAPPING[JoyConButton.UP] = JoyConButton.X
|
||||
SHORTCUT_MAPPING[JoyConButton.LEFT] = JoyConButton.Y
|
||||
SHORTCUT_MAPPING[JoyConButton.MINUS] = JoyConButton.PLUS
|
||||
SHORTCUT_MAPPING[JoyConButton.L] = JoyConButton.R
|
||||
SHORTCUT_MAPPING[JoyConButton.ZL] = JoyConButton.ZR
|
||||
SHORTCUT_MAPPING[JoyConButton.UP] = SHORTCUT_MAPPING[JoyConButton.X]
|
||||
SHORTCUT_MAPPING[JoyConButton.LEFT] = SHORTCUT_MAPPING[JoyConButton.Y]
|
||||
SHORTCUT_MAPPING[JoyConButton.MINUS] = SHORTCUT_MAPPING[JoyConButton.PLUS]
|
||||
SHORTCUT_MAPPING[JoyConButton.L] = SHORTCUT_MAPPING[JoyConButton.R]
|
||||
SHORTCUT_MAPPING[JoyConButton.ZL] = SHORTCUT_MAPPING[JoyConButton.ZR]
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue