GithubHelp home page GithubHelp logo

a-amr / mtone Goto Github PK

View Code? Open in Web Editor NEW
1.0 1.0 0.0 9 KB

make all keyboards act as one keybaord in linux this is a forked project

License: Other

Makefile 4.32% C 95.68%
keyboards linux split-keyboards

mtone's Introduction

What is mtone?

MTONE stands for Multi to One, which enables all keyboards to act as one keyboard in Linux.

This app makes using multiple keyboards with the same machine workflow flawlessly. Without it, for example, you can't press shift on one keyboard and press a key on another keyboard. Also, some cheap split keyboards wouldn't work due to the design of the kernel driver.

usage

mergeinputs inputeventpaths simply

 mergeinputs /dev/input/by-path/*-kbd

you might either need the input group or run mergeinputs as root. to add to input

but how does it work?

by Leveraging the uinput module, Mergeinputs is able to sit before any userspace input drivers:

/dev/input/eventx /dev/input/eventy -> Mergeinputs grabs all key events -> "merged input" device -> input drivers -> userspace applications

This means any application will only see one keyboard (merged inputs) pressing keys, eliminating any issues multiple devices might have caused.

install

make install

There is no systemd service for the app. This is an independent Linux app that works on any distro with any init.

mtone's People

Contributors

a-amr avatar

Stargazers

 avatar

Watchers

 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.