-
-
Notifications
You must be signed in to change notification settings - Fork 1.4k
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
Mac Function Key InvalidValue: Invalid scancode #1024
Comments
I can now replicate on my MacBook Pro - it seems specific to the mac hardware (keyboard) and not a problem with other keyboards |
This is being printed because GLFW does not recognise the key. Started a conversation upstream at glfw/glfw#1785 |
Is it possible to disable GLFW from listening for keyboard events? |
I think this is difficult to intercept because the error is in lookup. |
Long time on this one, I realize it's an upstream issue and hate to "necro" old issues that can't really be resolved here. But, all that said, :) this has been a mess for me because most (every?) special key (vol up, down, etc.) on my keyboard triggers this log event. So, here's my modification for shipping software.
Obviously a hack, but maybe Fyne has a "debugging only" mode where it can output these errors and otherwise suppress them? |
Indeed it does, turned on with "-tags debug" - I agree your proposal is a little ugly but it does avoid logging something that the user won't be interested in :). |
|
In the advanced tab of fyne_demo, fn key does not show up when pressed, however console contains:
The text was updated successfully, but these errors were encountered: