Difference between revisions of "AGIWiki/Controller"
(Created page with "{{AGIWiki}} ''This article refers Controllers as part of an AGI game. For information about the controller command, see Controller command.'' Con...") |
m |
||
(2 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
{{AGIWiki}} | {{AGIWiki}} | ||
''This article refers Controllers as part of an AGI game. For information about the controller command, see [[AGIWiki/ | ''This article refers Controllers as part of an AGI game. For information about the controller-command, see [[AGIWiki/controller|controller]].'' | ||
Controllers are used by AGI to take specific actions based on menu selections or keyboard input, such as pressing function keys, or control key combinations. There are 50 controllers available to AGI, numbered 0 to 49. Controllers can be assigned to keyboard combinations (using the [[AGIWiki/set.key|set.key]] command), or to menu items (using the [[AGIWiki/set.menu.item|set.menu.item]] command). | Controllers are used by AGI to take specific actions based on menu selections or keyboard input, such as pressing function keys, or control key combinations. There are 50 controllers available to AGI, numbered 0 to 49. Controllers can be assigned to keyboard combinations (using the [[AGIWiki/set.key|set.key]] command), or to menu items (using the [[AGIWiki/set.menu.item|set.menu.item]] command). | ||
Line 7: | Line 7: | ||
It is possible to assign more than one key combination or menu to the same controller. | It is possible to assign more than one key combination or menu to the same controller. | ||
To determine if a particular controller has been activated, use the [[AGIWiki/ | To determine if a particular controller has been activated, use the [[AGIWiki/controller|controller]] test command. The '''controller''' test returns TRUE if the key combination associated with the controller has been pressed (or the menu item has been selected, if the controller has been assigned to a menu item). | ||
== Data types == | == Data types == | ||
{{AGIWiki/Data types}} | |||
Latest revision as of 09:08, 25 April 2013
This article refers Controllers as part of an AGI game. For information about the controller-command, see controller.
Controllers are used by AGI to take specific actions based on menu selections or keyboard input, such as pressing function keys, or control key combinations. There are 50 controllers available to AGI, numbered 0 to 49. Controllers can be assigned to keyboard combinations (using the set.key command), or to menu items (using the set.menu.item command).
It is possible to assign more than one key combination or menu to the same controller.
To determine if a particular controller has been activated, use the controller test command. The controller test returns TRUE if the key combination associated with the controller has been pressed (or the menu item has been selected, if the controller has been assigned to a menu item).