XNA "Game" I'm Making for my Daughter
Posted: 23 Sep 2009, 07:27
Original Topic Name: C#.NET+XNA Figured I'd ask here on the off chance y'all know
So, I'm trying to make a simple application that will display which keys are being pressed at any given moment while preventing any "Scary" keys from being pressed... the net result is that I can let my 17 month old daughter mash on my keyboard without fear of her accidentally tripping a shortcut key etc...
I found a nice little package that disables things like the Windows key but have yet to be able to manage to kill Alt-TAB... and it seems like 90% of the Internet thinks that disabling alt-tab is a horrible thing to do to users and I shouldn't do it, and the other 10% have provided only solutions that work in C++ not C# ... I thought I'd found a nice piece of C# code to so it but when I modified the code to use what I THOUGHT was a different scan-code it causes all the applications running on my computer to simultaneously crash... so that's the end of tonight's gambit... my daughter would be hard pressed to successfully mash Alt-Tab so I'm going to move forward with my current framework (making pictures representing the words starting with the letters she's pressed show up)... but figured I'd poke y'all and see if you had any suggestions on how to do what I'm looking for... if at all possible... even if it's a setting I change on my computer prior to me starting the game for her.
http://pastebin.com/f6b04f200
So, I'm trying to make a simple application that will display which keys are being pressed at any given moment while preventing any "Scary" keys from being pressed... the net result is that I can let my 17 month old daughter mash on my keyboard without fear of her accidentally tripping a shortcut key etc...
I found a nice little package that disables things like the Windows key but have yet to be able to manage to kill Alt-TAB... and it seems like 90% of the Internet thinks that disabling alt-tab is a horrible thing to do to users and I shouldn't do it, and the other 10% have provided only solutions that work in C++ not C# ... I thought I'd found a nice piece of C# code to so it but when I modified the code to use what I THOUGHT was a different scan-code it causes all the applications running on my computer to simultaneously crash... so that's the end of tonight's gambit... my daughter would be hard pressed to successfully mash Alt-Tab so I'm going to move forward with my current framework (making pictures representing the words starting with the letters she's pressed show up)... but figured I'd poke y'all and see if you had any suggestions on how to do what I'm looking for... if at all possible... even if it's a setting I change on my computer prior to me starting the game for her.
http://pastebin.com/f6b04f200