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

Unable to rebind keyboard device in vm-display-fbdev (FrameBuffer) #575

Closed
KenDickey opened this issue Jul 25, 2021 · 1 comment
Closed

Comments

@KenDickey
Copy link
Contributor

With libevdev, mouse and keyboard are bound to devices in /dev/input with names like "event0" and "event1".
Different keyboard/mouse hw binds to different numbers, so it is important to allow overrides via shell variables.
E.g.
SQUEAK_MSDEV=/dev/input/event1
SQUEAK_KBDEV=/dev/input/event0
vs
SQUEAK_MSDEV=/dev/input/event0
SQUEAK_KBDEV=/dev/input/event1

Mouse rebinding works, but not keyboard rebinding.

hogoww referenced this issue in hogoww/opensmalltalk-vm Dec 25, 2021
hogoww referenced this issue in hogoww/opensmalltalk-vm Dec 25, 2021
hogoww referenced this issue in hogoww/opensmalltalk-vm Feb 26, 2022
… method [ attemptToShrink ] 10 test cases.
hogoww referenced this issue in hogoww/opensmalltalk-vm Feb 26, 2022
…method [ attemptToShrink ] 9/10 Test Cases are NOT EQUIVALENT
@KenDickey
Copy link
Contributor Author

Using evtest I was able to determine device mapping
/dev/input/event0 -> menu-keys
event1 -> audio jack
event2 -> track pad
event3 -> mouse
event4 -> keyboard (raw keystrokes)
event5 -> system control (e.g. sleep)
event6 -> keyboard events (keycodes)

So binding
SQUEAK_KBDEV=/dev/input/event6
SQUEAK_MSDEV=/dev/input/event3
then the Framebuffer display works just fine

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