Keyboard over sensitivity....
Posted: Sun Jul 20, 2008 11:50 am
I've encountered a weird problem, I recently added some stuff to my TUI and I decided to add the ability to have upper case insert, etc...
I already had code that turned the lights on the keyboard on, but it didn't do anything else....
So I added code to do this, I added code so that 'Ins' would appear at the bottom when insert was tiped in...
That worked fine, then I added another keymap with the data for caps, and some code that changed the keymap used depending on the state of the caps...
But when I ran this I found that my keyboard had become hyper sensitive, when I press the caps, scroll or num lock or any other modifying keys such as insert, it triggered quite a few interrupts, so it would be very difficult if at all possible to control the state of the modifiers, strangely this did not affect the character keys and this would disappear if I removed the character map with the caps...
It would still occur if I removed the code to change character maps when Caps was pressed (restoring the code to it's original state when it worked...), but if I left the character map the hyper sensitivity would still occur...
It would only disappear if I removed the character map.
Any body have any ideas what I could be doing wrong?
Thanks in advance,
Jules
P.S. I'm proud to announce that I finally have a fully working cross compiler, so it shouldn't be problems with different variables writing over each other anymore...
I already had code that turned the lights on the keyboard on, but it didn't do anything else....
So I added code to do this, I added code so that 'Ins' would appear at the bottom when insert was tiped in...
That worked fine, then I added another keymap with the data for caps, and some code that changed the keymap used depending on the state of the caps...
But when I ran this I found that my keyboard had become hyper sensitive, when I press the caps, scroll or num lock or any other modifying keys such as insert, it triggered quite a few interrupts, so it would be very difficult if at all possible to control the state of the modifiers, strangely this did not affect the character keys and this would disappear if I removed the character map with the caps...
It would still occur if I removed the code to change character maps when Caps was pressed (restoring the code to it's original state when it worked...), but if I left the character map the hyper sensitivity would still occur...
It would only disappear if I removed the character map.
Any body have any ideas what I could be doing wrong?
Thanks in advance,
Jules
P.S. I'm proud to announce that I finally have a fully working cross compiler, so it shouldn't be problems with different variables writing over each other anymore...