-
Notifications
You must be signed in to change notification settings - Fork 115
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
core, quirks: Add heuristics to detect GameSir Nova controllers
GameSir Nova uses random MAC OUIs. But looking at samples we probably can detect those controllers by checking the descriptor length and masking the OUI for a specific value. See `docs/heuristics/gamesir-nova.md`. Fixes: #484 Tested-by: https://github.com/BakaJzon Signed-off-by: Kai Krakow <[email protected]>
- Loading branch information
Showing
4 changed files
with
35 additions
and
7 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 |
---|---|---|
@@ -0,0 +1,11 @@ | ||
# GameSir Nova OUIs | ||
|
||
Gamesir Nova uses random MAC OUIs. We collect them here to implement a | ||
working heuristic matcher. | ||
|
||
| OUI | Bit representation | descriptor length | ||
| ------------ | --------------------------------------- | ----------------- | ||
| 3E:42:6C | `0011 1110 : 0100 0010 : 0110 1100` | 283 | ||
| ED:BC:9A | `1110 1101 : 1011 1100 : 1001 1010` | 283 | ||
| 6A:07:14 | `0110 1010 : 0000 0111 : 0001 0100` | 283 | ||
| **AND mask** | **`0010 1000 : 0000 0000 : 0000 0000`** | **mask 0x28** |
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