Correctly getting key being pressed for chat in XNA
问题 So, I'm going to cut straight to it, I'm trying to make a chat system in an XNA game I'm making. I can easily figure out what keys are being pressed BUT I have no way of knowing what is actually being typed. To me, it looks like they are saying: OemShifthello billOemPeriod OemShifthow are youOemQuestion which should look like Hello bill. How are you? (or something along those lines). Whats the best way to handle all of this? 回答1: For the PC there's nothing built in to the XNA framework making