Skip to content

Commit

Permalink
idea for alternative approach to get clampshell state
Browse files Browse the repository at this point in the history
  • Loading branch information
manuel-koch committed Jan 9, 2024
1 parent 94769f5 commit fb3026b
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion DEVELOPMENT.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,4 +10,8 @@ INPUT=icon.png
OUTPUT=icon.go
echo "//+build linux darwin" > $OUTPUT
$GOPATH/bin/2goarray <VAR_NAME> <PACKAGE> < $INPUT >> $OUTPUT
```
```

## Alternative approach to get ClampShell state via I/O Kit directly

[traversing the I/O registry on Mac OS X (iokit)](https://gist.github.com/JonnyJD/6126680)

0 comments on commit fb3026b

Please sign in to comment.