Announcement

Collapse
No announcement yet.

Rapid Keypresses?

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • Walt Decker
    replied
    Three possible ways in PB (perhaps more), 2 possible ways in QB:

    1. USE INKEY$ to check for the ascii code (PB/QB)

    2. USE INP(&H60) to check for the keyboard scan code (PB/QB)

    3. USE STDIN to get input from the keyboard (PB)

    Leave a comment:


  • Lance Edmonds
    replied
    There have been various snippets posted to this BBS on this... search the BBS subjects for the keyword "key", and you should find several. Also, the ABC packets hosts code too... http://www.basicguru.com/files/abc/abc9903/keyblast.bas

    -------------
    Lance
    PowerBASIC Support
    ( mailto:[email protected][email protected]</A> )

    Leave a comment:


  • Kevin Farrell
    started a topic Rapid Keypresses?

    Rapid Keypresses?

    how do i get rapid keypresses w/o waiting for the delay of repeation?
    i'm making a game & i want to be able to just hold down the forward key and go instead of holding down the forward key and then waiting for the keyboard to start repeating before it starts moving.

    Hope that makes some sense...
    thx for any help!

    Kevin
Working...
X
😀
🥰
🤢
😎
😡
👍
👎