-
Notifications
You must be signed in to change notification settings - Fork 72
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Razer: Load Debug Device Properties for Each Device Type
- Loading branch information
1 parent
a4bd797
commit d82eebd
Showing
2 changed files
with
36 additions
and
18 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,42 +1,55 @@ | ||
namespace RGB.NET.Devices.Razer; | ||
using System; | ||
|
||
namespace RGB.NET.Devices.Razer; | ||
|
||
/// <summary> | ||
/// Represents a type of Razer SDK endpoint | ||
/// </summary> | ||
[Flags] | ||
public enum RazerEndpointType | ||
{ | ||
/// <summary> | ||
/// No endpoint | ||
/// </summary> | ||
None = 0, | ||
|
||
/// <summary> | ||
/// The keyboard endpoint | ||
/// </summary> | ||
Keyboard, | ||
Keyboard = 1 << 0, | ||
|
||
/// <summary> | ||
/// The laptop keyboard endpoint, shares the <see cref="Keyboard"/> endpoint but has a different LED layout | ||
/// </summary> | ||
LaptopKeyboard, | ||
LaptopKeyboard = 1 << 1, | ||
|
||
/// <summary> | ||
/// The mouse endpoint | ||
/// </summary> | ||
Mouse, | ||
Mouse = 1 << 2, | ||
|
||
/// <summary> | ||
/// The headset endpoint | ||
/// </summary> | ||
Headset, | ||
Headset = 1 << 3, | ||
|
||
/// <summary> | ||
/// The mousepad endpoint | ||
/// </summary> | ||
Mousepad, | ||
Mousepad = 1 << 4, | ||
|
||
/// <summary> | ||
/// The keypad endpoint | ||
/// </summary> | ||
Keypad, | ||
Keypad = 1 << 5, | ||
|
||
/// <summary> | ||
/// The Chroma Link endpoint | ||
/// </summary> | ||
ChromaLink, | ||
} | ||
ChromaLink = 1 << 6, | ||
|
||
/// <summary> | ||
/// All endpoints | ||
/// </summary> | ||
All = ~None | ||
} |
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