Fusuma::Plugin::Thumbsense

Remapper from key to click only while tapping the touchpad.
Implemented as Fusuma Plugin.
THIS PLUGIN IS EXPERIMENTAL.
What is ThumbSense?
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.
Installation
Requirements
- fusuma 2.0 or later
- fusuma-plugin-keypress 0.5 or later
- fusuma-plugin-keypress is used to get keyboard input and is installed automatically.
- fusuma-plugin-remap
- You need to set up udev rules for creating a virtual input device.
- Please refer to fusuma-plugin-remap's README for details.
Install fusuma-plugin-thumbsense
Run the following code in your terminal.
$ 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.