Fusuma::Plugin::Thumbsense Gem Version Build Status

THIS PLUGIN IS EXPERIMENTAL.

ThumbSense plugin for Fusuma

ThumbSense is a tool that lets you control a laptop's touchpad using the keyboard. It assigns certain keyboard keys as mouse buttons and switches between acting as mouse buttons or normal keyboard keys based on whether the user's thumb is touching the touchpad. ThumbSense aims to make it easier to use the touchpad without moving your hand away from the keyboard.

ThumbSense

Installation

Run the following code in your terminal.

Install fusuma-plugin-thumbsense

This plugin requires fusuma 2.0 or later and fusuma-plugin-keypress 0.5 or later.

  • fusuma-plugin-keypress is used to get keyboard input and is installed automatically.
$ sudo gem install fusuma-plugin-thumbsense

Properties

Thumbsense

First, add the thumbsense context to ~/.config/fusuma/config.yml. The context is separated by --- and specified by context: thumbsense.

Example

Set the following code in ~/.config/fusuma/config.yml.

---
context: thumbsense

remap:
  J: BTN_LEFT
  K: BTN_RIGHT

TODO

  • Using the fusuma-plugin-sendkey to emulate mouse buttons
  • Creating a simple key remapper using evdev and uinput to prevent the pressing of J/K keys on the physical keyboard from being sent.

Contributing

Bug reports and pull requests are welcome on GitHub at https://github.com/iberianpig/fusuma-plugin-thumbsense. This project is intended to be a safe, welcoming space for collaboration, and contributors are expected to adhere to the Contributor Covenant code of conduct.

License

The gem is available as open source under the terms of the MIT License.

Code of Conduct

Everyone interacting in the Fusuma::Plugin::Thumbsense project’s codebases, issue trackers, chat rooms and mailing lists is expected to follow the code of conduct.