This grows out of the discussion started in this thread.
Anyway, let me start by presenting the list of key and mouse bindings present in Ren'Py 4.7.1.
Code: Select all
keymap = dict(
# Bindings present almost everywhere, unless explicitly
rollback = [ 'K_PAGEUP', 'mousedown_4' ],
screenshot = [ 's' ],
toggle_fullscreen = [ 'f' ],
toggle_music = [ 'm' ],
game_menu = [ 'K_ESCAPE', 'mousedown_3' ],
hide_windows = [ 'mouseup_2' ],
rollforward = [ 'mousedown_5', 'K_PAGEDOWN' ],
dismiss = [ 'mouseup_1', 'K_RETURN', 'K_SPACE', 'K_KP_ENTER' ],
keymouse_left = [ 'K_LEFT' ],
keymouse_right = [ 'K_RIGHT' ],
keymouse_up = [ 'K_UP' ],
keymouse_down = [ 'K_DOWN' ],
menu_mouseselect = [ 'mouseup_1' ],
menu_keyselect = ['K_RETURN', 'K_KP_ENTER' ],
menu_keyup = [ 'K_UP' ],
menu_keydown = [ 'K_DOWN' ],
button_select = [ 'mouseup_1', 'K_RETURN', 'K_KP_ENTER' ],
input_backspace = [ 'K_BACKSPACE' ],
input_enter = [ 'K_RETURN', 'K_KP_ENTER' ],
imagemap_select = [ 'K_RETURN', 'K_KP_ENTER', 'mouseup_1' ],
bar_click = [ 'mouseup_1' ],
# These keys control skipping.
skip = [ 'K_LCTRL', 'K_RCTRL' ],
toggle_skip = [ 'K_TAB' ],
Notation: mouseup_ and mousedown_ are the appropriate mouse events, with 1 to 5 being left, center, right, wheel up, and wheel down, respectively. Keys are either given by the character they produce or a keysym... K_KP_ENTER is the enter on the keypad, which I had left out for a few releases.
Some of these bindings are obvious, and some are obviously Ren'Py specific. I gave a bit of thought to most of them, but some (Tab for toggling skipping) were the best key I could think of.
Anyway, hopefully this can serve to start a discussion. If we can achieve consensus that a binding is wrong, then I will change Ren'Py to go with the group's opinion.