Hardware: Difference between revisions
Jump to navigation
Jump to search
No edit summary |
No edit summary |
||
Line 2: | Line 2: | ||
<div class="CodeBlockHeader">Code:</div> | |||
<syntaxhighlight lang="sci"> | <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> | </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>