Difference between revisions of "GetAltControl"
→Notes: Fixed script to use 65535 io -1
imported>Haama (→Notes: Removed short note) |
imported>Haama (→Notes: Fixed script to use 65535 io -1) |
||
Line 21: | Line 21: | ||
<pre>short button | <pre>short button | ||
set button to getAltControl 4 ; attack button | set button to getAltControl 4 ; attack button | ||
if ( button != | if ( button != 65535 ) | ||
set button to ( button - 255 ) / 256 + 256 | set button to ( button - 255 ) / 256 + 256 | ||
endif</pre> | endif</pre> |