Up |
_GetWiiClassicInfos Scol 5.x or above required
Retrieve classic controller informations.
Prototype :
fun [WiiObj] [[F F] [F F] I F F]
- WiiObj : a wii object
Return : [[F F] [F F] I F F]
- [F F] : x, y left joystick coordonates
- [F F] : x, y right joystick coordonates
- I : the button :
- 1 : button "1"
- 2 : button "2"
- 4 : button "A"
- 8 : button "B"
- 16 : button "+"
- 32 : button "-"
- 64 : button "Up"
- 128 : button "Down"
- 256 : button "Left"
- 512 : button "Right"
- 1024 : button "Home"
- 2048 : button "X"
- 4096 : button "Y"
- 8192 : trigger left
- 16384 : trigger right
- 0 : none
- F : trigger left value
- F : trigger right value
See also :
Example :