HIDDriverKit sample architecture
Source-backed, high-level architecture notes for Apple sample-code pages grouped in the HIDDriverKit folder.
- Catalog module label:
HIDDriverKit - Coverage: 2 / 2 sample pages documented
- Source policy: archive hashes and extracted-tree references are verified locally before analysis
Samples
| Sample | Platforms | High-level architecture | Documented patterns |
|---|---|---|---|
| Handling Keyboard Events from a Human Interface Device | DriverKit, macOS | A C++, Swift sample with the source-visible chain AppDelegate → ViewController → DriverKit / HIDDriverKit APIs. |
Delegate or data-source callbacks |
| Handling Stylus Input from a Human Interface Device | DriverKit, macOS | A C++, Swift sample with the source-visible chain AppDelegate → ViewController → DriverKit / HIDDriverKit APIs. |
Delegate or data-source callbacks |
Cross-sample signals
Recurring documented patterns
| Pattern label | Sample documents |
|---|---|
| Delegate or data-source callbacks | 2 |
Type-role naming evidence
Counts below are declaration-name suffixes, not inferred patterns.
| Role suffix | Distinct declarations across samples |
|---|---|
Controller |
2 |
Delegate |
2 |
Swift access-control evidence
These are declaration occurrences in scanned Swift source, including implicit internal declarations.
| Access level | Occurrences |
|---|---|
implicit internal |
26 |
References
Generated from the verified local catalog and completed Markdown documents.