Multikey questions

General FreeBASIC programming questions.
Post Reply
KLBear
Posts: 113
Joined: Jul 23, 2008 9:32

Multikey questions

Post by KLBear »

Using scancodes with Multikey You dont have to #include "fbgfx.bi"
IF Multikey(&H4D) THEN Print "RIGHT"

On Using Multikey another method should I use this ?
example 1
#include once "fbgfx.bi"
if I put FB.SC_RIGHT This works with out using fb
If MultiKey(FB.SC_RIGHT) Then print "RIGHT"

Or should I use this ?
'example 2
#include "fbgfx.bi"
using fb
removed FB. this works as long as your using fb
If MultiKey(SC_RIGHT) Then Print "RIGHT"

Also do I use #include once "fbgfx.bi" or leave once out ?
Post Reply