epologee / swifthidapi Goto Github PK
View Code? Open in Web Editor NEWThis project forked from kybernetyk/swifthidapi
Read data from the Griffin Power Mate using HIDAPI from Swift3
License: GNU Affero General Public License v3.0
This project forked from kybernetyk/swifthidapi
Read data from the Griffin Power Mate using HIDAPI from Swift3
License: GNU Affero General Public License v3.0
Little example how to import and access HIDAPI from Swift 3 in conjunction with the Griffin Power Mate controller and the Luxafor Flag (http://luxafor.nl). This is a Swift 3 (and 4) port of https://github.com/kybernetyk/pm8 Dependencies: - Xcode 8+, Swift 3.1+ - hidapi ( https://github.com/signal11/hidapi ) [brew install hidapi] Build: Make sure hidapi/module.map points to the correct hidapi.h file on your system. It works for now (Nov 2016) with Homebrew hidapi. You might need to change it though. Don't forget to update the 'Other Linker Flags' build settings in Xcode. Make sure the path points to the correct location of hidapi libs on your system. If in doubt run: pkg-config hidapi --cflags pkg-config hidapi --libs Run: - Griffin Power Mate: you need to quit the Griffin Power Mate companion app first. Otherwise the device will be busy and not accessible to us! - Luxafor Flag: you need to quit the Luxafor companion app first. Otherwise the device will behave unexpectedly Copyright & License: This code is licensed under the Affero GPL3 License! (c) Jarosław Leon Szpilewski with additions from Eric-Paul Lecluse
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.