Skip to content

Sunflovr/FancyFunctions

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation


FancyFunctions


About

Fancy Functions is a Spectacles Lens which communicates with a companion macOS app to provide a suite of utility functions. The Lens can trigger actions in the macOS app, which performs tasks like opening apps, managing volume levels, and more. This allows for a seamless integration of custom functionality between the Spectacles Lens and the user's desktop environment.

This was designed to work on a 14inch MacBook Pro, so you may need to offset the buttons if you are using a different device.

Agent Center

Features

  • Easy to use Mac OS App
  • Spectacles Lens with bluetooth support.

Quick start

  1. Clone the repo

  2. macOS App (if you want to build the sample):

cd macOSApp
./build.sh
  1. Give Permissions to the macOS App: On first launch the app will ask for permissions to control your computer. This is required for the functionality of the app. If there are issues when re building, remove the permission fully and add again. Permission required

Changing Bluetooth UUIDs

If you do decide to change the bluetooth UUIDs within the macOS app, ensure that you do the same in the exposed fields within the BluetoothHandler script in the lens. The UUIDs must match for the lens and the macOS app to communicate properly. bluetooth

Key Scripts

BluetoothHandler.ts - Handles the connecting to the mac through Bluetooth, receiving messages, and sending messages back to the mac when actions are triggered in the lens.

Flow.ts - Handles the overall flow of the experience, including the setup of the lens and the spawning of the buttons.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages