Jump to content

Keyboard Input (signals are useful)


BastardCode
 Share

Recommended Posts

I dug deep into docs and source, realized signals have an .add method

Keys have an onUp and onDown signal, which again, in turn, has an add method.

 

What I couldn't figure out was if there is a more general way of handling keyboard input?

 

Does the keyboard itself have signals for onUp / onDown?

Can I run a general callback, something like  :nextTurn()" each time ANY key is pressed?

 

What if I just wanted to implement a "hit ANY key to start" function?

 

Not looking for code so much as a pointer in the right direction. 

Link to comment
Share on other sites

 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...