Page 1 of 1

keyboard input

Posted: Thu Nov 28, 2013 10:03 pm
by longwave
I want to capture keyboard input and assign to a string variable. Is there a way to do this without opening a console or initsprite() ?

Re: keyboard input

Posted: Thu Nov 28, 2013 10:18 pm
by JHPJHP
See this post for multiple solutions: http://www.purebasic.fr/english/viewtop ... board+hook
- search the forum for others if it doesn't fit your requirements (there has been a lot done on this topic)

... And welcome to the PureBasic community.

Re: keyboard input

Posted: Thu Nov 28, 2013 11:23 pm
by longwave
Super works great. A simple StringGadget does the job. :D

Re: keyboard input

Posted: Sat Nov 30, 2013 12:18 pm
by doctorized