All Projects → aprosvetova → actuator

aprosvetova / actuator

Licence: Unlicense license
Golang library that allows you to actuate your MacBook Force Touch trackpad

Programming Languages

objective c
16641 projects - #2 most used programming language
go
31211 projects - #10 most used programming language

Projects that are alternatives of or similar to actuator

windows-touchpad
Make use of touchpad for handwriting in Windows
Stars: ✭ 30 (+114.29%)
Mutual labels:  trackpad
Trackpad-Drummer
Drum with your trackpad.
Stars: ✭ 22 (+57.14%)
Mutual labels:  trackpad
ofxTouchPad
Multitouch support for touchpads.
Stars: ✭ 23 (+64.29%)
Mutual labels:  trackpad
Mac Precision Touchpad
Windows Precision Touchpad Driver Implementation for Apple MacBook / Magic Trackpad
Stars: ✭ 5,107 (+36378.57%)
Mutual labels:  trackpad
react-native-pointer-interactions
Expose iPad mouse & trackpads interactions to React Native
Stars: ✭ 20 (+42.86%)
Mutual labels:  trackpad
mousecase
A JavaScript utility enabling horizontal dragging on mousedown events 🖱
Stars: ✭ 35 (+150%)
Mutual labels:  trackpad

Actuate your Force Touch trackpad

go.dev reference

Warning! The code relies on private macOS APIs, so no guarantees.

Example

package main

import (
    "github.com/aprosvetova/actuator"
    "time"
)

func main() {
    for {
        actuator.Down(actuator.HapticFeedbackTypeStrong)
        time.Sleep(20 * time.Millisecond)
        actuator.Up(actuator.HapticFeedbackTypeStrong)
        time.Sleep(100 * time.Millisecond)
    }
}
Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].