bsl / bsl/GLFW-b

Every Key event is Key'UnknownKey

Open
#94 19 comments 0 reactions 0 assignees View on GitHub
Dominant language
Haskell
Stars
71
Forks
32
PR merge metrics
No merged PRs in 30d

Description

I set a callback using `setKeyCallback` function but every key press is just `Key'UnknownKey`. For instance if I press Escape the `Key` would be `Key'UnknownKey` and scancode would be 9. Any ideas why the keys are not recognized? Maybe I’m missing some dependencies like Xkb to map some layouts or something?

Contributor guide

No contributing guide indexed for this repository

Research direction

Begin by searching for setKeyCallback and following how scancode 9 becomes Key'UnknownKey. Done means the callback reports the expected key for Escape and other key presses; the issue names no file or test, so repository search is the first step.

Written by the indexing model from the issue text.

Assessment

Tech stack
haskell
Domain
desktop
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.