← Back

ofxFeedbackGenerator

github.com/2bbb/ofxFeedbackGenerator · @2bbb
OF 0.10 iOS

wrapper of UIFeedbackGenerator haptic engine on iOS.

4 0 Last commit 8y ago Created 8y ago

README

ofxFeedbackGenerator



wrapper of UIFeedbackGenerator haptic engine on iOS.

Requirements



API



class ofxImpactFeedbackGenerator



void setup(ofxImpactFeedbackStyle style); void impactOccured();

enum class ofxImpactFeedbackStyle



ofxImpactFeedbackStyle::Light ofxImpactFeedbackStyle::Medium ofxImpactFeedbackStyle::Heavy

----

class ofxNotificationFeedbackGenerator



void setup(); void notificationOccured(ofxNotificationFeedbackType type);

enum class ofxNotificationFeedbackType



ofxNotificationFeedbackType::Success ofxNotificationFeedbackType::Warning ofxNotificationFeedbackType::Error

----

class ofxSelectionFeedbackGenerator



void setup(); void selectionChanged();

Update history



2018/05/25 ver 0.0.1



License



MIT License.

Author



ISHII 2bit i[at]2bit.jp

At the last



Please create a new issue if there is a problem.

And please throw a pull request if you have a cool idea!!

If you get happy with using this addon, and you're rich, please donation for support continuous development.

Bitcoin: 17AbtW73aydfYH3epP8T3UDmmDCcXSGcaf

Get this addon

HTTPS
SSH