|
|
@@ -150,17 +150,11 @@ static const keymap_t keys[] = { |
|
|
|
/* mouse button mappings for image mode: */ |
|
|
|
static const button_t buttons[] = { |
|
|
|
/* modifiers button function argument */ |
|
|
|
{ 0, 1, i_navigate, +1 }, |
|
|
|
{ 0, 3, i_navigate, -1 }, |
|
|
|
{ 0, 1, i_cursor_navigate, None }, |
|
|
|
{ 0, 2, i_drag, None }, |
|
|
|
{ 0, 4, i_scroll, DIR_UP }, |
|
|
|
{ 0, 5, i_scroll, DIR_DOWN }, |
|
|
|
{ ShiftMask, 4, i_scroll, DIR_LEFT }, |
|
|
|
{ ShiftMask, 5, i_scroll, DIR_RIGHT }, |
|
|
|
{ 0, 6, i_scroll, DIR_LEFT }, |
|
|
|
{ 0, 7, i_scroll, DIR_RIGHT }, |
|
|
|
{ ControlMask, 4, g_zoom, +1 }, |
|
|
|
{ ControlMask, 5, g_zoom, -1 }, |
|
|
|
{ 0, 3, g_switch_mode, None }, |
|
|
|
{ 0, 4, g_zoom, +1 }, |
|
|
|
{ 0, 5, g_zoom, -1 }, |
|
|
|
}; |
|
|
|
|
|
|
|
#endif |