Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/anarsoul/mouse-emul

Tiny mouse emulator
https://github.com/anarsoul/mouse-emul

Last synced: about 1 month ago
JSON representation

Tiny mouse emulator

Awesome Lists containing this project

README

        

mouse-emul is a tiny mouse emulator for mouse/touchpad-less devices.

It requires uinput support in kernel (CONFIG_INPUT_UINPUT).

To compile and install it invoke:
make all install

To start it invoke:
mouse-emul [-d /dev/input/eventX,/dev/input/eventY,/dev/input/eventZ]
Where /dev/input/event{X-Z} is a device to use for input

Add -h argument to get the list of arguments.

Format of config file.

Each line should look like:
=

Where can be 'left', 'right', 'up', 'down', 'lbutton', 'rbutton',
'mbutton', 'toggle', 'mod' (all without quotes). These are name of keys used to
emulate mouse, last two are 'switches' to mouse-mode, last one is for temporary
switching (i.e. press mod+left to move mouse cursor to left). Also can be
a key name to translate into key name (Usefull if you want
translate some key to another in mouse-mode). is key name.

Invoke mouse-emul -l for list of supported keycodes.