Skip to content

Commit

Permalink
0.7.1
Browse files Browse the repository at this point in the history
  • Loading branch information
sezanzeb committed Mar 18, 2021
1 parent 1f8118a commit 81a0172
Show file tree
Hide file tree
Showing 6 changed files with 9 additions and 8 deletions.
2 changes: 1 addition & 1 deletion DEBIAN/control
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
Package: key-mapper
Version: 0.7.0
Version: 0.7.1
Architecture: all
Maintainer: Sezanzeb <[email protected]>
Depends: build-essential, libpython3-dev, libdbus-1-dev, python3, python3-setuptools, python3-evdev, python3-pydbus, python3-gi
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
5 changes: 3 additions & 2 deletions readme/development.md
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down Expand Up @@ -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)
Expand Down
2 changes: 1 addition & 1 deletion readme/usage.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
4 changes: 2 additions & 2 deletions scripts/build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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 &
Expand Down
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ def run(self):

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='[email protected]',
Expand Down

0 comments on commit 81a0172

Please sign in to comment.