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

Potential Feature? Making some of the keyboard more customizable. #37

Closed
lindoran opened this issue Sep 3, 2020 · 13 comments
Closed

Potential Feature? Making some of the keyboard more customizable. #37

lindoran opened this issue Sep 3, 2020 · 13 comments

Comments

@lindoran
Copy link
Contributor

lindoran commented Sep 3, 2020

Since discovering that certain keyboards behave differently with the interface, how hard would it be to make the keyboard settings available in the .ini file. things like manual key repeat through software (for keyboards that do not support this behavior), de bounce delays, repeat behavior or general key reassignments for odd keyboards (not just the backspace)? Just a thought i was having, it should not be considered in any way a high priority. Might also be good to make it posible to switch all that functionality off if everything is working normal..

@chregu82
Copy link
Collaborator

chregu82 commented Sep 3, 2020

USB keyboards never do key repeat on their own. It's always done in software. PS/2 keyboard on the other hand do key repeat on their own. If I had a non repeating USB keyboard, I probably could make it working. Something must be different from keyboard to keyboard.

@lindoran
Copy link
Contributor Author

lindoran commented Sep 3, 2020 via email

@lindoran
Copy link
Contributor Author

lindoran commented Sep 3, 2020 via email

@chregu82
Copy link
Collaborator

chregu82 commented Sep 3, 2020

Let's try option 2 first. This is a test version which outputs the raw keypress data to the screen. I would expect that on key press a hex number >0 is displayed, and on key release 00. Modifier keys like control or alt should display 00 too.
Image
Image is for Pi1 / Zero only.

@lindoran
Copy link
Contributor Author

lindoran commented Sep 3, 2020

the link doesn't appear to be working

@chregu82
Copy link
Collaborator

chregu82 commented Sep 3, 2020

I'm sorry, please try again.

@lindoran
Copy link
Contributor Author

lindoran commented Sep 3, 2020

ok so here's what happens ... on all the keyboards that don't support autorepeat. they continually send key release 00 unless you press a key then they continually send the hex code for that key... Ill send a video in a few minutes i have to upload it
the keyboard that works is exactly as you described.

@lindoran
Copy link
Contributor Author

lindoran commented Sep 3, 2020

@chregu82
Copy link
Collaborator

chregu82 commented Sep 3, 2020

I don't seem to have access to this file.

@lindoran
Copy link
Contributor Author

lindoran commented Sep 3, 2020 via email

@lindoran
Copy link
Contributor Author

lindoran commented Sep 3, 2020 via email

@chregu82
Copy link
Collaborator

chregu82 commented Sep 4, 2020

Please try if this works for all your keyboard: img

@lindoran
Copy link
Contributor Author

lindoran commented Sep 4, 2020

tested and is working :) actually a bit better than the other keyboard seams far more responsive
thank you so much! its probably fine to push to current. I tried out the modifier keys as well and caps lock everything works.
you work so fast! I wish I had your stamina. I got a bit more done on my sprite editor tonight, but its like 1:20 in the morning where I am, im headed to bed. thanks again, much appreciated!

@lindoran lindoran closed this as completed Sep 4, 2020
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