Jump to content

Photo

Restoring the mouse after reading joystick GFA 3.5


3 replies to this topic

#1 Fletch OFFLINE  

Fletch

    Stargunner

  • 1,064 posts
  • Location:Pennsylvania

Posted Tue Apr 18, 2017 6:54 PM

Been messing about with GFA BASIC and reading the joystick.  When I exit the program I assume I need to restore the mouse, but I am unsure how.  Any tips?

 

Thanks!

 

Pete



#2 ggn OFFLINE  

ggn

    Stargunner

  • 1,472 posts
  • Location:Athens, Greece

Posted Tue Apr 18, 2017 11:18 PM

Oh god it's been so long since I last needed that!

Anyway, before exiting put a
~mousek
and you should be fine!

#3 simonsunnyboy OFFLINE  

simonsunnyboy

    Chopper Commander

  • 189 posts
  • Location:Friedrichshafen, Germany

Posted Wed Apr 19, 2017 9:21 AM

STICK 1

..

STICK 0

 

or the more classic

OUT 4,20  ! enable joystick
... 

OUT 4,8    ! disable joystick and reactivate mouse

should do the trick



#4 Fletch OFFLINE  

Fletch

    Stargunner

  • Topic Starter
  • 1,064 posts
  • Location:Pennsylvania

Posted Sat Apr 22, 2017 11:19 AM

Thanks fellas!  






0 user(s) are browsing this forum

0 members, 0 guests, 0 anonymous users