Sha256: 506e0d0d3922c50c4ff843f947ed210bc7ce34afe9401e6785d2e597be604c78

Contents?: true

Size: 1.84 KB

Versions: 2

Compression:

Stored size: 1.84 KB

Contents

# Fusuma

Fusuma is multitouch gesture recognizer.
This gem makes your linux PC able to recognize swipes or pinchs and assign shortcuts to them.

[![https://gyazo.com/757fef526310b9d68f68e80eb1e4540f](https://i.gyazo.com/757fef526310b9d68f68e80eb1e4540f.png)](https://gyazo.com/757fef526310b9d68f68e80eb1e4540f)

襖(Fusuma) means sliding door used to partition off rooms in a Japanese house.

## Installation

IMPORTANT: You must be a member of the _input_ group to have permission
to read the touchpad device:

    $ sudo gpasswd -a $USER input  # Log out and back in to assign this group

You need libinput release 1.0 or later. Install prerequisites:

If you are using pacman (for archlinux).

    $ sudo pacman -S xdotool

If you are using apt (for ubuntu/debian based distributions).

    $ sudo apt-get install xdotool


Install Fusuma

    $ gem install fusuma

## Usage

    $ fusuma

## Customize


You can customize the settings for gestues to put and edit `~/.config/fusuma/config.yml`.

### Sample (default keymap for Elementary OS)

```yaml
swipe:
  3: 
    left: 
      shortcut: 'alt+Right'
    right: 
      shortcut: 'alt+Left'
    up: 
      shortcut: 'ctrl+t'
    down: 
      shortcut: 'ctrl+w'
  4:
    left: 
      shortcut: 'super+Right'
    right: 
      shortcut: 'super+Left'
    up: 
      shortcut: 'super+a'
    down: 
      shortcut: 'super+s'
pinch:
  in:
    shortcut: 'ctrl+plus'
  out:
     shortcut: 'ctrl+minus'
```

## Contributing

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


## License

The gem is available as open source under the terms of the [MIT License](http://opensource.org/licenses/MIT).

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
fusuma-0.1.2 README.md
fusuma-0.1.1 README.md