Giter Site home page Giter Site logo

trackpoint-config-osx's Introduction

Trackpoint-Config-OSX

Config Utility for ThinkPad TrackPoint Bluetooth Keyboards for OSX

Features

  • Maximize Trackpoint Sensitivity
  • Disable middle-click (only scrolling with Trackpoint)

Support Models

  • ThinkPad Compact Bluetooth Keyboard with TrackPoint (0B47189)
  • ThinkPad TrackPoint Keyboard II

Install

  1. make install
  2. sudo tpkb

Tuning/Customize

Mouse Speed

defaults write -g com.apple.mouse.scaling 9 (Re-login required) replace 9 to any you want, the max you can set from SystemPreferce GUI is 3

Trackpoint

modify file src/tp.cpp, replace 0x09 to any you want

    // sensitivity
    // 18 02 xx   # xx Sensitivity, 00-FF
    buf[0] = 0x18;
    buf[1] = 0x02;
    buf[2] = 0x09;
    hid_write(dev, buf, 3);

Adapted from

enjoy :)

trackpoint-config-osx's People

Contributors

jyny avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

trackpoint-config-osx's Issues

Dealing with "TP Keyboard not found" error

I have installed the software on my M1 MacBook Pro. The installation is fine and I can run "sudo tpkd" (even typing the command on the Thinkpad Trackpoint II keyboard, but I get the following error:

TP Keyboard not found. Possible solutions:

  • Have you run tpkb with 'sudo'?
  • Make sure you don't have keyboard customizers running (for example Karabiner)

Any suggestions? I really would like to increase the sensitive of the trackpoint on this keyboard.

make error:

Hello, thanks for the config tool, I am trying to compile it on OS: macOS 13.5.2 22G91 x86_64 , but it gave the following error, ideas on how to fix this?
Thanks!

Trackpoint-Config-OSX_master make
gcc -c -o hid.o src/hid.c
In file included from src/hid.c:25:
In file included from /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/Library/Frameworks/IOKit.framework/Headers/hid/IOHIDManager.h:27:
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/Library/Frameworks/IOKit.framework/Headers/IOTypes.h:81:49: error: expected ';' after top level declarator
typedef mach_vm_address_t       IOVirtualAddress __kernel_ptr_semantics;
                                                ^
In file included from src/hid.c:30:
/usr/local/include/pthread.h:331:6: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined]
#if !_PTHREAD_SWIFT_IMPORTER_NULLABILITY_COMPAT
     ^
/usr/local/include/pthread.h:200:2: note: expanded from macro '_PTHREAD_SWIFT_IMPORTER_NULLABILITY_COMPAT'
        defined(SWIFT_CLASS_EXTRA) && (!defined(SWIFT_SDK_OVERLAY_PTHREAD_EPOCH) || (SWIFT_SDK_OVERLAY_PTHREAD_EPOCH < 1))
        ^
/usr/local/include/pthread.h:331:6: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined]
/usr/local/include/pthread.h:200:34: note: expanded from macro '_PTHREAD_SWIFT_IMPORTER_NULLABILITY_COMPAT'
        defined(SWIFT_CLASS_EXTRA) && (!defined(SWIFT_SDK_OVERLAY_PTHREAD_EPOCH) || (SWIFT_SDK_OVERLAY_PTHREAD_EPOCH < 1))
                                        ^
/usr/local/include/pthread.h:540:6: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined]
#if !_PTHREAD_SWIFT_IMPORTER_NULLABILITY_COMPAT
     ^
/usr/local/include/pthread.h:200:2: note: expanded from macro '_PTHREAD_SWIFT_IMPORTER_NULLABILITY_COMPAT'
        defined(SWIFT_CLASS_EXTRA) && (!defined(SWIFT_SDK_OVERLAY_PTHREAD_EPOCH) || (SWIFT_SDK_OVERLAY_PTHREAD_EPOCH < 1))
        ^
/usr/local/include/pthread.h:540:6: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined]
/usr/local/include/pthread.h:200:34: note: expanded from macro '_PTHREAD_SWIFT_IMPORTER_NULLABILITY_COMPAT'
        defined(SWIFT_CLASS_EXTRA) && (!defined(SWIFT_SDK_OVERLAY_PTHREAD_EPOCH) || (SWIFT_SDK_OVERLAY_PTHREAD_EPOCH < 1))
                                        ^
4 warnings and 1 error generated.
make: *** [Makefile:9: hid.o] Error 1

[Question] Will it work for usb keyboard?

Hey everyone! I have a question regarding usb keyboard compatibility. I have an old but excellent and best forever usb thinkpad keyboard with trackpoint I wish I could use on my mac pro. Can this application handle it?

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.