Skip to content

Commit

Permalink
Hide irrelevant error in postint, doc minimum python version, doc on …
Browse files Browse the repository at this point in the history
…how to properly map wheels
  • Loading branch information
sezanzeb committed Sep 18, 2023
1 parent d2d0fa8 commit 568f56c
Show file tree
Hide file tree
Showing 3 changed files with 12 additions and 3 deletions.
4 changes: 2 additions & 2 deletions DEBIAN/postinst
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,8 @@
if [ -d "/run/systemd/system/" ]; then
# old name, those lines should at some point be removed from postinst
pkill -f key-mapper-service
systemctl disable key-mapper
systemctl stop key-mapper
systemctl disable key-mapper 2> /dev/null || true
systemctl stop key-mapper 2> /dev/null || true

pkill -f input-remapper-service # might have been started by the gui previously
systemctl enable input-remapper
Expand Down
4 changes: 3 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,9 @@ sudo apt install -f ./dist/input-remapper-2.0.0.deb
```

input-remapper is available in [Debian](https://tracker.debian.org/pkg/input-remapper)
and [Ubuntu](https://packages.ubuntu.com/jammy/input-remapper)
and [Ubuntu](https://packages.ubuntu.com/jammy/input-remapper).

input-remapper ≥ 2.0 requires at least Ubuntu 22.04.

##### Fedora

Expand Down
7 changes: 7 additions & 0 deletions readme/usage.md
Original file line number Diff line number Diff line change
Expand Up @@ -121,6 +121,13 @@ sensitivity, non-linearity and other parameters as you like.
It is also possible to use an analog output with an input combination.
This will result in the analog axis to be only injected if the combination is pressed

## Wheels

When mapping wheels, you need to be aware that there are both `WHEEL` and `WHEEL_HI_RES`
events. This can cause your wheel to scroll, despite being mapped to something.
By fiddling around with the advanced settings when editing one of your inputs, you can
map the "Hi Res" inputs to `disable`.

# External tools

Repositories listed here are made by input-remappers users. Feel free to extend. Beware,
Expand Down

9 comments on commit 568f56c

@lejp
Copy link

@lejp lejp commented on 568f56c Oct 14, 2023

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Hello,

when I try to remap key with symbols like ŋ, ɔ, ɛ, ʉ, etc I get this erro notification ""adiaeresis": The output_symbol "ɛ" is not a macro and not a valid keycode-name".
Please can you tel me where to get a full list of keycode-names?

Thanks

@sezanzeb
Copy link
Owner Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

when I try to remap key with symbols like ŋ, ɔ, ɛ, ʉ, etc I get this erro notification ""adiaeresis": The output_symbol "ɛ" is not a macro and not a valid keycode-name". Please can you tel me where to get a full list of keycode-names?

See here https://github.com/sezanzeb/input-remapper/blob/main/readme/usage.md#key-names

And one paragraph below that you can see an explanation on how to inject special characters

If there is still no way for you to inject it, you can check out https://github.com/sezanzeb/input-remapper/blob/main/readme/examples.md#emitting-unavailable-symbols

@lejp
Copy link

@lejp lejp commented on 568f56c Oct 16, 2023

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thank you for your prompt answer.

But it could not bring me further.

My Situation ist: I have a german Keyboard and I am remapping ä, ö, ü, ß with ŋ, ɔ, ɛ, ʉ

;-)

I tried the key combination using the Unicode of the character.
For example the Unicode of ε is U+03b5. When I want to type it I use Ctrl + Shift + U [Unicode in hex] Enter

According to the usage it should be like this
Shift_L + Control_L + KEY_U + 3B5 + Return

But unfortunately I still get thy error message "The device was not grabbed"

I added a screenshot of my.

Please can you tell me what I'm doing wrong?

Thanks

remapper (1)

@lejp
Copy link

@lejp lejp commented on 568f56c Oct 29, 2023

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Hello @sezanzeb ,

please I'm still waiting for your answer. It will be a pleasure for me to rema properly my keyboard using your powerful remaper.

Thanks

@sezanzeb
Copy link
Owner Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

3B5 is not a key. Try 3 + B + 5

@lejp
Copy link

@lejp lejp commented on 568f56c Nov 15, 2023

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Hi @sezanzeb,

I tried it. The error message disappeared, but it doesn't work.

for example when I pressed the key "ä" where I assigned "Shift_L + Control_L + KEY_U + 3 +B + 5 + Return" only the first part "Shift_L + Control_L + KEY_U" has ben considered and it is expecting that I enter the utf8 code and press enter.

I suppose it only considered it because all this 3 Keys are pressed simultaneously and the rest (utf8 code and enter) are successively. I also tried to use key_up and key_down bet without success.

Can you have an Idea how to get it all work?

Thanks in advance.

@sezanzeb
Copy link
Owner Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

hold_keys(Shift_L, Control_L, KEY_U).key(3).key(B).key(5).key(Return)

@lejp
Copy link

@lejp lejp commented on 568f56c Nov 17, 2023

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

woooww that is Perfet. It works like a charme.

@lejp
Copy link

@lejp lejp commented on 568f56c Nov 17, 2023

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Many thanks for this prompt support.

Please sign in to comment.