Skip to content
This repository has been archived by the owner on Feb 14, 2018. It is now read-only.
/ HIDKit Public archive

💻 An Objective-C wrapper around OS X's HID Manager API

Notifications You must be signed in to change notification settings

arsdraconis/HIDKit

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 

Repository files navigation

HIDKit

Archival Notice

I'm no longer maintaining this project and have archived the repo. Grab a copy now if you want it, as I may remove it at some point in the future. Feel free to use it for whatever you see fit.


Overview

An Objective-C wrapper around OS X's HID Manager API.

Currently, this is a work in progress and the code is untested. There is no license, although I'm leaning toward the WTFPL.

Feel free to download and try it. Pull requests are welcome.

Usage

HIDManager is the principal class. It is lazily initialized when needed, but you can explicitly initialize it by retrieving the shared instance with [HIDManager sharedManager].

Use [HIDManager devices] to retrieve an NSArray of HID devices found on the system. As devices are connected and disconnected, HIDManager will send HIDManagerDeviceDidConnectNotification/HIDManagerDeviceDidDisconnectNotification notifications with the HIDDevice in question as the sender.

Once you retrieve a HIDDevice, send it an open message to open the interface. Be sure to send a close message whenever you're done with it.

About

💻 An Objective-C wrapper around OS X's HID Manager API

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published