-
Notifications
You must be signed in to change notification settings - Fork 170
Commit
- Make MacOS multi-desktop workaround more reliable - Partial media keys support
- Loading branch information
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,23 @@ | ||
BasedOnStyle: LLVM | ||
BinPackParameters: 'false' | ||
BinPackArguments: 'false' | ||
AlignAfterOpenBracket: Align | ||
AlignConsecutiveMacros: 'true' | ||
AlignConsecutiveAssignments: 'true' | ||
AlignConsecutiveDeclarations: 'false' | ||
AlignEscapedNewlines: Left | ||
AlignOperands: 'true' | ||
AlignTrailingComments: 'true' | ||
AllowAllArgumentsOnNextLine: 'true' | ||
AllowShortFunctionsOnASingleLine: 'false' | ||
BreakBeforeBinaryOperators: 'All' | ||
ColumnLimit: '110' | ||
IndentWidth: '4' | ||
IndentCaseLabels: 'true' | ||
IndentWrappedFunctionNames: 'false' | ||
KeepEmptyLinesAtTheStartOfBlocks: 'true' | ||
MaxEmptyLinesToKeep: '2' | ||
PointerAlignment: Right | ||
ReflowComments: 'true' | ||
Standard: Cpp11 | ||
UseTab: Never |
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -29,7 +29,8 @@ enum | |
{ | ||
REPORT_ID_KEYBOARD = 1, | ||
REPORT_ID_MOUSE, | ||
REPORT_ID_COUNT | ||
REPORT_ID_COUNT, | ||
This comment has been minimized.
Sorry, something went wrong.
This comment has been minimized.
Sorry, something went wrong.
hrvach
Owner
|
||
REPORT_ID_CONSUMER | ||
}; | ||
|
||
enum | ||
|
@@ -86,4 +87,20 @@ HID_COLLECTION ( HID_COLLECTION_APPLICATION ) ,\ | |
HID_COLLECTION_END , \ | ||
HID_COLLECTION_END \ | ||
|
||
// Consumer Control Report Descriptor Template | ||
#define TUD_HID_REPORT_DESC_CONSUMER_CTRL(...) \ | ||
This comment has been minimized.
Sorry, something went wrong.
jalmeroth
Contributor
|
||
HID_USAGE_PAGE ( HID_USAGE_PAGE_CONSUMER ) ,\ | ||
HID_USAGE ( HID_USAGE_CONSUMER_CONTROL ) ,\ | ||
HID_COLLECTION ( HID_COLLECTION_APPLICATION ) ,\ | ||
/* Report ID if any */\ | ||
__VA_ARGS__ \ | ||
HID_LOGICAL_MIN ( 0x01 ) ,\ | ||
HID_LOGICAL_MAX_N( 0x0FFF, 2 ) ,\ | ||
HID_USAGE_MIN ( 0x01 ) ,\ | ||
HID_USAGE_MAX_N ( 0x0FFF, 2 ) ,\ | ||
HID_REPORT_SIZE ( 16 ) ,\ | ||
HID_REPORT_COUNT ( 2 ) ,\ | ||
HID_INPUT ( HID_DATA | HID_ARRAY | HID_ABSOLUTE ) ,\ | ||
HID_COLLECTION_END \ | ||
|
||
#endif /* USB_DESCRIPTORS_H_ */ |
Is this actually used somewhere?