| plan 9 kernel history: overview | file list | diff list |
2001/0822/bitsy/devpenmouse.c (diff list | history)
| 2001/0529/sys/src/9/bitsy/devpenmouse.c:92,98 – 2001/0822/sys/src/9/bitsy/devpenmouse.c:92,101 (short | long | prev | next) | ||
| 2000/1021 | void penbutton(int up, int b) { | |
| 2000/1207 |
| |
| 2001/0822 | // button 5 (side button) immediately causes an event // when the pen is down (button 1), other buttons also // cause events, allowing chording with button 1 if ((b & 0x20) || (mouse.buttons & 0x1)) { | |
| 2000/1207 | if (up) mouse.buttons &= ~b; else | |