164 | | You can control windows displayed on the wall using Wiimote controller. To do this you have to install proper libraries first (see [[SageInstallation#Accessmachine|access]] |
| 164 | You can control windows displayed on the wall using Wiimote controller. To do this you have to install proper libraries first (see [[SageInstallation#Accessmachine|Access machine]]). You also need a simple circuit containing IR LEDs. Instructions for building such circuit can be found on the Internet by searching for Wii Sensorbar. If SAGE was compiled with required libraries and you have your circuit in place, you have to set wiimote capture to start with SAGE. To do this you have to: |
| 165 | * Run ''sage'' |
| 166 | * Click ''Advanced mode'' |
| 167 | * Click ''Settings'' in the SAGE section (first from the top) |
| 168 | * In ''ON SAGE STARTUP'' enter: |
| 169 | {{{ |
| 170 | python ../dim/dim.py |
| 171 | python ../dim/hwcapture/wiimote.py localhost |
| 172 | }}} |
| 173 | If any line containing dim.py already exists, delete it. |
| 174 | * Comment line: |
| 175 | {{{ |
| 176 | python ../dim/hwcapture/localPointer.py localhost |
| 177 | }}} |
| 178 | using #: |
| 179 | {{{ |
| 180 | #python ../dim/hwcapture/localPointer.py localhost |
| 181 | }}} |
| 182 | * Confirm by clicking ''OK'' in the window |
| 183 | * Turn on Wiimote in discovery mode (1+2 button press) |
| 184 | * Start SAGE with ''START'' button |
| 185 | |
| 186 | Now you can control windows on the wall using Wiimote controller. To select a window just point to it. Then you can perform following actions: |
| 187 | * move windows (A button) |
| 188 | * resize window (B button) |
| 189 | * rotate window (Left and Right buttons) |
| 190 | * move window to front or send to back (Up and Down buttons) |
| 191 | * maximize a window (Home button) |