Page 1 of 1

[RESOLVED] Bran's Kernel & Shift Key

Posted: Tue Dec 11, 2007 8:18 pm
by Bobalandi
Has anyone used Bran's Kernel from osdever.net because I am trying to implement the shift key(s) to be able to work, but I am I having major problems. Anyone have suggestions or ideas?

Posted: Wed Dec 12, 2007 2:44 am
by JamesM
Yes. And yes, I have got the shift key to work. What problems are you having exactly?

Posted: Wed Dec 12, 2007 2:52 am
by AJ
The way I do it is to have a separate 128 char keyboard map and a flag which just tracks whether the shift key is down. If so, use the uppercase key map.

Cheers,
Adam

Posted: Wed Dec 12, 2007 2:42 pm
by Bobalandi
JamesM wrote:Yes. And yes, I have got the shift key to work. What problems are you having exactly?
Well, I made a seperate keymap for the uppercase, but when I have it try to flag whether shift is pressed it doesn't work.

Posted: Wed Dec 12, 2007 5:30 pm
by Bobalandi
Actually, my problem has been resolved, with special thanks to bewing. He looked at my code and found that my shift variable wansn't global, and that it need to be. Thanks. :D