Skip to content

Commit

Permalink
Update README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
tekezo committed May 15, 2024
1 parent 95ed58f commit 14aeaf6
Showing 1 changed file with 13 additions and 2 deletions.
15 changes: 13 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,13 @@ Virtual devices (keyboard and mouse) implementation for macOS using DriverKit.
/Applications/.Karabiner-VirtualHIDDevice-Manager.app/Contents/MacOS/Karabiner-VirtualHIDDevice-Manager activate
```

4. Run a client program to test the driver extension.
4. Run Karabiner-VirtualHIDDevice-Daemon:

```shell
sudo '/Library/Application Support/org.pqrs/Karabiner-DriverKit-VirtualHIDDevice/Applications/Karabiner-VirtualHIDDevice-Daemon.app/Contents/MacOS/Karabiner-VirtualHIDDevice-Daemon'
```

5. Run a client program to test the driver extension.

```shell
git clone --depth 1 https://github.com/pqrs-org/Karabiner-DriverKit-VirtualHIDDevice.git
Expand Down Expand Up @@ -241,7 +247,7 @@ Karabiner-DriverKit-VirtualHIDDevice consists the following components.

![components.svg](./docs/plantuml/output/components.svg)

### Version files
### Versions

Version is defined in `version.json`.

Expand All @@ -254,3 +260,8 @@ Version is defined in `version.json`.
- `client_protocol_version`:
- The version for communication between Karabiner-VirtualHIDDevice-Daemon and the DriverKit driver.
- Increment this when the communication specifications are changed.

### Run Karabiner-VirtualHIDDevice-Daemon via launchd

Karabiner-VirtualHIDDevice-Daemon requires high responsiveness, so it is recommended to run it via launchd with the `ProcessType: Interactive` specified.
There is an example application for registration with launchd in `examples/SMAppServiceExample`, which you can refer to for registering with launchd.

0 comments on commit 14aeaf6

Please sign in to comment.