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

keycode: numkeys #767

Closed
gucio321 opened this issue Feb 20, 2024 · 6 comments · Fixed by #768
Closed

keycode: numkeys #767

gucio321 opened this issue Feb 20, 2024 · 6 comments · Fixed by #768

Comments

@gucio321
Copy link
Collaborator

          @gucio321 another problem:

when entering '2' key from numpad to gui.InputFloat(...) I got an error "panic: Unknown key: 322" at line 204 from Keycode.go

normal '2' from main-keyboard works

(is it possible to communicate via some messenger ??)

Originally posted by @francmarx in #632 (comment)

@gucio321 gucio321 changed the title @gucio321 another problem: keycode: numkeys Feb 20, 2024
@gucio321
Copy link
Collaborator Author

this is cimgui-go issue

@gucio321 gucio321 transferred this issue from AllenDang/giu Feb 20, 2024
@gucio321
Copy link
Collaborator Author

ref: glfw3.h

#define GLFW_KEY_KP_0               320
#define GLFW_KEY_KP_1               321
#define GLFW_KEY_KP_2               322
#define GLFW_KEY_KP_3               323
#define GLFW_KEY_KP_4               324
#define GLFW_KEY_KP_5               325
#define GLFW_KEY_KP_6               326
#define GLFW_KEY_KP_7               327
#define GLFW_KEY_KP_8               328
#define GLFW_KEY_KP_9               329

@gucio321
Copy link
Collaborator Author

ok, nvm its in go wrapper. So this is missing in giu.

@gucio321 gucio321 transferred this issue from AllenDang/cimgui-go Feb 20, 2024
@gucio321
Copy link
Collaborator Author

@francmarx should work after merging the pr

@francmarx
Copy link

francmarx commented Feb 21, 2024

@gucio321

BackSpace and Cursor-Keys don't work in gui.InputFloat(...)

@gucio321
Copy link
Collaborator Author

I know there is an issue for that 😁

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

Successfully merging a pull request may close this issue.

2 participants