| 1 | ## Beryl/Compiz - A CWiid script by Andrew "Kr4t05" Hanson - May 8, 2007 |
|---|
| 2 | ## This script is freely distributed under the WTFPL. |
|---|
| 3 | |
|---|
| 4 | include ir_ptr |
|---|
| 5 | |
|---|
| 6 | Wiimote.A = BTN_RIGHT # Right Click |
|---|
| 7 | Wiimote.B = BTN_LEFT # Left Click |
|---|
| 8 | Wiimote.Up = BTN_GEAR_UP # Mouse-Wheel Up |
|---|
| 9 | Wiimote.Down = BTN_GEAR_DOWN # Mouse-Wheel Down |
|---|
| 10 | Wiimote.Left = KEY_LEFTMETA # Meta-Key |
|---|
| 11 | Wiimote.Right = KEY_LEFTSHIFT # Shift Key |
|---|
| 12 | Wiimote.Home = BTN_MIDDLE # Middle Click |
|---|
| 13 | #Wiimote.1 = # |
|---|
| 14 | #Wiimote.2 = # |
|---|
| 15 | Wiimote.Plus = KEY_VOLUMEUP # Turn up volume |
|---|
| 16 | Wiimote.Minus = KEY_VOLUMEDOWN # Turn down Volume |
|---|