diff --git a/DEBIAN/control b/DEBIAN/control index 8dd0cc54..a37cb341 100644 --- a/DEBIAN/control +++ b/DEBIAN/control @@ -1,5 +1,5 @@ Package: key-mapper -Version: 0.7.0 +Version: 0.7.1 Architecture: all Maintainer: Sezanzeb Depends: build-essential, libpython3-dev, libdbus-1-dev, python3, python3-setuptools, python3-evdev, python3-pydbus, python3-gi diff --git a/README.md b/README.md index 71295a06..736258fa 100644 --- a/README.md +++ b/README.md @@ -28,7 +28,7 @@ or install the latest changes via: sudo apt install git python3-setuptools git clone https://github.com/sezanzeb/key-mapper.git cd key-mapper; ./scripts/build.sh -sudo apt install ./dist/key-mapper-0.7.0.deb +sudo apt install ./dist/key-mapper-0.7.1.deb ``` ##### pip diff --git a/readme/development.md b/readme/development.md index 60301af7..da42b869 100644 --- a/readme/development.md +++ b/readme/development.md @@ -63,7 +63,7 @@ ssh/login into a debian/ubuntu environment ./scripts/build.sh ``` -This will generate `key-mapper/deb/key-mapper-0.7.0.deb` +This will generate `key-mapper/deb/key-mapper-0.7.1.deb` ## Badges @@ -151,7 +151,8 @@ Modify `should_map_as_btn` ## How it works -It uses evdev +It uses evdev. The links below point to older code in 0.7.0 so that their +line numbers remain valid. 1. It grabs a device (e.g. /dev/input/event3), so that the key events won't reach X11/Wayland anymore [source](https://github.com/sezanzeb/key-mapper/blob/0.7.0/keymapper/injection/injector.py#L182) 2. Reads the events from it (`evtest` can do it, you can also do `cat /dev/input/event3` which yields binary stuff) [source](https://github.com/sezanzeb/key-mapper/blob/0.7.0/keymapper/injection/injector.py#L413) diff --git a/readme/usage.md b/readme/usage.md index 5949b2fc..22deb725 100644 --- a/readme/usage.md +++ b/readme/usage.md @@ -140,7 +140,7 @@ configuration files. ## Configuration Files The default configuration is stored at `~/.config/key-mapper/config.json`. -The current default configuration as of 0.7.0 looks like, with +The current default configuration as of 0.7.1 looks like, with an example autoload entry: ```json diff --git a/scripts/build.sh b/scripts/build.sh index f5d19120..98fc68c3 100755 --- a/scripts/build.sh +++ b/scripts/build.sh @@ -9,8 +9,8 @@ build_deb() { mv build/deb/usr/local/lib/python3.*/ build/deb/usr/lib/python3/ cp ./DEBIAN build/deb/ -r mkdir dist -p - rm dist/key-mapper-0.7.0.deb || true - dpkg -b build/deb dist/key-mapper-0.7.0.deb + rm dist/key-mapper-0.7.1.deb || true + dpkg -b build/deb dist/key-mapper-0.7.1.deb } build_deb & diff --git a/setup.py b/setup.py index cf5454a5..7b762ac0 100644 --- a/setup.py +++ b/setup.py @@ -47,7 +47,7 @@ class Install(install): setup( name='key-mapper', - version='0.7.0', + version='0.7.1', description='A tool to change the mapping of your input device buttons', author='Sezanzeb', author_email='proxima@sezanzeb.de',