Class DeckDescriptor
java.lang.Object
de.rcblum.stream.deck.device.descriptor.DeckDescriptor
Descriptor for the different stream decks.
MIT License
2025 Roland von Werden
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:
The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE.
MIT License
2025 Roland von Werden
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:
The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE.
- Version:
- 1.0.1
- Author:
- Roland von Werden
-
Field Summary
FieldsModifier and TypeFieldDescriptionfinal intfinal intfinal Stringfinal shortfinal DrawImageInterfacefinal DrawImageInterfacefinal intfinal DrawTouchscreenInterfacefinal Dimensionfinal Dimensionfinal byte[]final byte[]final byte[]final intfinal shortfinal FeatureReportInterfacefinal intstatic final DeckDescriptorfinal int -
Method Summary
Modifier and TypeMethodDescriptionstatic DeckDescriptorgetDescriptor(short vendorId, short productid) static DeckDescriptorgetDescriptorByKeySize(int keys) getKey(int keyId) intgetSpecialKey(int keyId) intKeyType[]intintint
-
Field Details
-
SOFT_STREAM_DECK
-
deviceVendor
public final short deviceVendor -
productId
public final short productId -
deviceName
-
iconSize
-
fullDisplaySize
-
rows
public final int rows -
columns
public final int columns -
defaultFontSize
public final int defaultFontSize -
touchScreenIndex
public final int touchScreenIndex -
inputReportKeys
public final byte[] inputReportKeys -
inputReportTouchScreen
public final byte[] inputReportTouchScreen -
inputReportDials
public final byte[] inputReportDials -
keyEventInputReportOffset
public final int keyEventInputReportOffset -
drawImageInterface
-
drawImageKeyOffset
public final int drawImageKeyOffset -
drawTouchScreenInterface
-
drawFullImageInterface
-
resetInterface
-
brightnessInterface
-
-
Method Details
-
getDescriptor
-
getDescriptorByKeySize
-
getKeySize
public int getKeySize() -
getTotalKeySize
public int getTotalKeySize() -
getSpecialKeySize
public int getSpecialKeySize() -
getSpecialKeyOffset
public int getSpecialKeyOffset() -
getKey
-
getSpecialKey
-
getSpecialKeys
-
getTouchScreenIndex
public int getTouchScreenIndex()
-