Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

pynput types ">" instead of "|" #593

Open
vaygr opened this issue Mar 16, 2024 · 1 comment
Open

pynput types ">" instead of "|" #593

vaygr opened this issue Mar 16, 2024 · 1 comment

Comments

@vaygr
Copy link

vaygr commented Mar 16, 2024

Description

pynput types > instead of |.

Platform and pynput version

  • Manjaro Linux
  • pynput 1.7.6

To Reproduce

from pynput.keyboard import Controller

keyboard = Controller()
keyboard.type('|')
>
@vaygr
Copy link
Author

vaygr commented Mar 16, 2024

It appears for both keysyms 0x7c (|) and 0x3e (>) keyboard_mapping:

keycode, shift_state = self.keyboard_mapping[keysym]

returns 94 as the keycode.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant