Hardware: Difference between revisions

From IBMPC Repository Wiki
Jump to navigation Jump to search
No edit summary
No edit summary
Line 2: Line 2:




<nowiki><div class="CodeBlockHeader">Code:</div></nowiki>


<div class="CodeBlockHeader">Code:</div>
<syntaxhighlight lang="sci">
<syntaxhighlight lang="sci">
 
        (if(== (send pEvent:type) evMOUSEBUTTON and == (send pEvent:modifiers) 515)
       (if(== (send pEvent:type) evMOUSEBUTTON and == (send pEvent:modifiers) 515)
            FormatPrint("x:%d, y:%d" (send pEvent:x) (send pEvent:y) )
 
)
           FormatPrint("x:%d, y:%d" (send pEvent:x) (send pEvent:y) )     
 
   )
 
</syntaxhighlight>
</syntaxhighlight>

Revision as of 08:02, 23 January 2025

Testing hardware page...


Code:

<syntaxhighlight lang="sci">

       (if(== (send pEvent:type) evMOUSEBUTTON and == (send pEvent:modifiers) 515)
           FormatPrint("x:%d, y:%d" (send pEvent:x) (send pEvent:y) )	 

) </syntaxhighlight>