Archived

This topic is now archived and is closed to further replies.

qtsohg

Text with DirectInput

Recommended Posts

qtsohg    122
Hi all, I am writing a little platform game. I just seem to have a minute problem. I use directInput for all input to the app. The only problem currently is that i can''t get the text input to work for the console. I got it so that i can use the alpha keys. The only problem is i need all other chars aswell. Should i use the windows messaging in conjunction? and wont this give me hassles with DirectInput??? Thanx, qtsohg The ghost will catch you ... ... if you are lucky ...

Share this post


Link to post
Share on other sites
neneboricua19    634
Although it is possible to use DirectInput to handle plain text, it can be a bit of a pain. It would definately be easier to implement your console by using standard Win32 messages.

Win32 and DirectInput can happily co-exist. There shouldn''t be any problems with an app that wants to use both.

neneboricua

Share this post


Link to post
Share on other sites
kVandaele    138
think this was asked just the other day...

anyway, read this:
http://www.gamedev.net/reference/articles/article1346.asp
as well as this:
http://www.gamedev.net/reference/articles/article842.asp

if that didn''t satisfy your needs, try some more of these:
http://www.gamedev.net/reference/list.asp?categoryid=24#52

Share this post


Link to post
Share on other sites