aboutsummaryrefslogtreecommitdiff
path: root/config.def.h
diff options
context:
space:
mode:
Diffstat (limited to 'config.def.h')
-rw-r--r--config.def.h16
1 files changed, 10 insertions, 6 deletions
diff --git a/config.def.h b/config.def.h
index ee8e1fa..d05b051 100644
--- a/config.def.h
+++ b/config.def.h
@@ -16,18 +16,22 @@ static Key keys[] = {
{0, SDLK_DOWN, user_canvas_move_y, {.i = -10}},
{0, SDLK_LEFT, user_canvas_move_x, {.i = 10}},
{0, SDLK_RIGHT, user_canvas_move_x, {.i = -10}},
- {0, SDLK_s, user_canvas_save, {.v = NULL}},
- {0, SDLK_r, user_canvas_refresh, {.v = NULL}},
- {0, SDLK_o, user_canvas_open, {.s = NULL}},
+ {0, SDLK_u, user_canvas_undo, {.v = NULL}},
+ {0, SDLK_r, user_canvas_redo, {.v = NULL}},
+ {KMOD_LSHIFT, SDLK_n, user_canvas_create_new, {.v = NULL}},
+ {KMOD_LSHIFT, SDLK_s, user_canvas_save, {.v = NULL}},
+ {KMOD_LSHIFT, SDLK_o, user_canvas_open, {.s = NULL}},
{KMOD_LSHIFT, SDLK_e, user_canvas_export_png, {.v = NULL}},
{KMOD_LSHIFT, SDLK_i, user_canvas_import_png, {.s = NULL}},
+ {KMOD_RSHIFT, SDLK_n, user_canvas_create_new, {.v = NULL}},
+ {KMOD_RSHIFT, SDLK_s, user_canvas_save, {.v = NULL}},
+ {KMOD_RSHIFT, SDLK_o, user_canvas_open, {.s = NULL}},
+ {KMOD_RSHIFT, SDLK_e, user_canvas_export_png, {.v = NULL}},
+ {KMOD_RSHIFT, SDLK_i, user_canvas_import_png, {.s = NULL}},
{0, SDLK_b, user_tool_change, {.i = 0}},
{0, SDLK_e, user_tool_change, {.i = 1}},
{0, SDLK_f, user_tool_change, {.i = 2}},
{0, SDLK_i, user_tool_change, {.i = 3}},
- {0, SDLK_n, user_canvas_create_new, {.v = NULL}},
{0, SDLK_LEFTBRACKET, user_canvas_pal_col_chng, {.i = -1}},
{0, SDLK_RIGHTBRACKET, user_canvas_pal_col_chng, {.i = 1}},
- {KMOD_LSHIFT, SDLK_r, user_testing_reload_tex, {.i = 1}},
- {0, SDLK_m, user_debug_mem_show, {.v = NULL}},
};