I discover PB and try it before to buy the licence.
So i coded it :
Code: Select all
OpenConsole()
a=InitKeyboard()
b=InitMouse()
Repeat
ExamineKeyboard()
key$=KeyboardInkey()
Print(key$)
ExamineMouse();
If MouseButton(#PB_MouseButton_Left) <> 0
Print("click")
EndIf
Delay(10)
ForEver
End
1 / The part with ExamineMouse never works.
2 / Sometimes an error appears 'need openscreen before ExamineKeyboard()
I can't find solution because i read the help file and everything seems fine... for the beginner that I am
Thank you for your help