Coder Social home page Coder Social logo

harmoniqpunk / trackman Goto Github PK

View Code? Open in Web Editor NEW
2.0 2.0 0.0 11 KB

Substitute scrolling wheel with tracking ball for scroll, zoom, orbit etc. in Mac OS.

Home Page: https://www.logitech.com/de-de/product/trackman-marble-business

License: GNU General Public License v2.0

Lua 100.00%

trackman's Introduction

Logictech Trackman Marble - scroll, zoom, rotate with the ball on Mac OS, OSX

Migrate scrolling wheel functions to tracking ball

Motivation

Logitech Trackman Marble is a great hardware product but whith not software support. Logitech, WTF?!!!

Nevermind. I have built support for functions using Hammerspoon.

Features

  • scroll with the tracking ball by holding down the Marble left-top-button while your rotate the ball
  • middle click (wheel click) on the Marble right-top-button (this is usefulle to orbit in Blender for example while holding down middle click and rotate the ball)
  • modifiers (CTRL, CMD, ALT, SHIFT) used with the above scroll feature and middle click (this is usefull for example to orbit in Fusion360 while you hold down SHIFT+middle click + ball rotation or in Figma to zoom by holding down CTRL+Scroll (left-top-button + ball rotation)

How to Use

  1. Download and Install Hammerspoon from here

  2. Download the init.lua file to /Users/yourusername/.hammerspoon/init.lua. (NOTE: .hammerspoon folder is hidden bydefault - you can see it by pressing CMD + SHIFT + . )

  3. Reload config on the drop down menu of the Hammerspoon icon you can find it on the Mac OS/OSX menu bar in the top-righ corner.

  4. Scroll whit the ball: hold down the left-top-button while you use the ball

  5. Orbit in Blender: hold down the right-top-button while you use the ball

  6. Orbit in Fusion360: hold down SHIFT+right-top-button while you use the ball

  7. Zoom in Figma: hold down CTRL+Scroll (see section 4. for Scroll)

Customise

You can customise by changing the button number of these 2 locals in the init.lua file:

Default:

local leftAuxMouseButton = 3 local rightAuxMouseButton = 4

Logitech Trackman Marble buttons number:

left-bottom-button = 0 (left click) left-top-button = 3 (aux click 1)

right-bottom-button = 1 (right click) right-top-button = 4 (aux click 2)

trackman's People

Stargazers

E avatar  avatar

Watchers

Harmoniq Punk avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.