Skip to content

crnicholson/morse-haptic

Repository files navigation

Morse Haptic

Demo

Translates text into morse code then taps it out through the trackpad's haptic engine.

Requirements

  • macOS with a Force Touch trackpad (all MacBook Pros after 2015, or Airs after late 2018)
  • Node.js

Run

You have two options: download the DMG or to build it yourself.

Download the DMG

  1. Click here to download the DMG from the Releases page.
  2. Since this isn't properly signed, you will need to right-click (or Control-click) the application to open it.
  3. Chances are you will get a warning about Apple not being able to check if it has malicious software. If so, go to Settings > Security & Privacy and scroll all the way down to the bottom. You will see a warning "Morse Haptic" was blocked from use because it is not from an identified developer. Click Open Anyway.

Build from scratch

git clone https://github.com/crnicholson/morse-code.git
cd morse-code
npm run build:mac

The packaged .dmg will then be placed in the project root.

Develop

git clone https://github.com/crnicholson/morse-code.git
cd morse-code
npm install
npm run dev

How it works

At the core, it uses my open source NPM package to control the trackpad. The NPM library also bundles a different library that determines finger presence library to pause the morse vibrations if the finger is no longer present to feel the haptic output.

About

Feel text via your Mac trackpad

Topics

Resources

Stars

1 star

Watchers

0 watching

Forks

Packages

 
 
 

Contributors