-
Notifications
You must be signed in to change notification settings - Fork 3
Helper Objects
Fiercest edited this page Apr 20, 2020
·
2 revisions
// Getters
DeviceType getType()
String getModelName()
PhysicalLayout getPhysicalLayout()
LogicalLayout getLogicalLayout()
DeviceCaps getCapabilities()
int getLedCount()
List<CorsairChannel> getChannels() // Empty if the device doesn't have any channels.
byte[] getDeviceId() // The device's unique ID.//Constructors
Color(int r, int g, int b) // Create a color using rgb values.
Color(int hex) // Create a color using an int based hex color.
//Getters
int getR()
int getG()
int getB()//Getters
int getTotalLedsCount()
int getDevicesCount()
List<CorsairChannelDevice> getDevices()//Getters
CorsairChannelDeviceType getType
int getDeviceLedCount()//Getters
LedId getLedId()
double getTop()
double getLeft()
double getHeight()
double getWidth()//Getters
String getSdkVersion()
String getServerVersion()
int getSdkProtocolVersion()
int getServerProtocolVersion()
boolean isBreakingChanges()// Does not have any fields at the moment. This feature is not working properly.//Getters
KeyId getKeyId()
boolean isPressed()