Skip to content

Maxmad68/PyTouchBar

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

23 Commits
 
 
 
 
 
 
 
 

Repository files navigation

PyTouchBar

A NSTouchBar Wrapper for Python. It only works (for the moment) with Tkinter and PyGame.
It mainly depends on PyObjc to wrap NSTouchBar and related classes.
It also includes a wrapper to the haptic trackpad, allowing your Python program to trigger trackpad vibrations.
Note: It will (of course) only works on MacBook Pro with TouchBars, or on a TouchBar Simulator (you have a good one here.)

What's new

0.2.0:

  • Add user-customization of the TouchBar
  • Best error managment
  • New Stepper item (macOS 10.15 +)
  • Add escape key modification
  • Improved file structure of the module

Installation

To install PyTouchBar, just copy-paste the following command into a terminal:

pip install PyTouchBar

How to Use

All documentation is included in the wiki

About

A NSTouchBar Wrapper for Python

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Languages