Skip to content
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
27 commits
Select commit Hold shift + click to select a range
f39ef90
Add MIT license and project README
ReenigneArcher Jun 18, 2026
c728c86
Add googletest submodule
ReenigneArcher Jun 18, 2026
f229b7f
Add AGENTS.md with build and platform guidelines
ReenigneArcher Jun 18, 2026
74f3109
Add libvirtualhid core, CMake, tests, examples
ReenigneArcher Jun 18, 2026
a339c18
Add GitHub Actions CI workflow
ReenigneArcher Jun 18, 2026
54b2393
Add Doxygen config, submodule, and API docs
ReenigneArcher Jun 18, 2026
a29c6bd
Add .clang-format and lizardbyte common submodule
ReenigneArcher Jun 18, 2026
0cd2e86
Fix lint errors
ReenigneArcher Jun 18, 2026
a1a3cdc
Add file headers and tidy includes
ReenigneArcher Jun 18, 2026
c366dd6
Add shared GoogleTest fixture for tests
ReenigneArcher Jun 18, 2026
6b55bd2
Fix lint errors
ReenigneArcher Jun 18, 2026
df7babd
Set project version to 0.0.0
ReenigneArcher Jun 18, 2026
bf2cba1
Use windows-2022 runner in CI
ReenigneArcher Jun 18, 2026
a6e6229
Add CI coverage collection and upload
ReenigneArcher Jun 18, 2026
90bfa79
Add OpenCppCoverage for MSVC coverage
ReenigneArcher Jun 18, 2026
1680fa7
Add backend abstraction and Linux UHID backend
ReenigneArcher Jun 18, 2026
8339b48
Add output report (rumble) parsing and support
ReenigneArcher Jun 18, 2026
b8c7e7c
Add keyboard and mouse device support
ReenigneArcher Jun 18, 2026
3a5cf39
Generalize Sunshine adapters, tests, and docs
ReenigneArcher Jun 18, 2026
4f28b95
Add Linux discovery probe example and tests
ReenigneArcher Jun 18, 2026
296c9e7
Add Linux UHID backend test hooks
ReenigneArcher Jun 18, 2026
87fd22b
Move Linux UHID backend test hooks to tests
ReenigneArcher Jun 19, 2026
21c983a
Replace sdl2-jstest with evdev-joystick
ReenigneArcher Jun 19, 2026
f998905
Add Linux consumer tests; remove discovery probe
ReenigneArcher Jun 19, 2026
aa96274
Rename Status to OperationStatus
ReenigneArcher Jun 19, 2026
29116b7
Adjust test expectations for XTEST feature
ReenigneArcher Jun 19, 2026
1315acb
Add touchscreen/trackpad/pen-tablet device support
ReenigneArcher Jun 19, 2026
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
116 changes: 116 additions & 0 deletions .clang-format
Original file line number Diff line number Diff line change
@@ -0,0 +1,116 @@
---
# This file is centrally managed in https://github.com/<organization>/.github/
# Don't make changes to this file in this repo as they will be overwritten with changes made to the same file in
# the above-mentioned repo.

# Generated from CLion C/C++ Code Style settings
BasedOnStyle: LLVM
AccessModifierOffset: -2
AlignAfterOpenBracket: BlockIndent
AlignConsecutiveAssignments: None
AlignEscapedNewlines: DontAlign
AlignOperands: Align
AllowAllArgumentsOnNextLine: false
AllowAllConstructorInitializersOnNextLine: false
AllowAllParametersOfDeclarationOnNextLine: false
AllowShortBlocksOnASingleLine: Empty
AllowShortCaseLabelsOnASingleLine: false
AllowShortEnumsOnASingleLine: false
AllowShortFunctionsOnASingleLine: Empty
AllowShortIfStatementsOnASingleLine: Never
AllowShortLambdasOnASingleLine: None
AllowShortLoopsOnASingleLine: true
AlignTrailingComments: false
AlwaysBreakAfterDefinitionReturnType: None
AlwaysBreakAfterReturnType: None
AlwaysBreakBeforeMultilineStrings: true
AlwaysBreakTemplateDeclarations: MultiLine
BinPackArguments: false
BinPackParameters: false
BracedInitializerIndentWidth: 2
BraceWrapping:
AfterCaseLabel: false
AfterClass: false
AfterControlStatement: Never
AfterEnum: false
AfterExternBlock: true
AfterFunction: false
AfterNamespace: false
AfterObjCDeclaration: false
AfterUnion: false
BeforeCatch: true
BeforeElse: true
IndentBraces: false
SplitEmptyFunction: false
SplitEmptyRecord: true
BreakArrays: true
BreakBeforeBinaryOperators: None
BreakBeforeBraces: Attach
BreakBeforeTernaryOperators: false
BreakConstructorInitializers: AfterColon
BreakInheritanceList: AfterColon
ColumnLimit: 0
CompactNamespaces: false
ContinuationIndentWidth: 2
Cpp11BracedListStyle: true
EmptyLineAfterAccessModifier: Never
EmptyLineBeforeAccessModifier: Always
ExperimentalAutoDetectBinPacking: true
FixNamespaceComments: true
IncludeBlocks: Regroup
IndentAccessModifiers: false
IndentCaseBlocks: true
IndentCaseLabels: true
IndentExternBlock: Indent
IndentGotoLabels: true
IndentPPDirectives: BeforeHash
IndentWidth: 2
IndentWrappedFunctionNames: true
InsertBraces: true
InsertNewlineAtEOF: true
KeepEmptyLinesAtTheStartOfBlocks: false
MaxEmptyLinesToKeep: 1
NamespaceIndentation: All
ObjCBinPackProtocolList: Never
ObjCSpaceAfterProperty: true
ObjCSpaceBeforeProtocolList: true
PackConstructorInitializers: Never
PenaltyBreakBeforeFirstCallParameter: 1
PenaltyBreakComment: 1
PenaltyBreakString: 1
PenaltyBreakFirstLessLess: 0
PenaltyExcessCharacter: 1000000
PenaltyReturnTypeOnItsOwnLine: 100000000
PointerAlignment: Right
ReferenceAlignment: Pointer
ReflowComments: true
RemoveBracesLLVM: false
RemoveSemicolon: false
SeparateDefinitionBlocks: Always
SortIncludes: CaseInsensitive
SortUsingDeclarations: Lexicographic
SpaceAfterCStyleCast: true
SpaceAfterLogicalNot: false
SpaceAfterTemplateKeyword: false
SpaceBeforeAssignmentOperators: true
SpaceBeforeCaseColon: false
SpaceBeforeCpp11BracedList: true
SpaceBeforeCtorInitializerColon: false
SpaceBeforeInheritanceColon: false
SpaceBeforeJsonColon: false
SpaceBeforeParens: ControlStatements
SpaceBeforeRangeBasedForLoopColon: true
SpaceBeforeSquareBrackets: false
SpaceInEmptyBlock: false
SpaceInEmptyParentheses: false
SpacesBeforeTrailingComments: 2
SpacesInAngles: Never
SpacesInCStyleCastParentheses: false
SpacesInContainerLiterals: false
SpacesInLineCommentPrefix:
Maximum: 3
Minimum: 1
SpacesInParentheses: false
SpacesInSquareBrackets: false
TabWidth: 2
UseTab: Never
Loading