This page (revision-14) was last changed on 03-Feb-2023 15:21 by Florian Dingler 

This page was created on 14-Mar-2010 18:11 by Carsten Strotmann

Only authorized users are allowed to rename pages.

Only authorized users are allowed to delete pages.

Page revision history

Version Date Modified Size Author Changes ... Change note
14 03-Feb-2023 15:21 4 KB Florian Dingler to previous
13 07-Jul-2018 21:28 4 KB Florian Dingler to previous | to last
12 30-Jun-2018 14:32 4 KB Florian Dingler to previous | to last
11 30-Jun-2018 14:27 3 KB Florian Dingler to previous | to last
10 08-Oct-2017 19:34 3 KB Florian Dingler to previous | to last
9 10-Mar-2017 22:36 3 KB Florian Dingler to previous | to last
8 10-Mar-2017 21:10 3 KB Florian Dingler to previous | to last
7 10-Mar-2017 21:07 3 KB Florian Dingler to previous | to last
6 09-Jan-2012 08:33 2 KB Gromit to previous | to last
5 05-Jan-2011 14:01 2 KB Gromit to previous | to last
4 05-Jan-2011 13:50 2 KB Carsten Strotmann to previous | to last
3 22-Mar-2010 22:17 2 KB Florian Dingler to previous | to last
2 15-Mar-2010 09:08 2 KB Gromit to previous | to last
1 14-Mar-2010 18:11 2 KB Carsten Strotmann to last

Page References

Incoming links Outgoing links

Version management

Difference between version and

At line 110 changed 2 lines
; call procedure stating PL (range 0...3) and 2 variables to which the result is returned
; e.g. "QUERYMULJOY(0,ST,TR)" check for Joystick 0, return values in ST and TR
; call procedure stating PL (range 0...8) and 2 pointers to variables to which the result is returned
; e.g. "QUERYMULJOY(0,ST,TR)" check for Joystick 0, return values in the variable ST and TR point to
At line 116 changed 2 lines
WSYNC=PL ; wait a wee bit so the PIA can adjust to the new value
WSYNC=PL
PL=6
DO PL==-1 UNTIL PL=0 OD ; wait a wee bit so the PIA can adjust to the new value
At line 125 changed 2 lines
BYTE TRI,STI,PL
BYTE POINTER S,T
BYTE TRI,STI,PL
BYTE POINTER S,T
At line 128 changed 2 lines
S=@STI
T=@TRI
S=@STI ; pointer S now points to STI
T=@TRI ; and T to TRI
At line 131 changed one line
DO ; main loop
DO ; main loop
FOR PL=0 to 8 DO
QUERYMULJOY(PL,S,T) ; hand over the joystick number you want to query and two POINTERs for Stick and Trigger
; variables where you want the results.
; STI now holds the value for the stick
; TRI now holds the value for the trigger
; go ahead and do something with it...
OD
OD ; end of main loop
RETURN
At line 133 removed 7 lines
FOR PL=0 to 8 DO
QUERYMULJOY(PL,S,T) ; hand over a POINTER for Stick and Trigger variables.
; STI now holds the value for the stick
; TRI now holds the value for the trigger
; go ahead and do something with it...
OD
OD ; end of main loop
At line 141 removed 2 lines