forked from Ryochan7/sc-controller
-
Notifications
You must be signed in to change notification settings - Fork 4
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Again, yes.
- Loading branch information
Showing
7 changed files
with
206 additions
and
195 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,3 @@ | ||
#!/usr/bin/env python3 | ||
|
||
# The MIT License (MIT) | ||
# | ||
# Copyright (c) 2015 Stany MARCEL <[email protected]> | ||
|
@@ -109,17 +107,16 @@ class SCButtons(IntEnum): | |
|
||
|
||
class HapticPos(IntEnum): | ||
"""Specify witch pad or trig is used""" | ||
"""Specify witch pad or trig is used.""" | ||
|
||
RIGHT = 0 | ||
LEFT = 1 | ||
BOTH = 2 # emulated | ||
|
||
|
||
class ControllerFlags(IntEnum): | ||
""" | ||
Used by mapper to workaround some physical differences between | ||
Steam Controller and other pads. | ||
""" | ||
"""Used by mapper to workaround some physical differences between Steam Controller and other pads.""" | ||
|
||
NONE = 0 # No flags, default SC. | ||
HAS_RSTICK = 1 << 0 # Controller has right stick instead of touchpad | ||
SEPARATE_STICK = 1 << 1 # Left stick and left pad are using separate axes | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.