[RESOLVED] Bran's Kernel & Shift Key

Programming, for all ages and all languages.
Post Reply
Bobalandi
Member
Member
Posts: 107
Joined: Mon Dec 03, 2007 7:26 am
Location: Near Boston, MA
Contact:

[RESOLVED] Bran's Kernel & Shift Key

Post 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?
Last edited by Bobalandi on Wed Dec 12, 2007 5:31 pm, edited 1 time in total.
User avatar
JamesM
Member
Member
Posts: 2935
Joined: Tue Jul 10, 2007 5:27 am
Location: York, United Kingdom
Contact:

Post by JamesM »

Yes. And yes, I have got the shift key to work. What problems are you having exactly?
User avatar
AJ
Member
Member
Posts: 2646
Joined: Sun Oct 22, 2006 7:01 am
Location: Devon, UK
Contact:

Post 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
Bobalandi
Member
Member
Posts: 107
Joined: Mon Dec 03, 2007 7:26 am
Location: Near Boston, MA
Contact:

Post 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.
Bobalandi
Member
Member
Posts: 107
Joined: Mon Dec 03, 2007 7:26 am
Location: Near Boston, MA
Contact:

Post 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
Post Reply