Difference between revisions of "AGIWiki/set.key"

Jump to navigation Jump to search
(→‎Example: Fix syntax highlighting)
m (Text replacement - "<source lang=" to "<syntaxhighlight lang=")
Line 19: Line 19:
== Example ==
== Example ==


<source lang="cpp">
<syntaxhighlight lang="cpp">
set.key(0, 59, c1);  //F1 to controller 1  
set.key(0, 59, c1);  //F1 to controller 1  
set.key(9, 0, c2);  //Tab key to controller 2
set.key(9, 0, c2);  //Tab key to controller 2