|  |  | Notation for Events

## Notation for Events

Mouse
`<Button-`n`>` |  | mouse button: 1=left, 2=middle, 3=right
|  | n > 3 used for wheel-mouses
`<B` n`-Motion>` |  | mouse button n and mouse motion
`<Double-`n`>` |  | double click with mouse button n
Mouse and keyboard
`<Shift-`n`>` |  | mouse button and shift key
`<Control-`n`>` |  | mouse button and control key
`<Control-Shift-`n`>` |  | mouse button, control and shift keys
`<Alt-`n`>` |  | mouse button and alt key
`<Control-Motion>` |  | control key and mouse motion
Keyboard
`<Key-Up>` |  | up-arrow key
`<Shift-Up>` |  | shift and up-arrow keys
`<Key-Down>` |  | down-arrow key
`<Shift-Down>` |  | shift and down-arrow keys
`<Key-Left>` |  | left-arrow key
`<Shift-Left>` |  | shift and left-arrow keys
`<Key-Right>` |  | right-arrow key
`<Shift-Right>` |  | shift and right-arrow keys
`<Key-Delete>` |  | delete (or backspace) key
`<Key-space>` |  | space key
`<Return>` |  | return (or enter) key

|  |  | Notation for Events