Skip to content

How to use pure Swift to talk to a USB HID device

License

Notifications You must be signed in to change notification settings

Arti3DPlayer/KuandoSwift

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

KuandoSwift

How to use pure Swift to talk to a USB HID device Since it was a pain in the ass to get Swift to work with HID without resorting to inline objective-c or bindings, I thought it would be good to publish the solution I found. I hope its of use to others.

Topics:

  • IOHIDDeviceCallback
  • IOHIDDevice
  • UnsafeMutablePointer
  • unsafeBitCast

About

How to use pure Swift to talk to a USB HID device

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages