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

Caps Lock/Shift not working right #5

Open
bj-mitchell opened this issue Dec 18, 2018 · 3 comments
Open

Caps Lock/Shift not working right #5

bj-mitchell opened this issue Dec 18, 2018 · 3 comments

Comments

@bj-mitchell
Copy link

When I connect to a VNC server running linux, everything is in CAPS at first. When I push the Caps Lock, it doesn't change. However, if I hold in Caps Lock, then push a random key, it will turn off. Repeating the sequence will turn the key back on.

On the same note, the shift key doesn't seem to work either.

@BastiaanOlij
Copy link
Owner

Hmmm, I haven't touched this in awhile so I'd need to check. I do vaguely remember I only implemented basiic key mapping so there may be things missing there. Been a bit busy with work lately so sorry for the late response.

@BastiaanOlij
Copy link
Owner

So basically have a look at this code if you want to have a go at it yourself:
https://github.com/BastiaanOlij/gdvnc/blob/master/src/gdvnc_texture.cpp#L383

You'll see that it maps keycodes I'm getting from Godot to keycodes VNC expects. Its by no means complete

@bj-mitchell
Copy link
Author

Okay, I might have a jab at it over the holidays. Thanks for the quick response.

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

2 participants