#textdomain wesnoth # Warning: # any hotkey that uses shift should not trigger any animation(s) in game since shift toggles accelerated mode # One good way of knowing the common name of a special key to use in the 'key=' field below is to # consult 'man SDLKey' on a linux system. #define IF_APPLE_CMD_ELSE_CTRL #ifdef APPLE cmd=yes #else ctrl=yes #endif #enddef [hotkey] button=1 command="selectmoveaction" mouse=0 [/hotkey] [hotkey] button=3 command="deselecthex" mouse=0 [/hotkey] [hotkey] command=aiformula key=f [/hotkey] [hotkey] command=accelerated key=a {IF_APPLE_CMD_ELSE_CTRL} [/hotkey] [hotkey] command=bestenemymoves key=b {IF_APPLE_CMD_ELSE_CTRL} [/hotkey] [hotkey] command=changeside key=u shift=yes [/hotkey] [hotkey] command=chatlog alt=yes key=c [/hotkey] [hotkey] command=clearlabels {IF_APPLE_CMD_ELSE_CTRL} key=c [/hotkey] [hotkey] command=clearmessages {IF_APPLE_CMD_ELSE_CTRL} key=x [/hotkey] [hotkey] command=createunit key=c shift=yes [/hotkey] [hotkey] command=command key=: [/hotkey] [hotkey] command=continue key=t [/hotkey] [hotkey] command=cycle key=n [/hotkey] [hotkey] command=cycleback key=n shift=yes [/hotkey] [hotkey] command=describeunit key=d [/hotkey] [hotkey] command=describeterrain key=t {IF_APPLE_CMD_ELSE_CTRL} [/hotkey] [hotkey] command=endunitturn key=" " [/hotkey] [hotkey] command=endturn key=" " #ifdef APPLE alt=yes #else ctrl=yes #endif [/hotkey] [hotkey] command=fullscreen key=f {IF_APPLE_CMD_ELSE_CTRL} [/hotkey] [hotkey] command=help key=F1 [/hotkey] [hotkey] command=holdposition key=" " shift=yes [/hotkey] [hotkey] command=killunit key=k shift=yes [/hotkey] [hotkey] command=labelteamterrain key=l {IF_APPLE_CMD_ELSE_CTRL} [/hotkey] [hotkey] command=labelterrain key=l alt=yes [/hotkey] [hotkey] command=leader key=l [/hotkey] [hotkey] command=load key=o {IF_APPLE_CMD_ELSE_CTRL} [/hotkey] [hotkey] command=mute key=m {IF_APPLE_CMD_ELSE_CTRL} alt=yes [/hotkey] [hotkey] command=objectives key=j {IF_APPLE_CMD_ELSE_CTRL} [/hotkey] [hotkey] command=preferences #ifdef APPLE key=, #else key=p #endif {IF_APPLE_CMD_ELSE_CTRL} [/hotkey] [hotkey] command=quit #ifdef APPLE key=w #else key=q #endif {IF_APPLE_CMD_ELSE_CTRL} [/hotkey] [hotkey] command=recall key=r alt=yes [/hotkey] [hotkey] command=recruit key=r {IF_APPLE_CMD_ELSE_CTRL} [/hotkey] [hotkey] command=redo key=r [/hotkey] [hotkey] command=renameunit key=n {IF_APPLE_CMD_ELSE_CTRL} [/hotkey] [hotkey] command=repeatrecruit key=r {IF_APPLE_CMD_ELSE_CTRL} alt=yes [/hotkey] [hotkey] command=save key=s {IF_APPLE_CMD_ELSE_CTRL} [/hotkey] [hotkey] command=search key=/ [/hotkey] [hotkey] command=showenemymoves key=v {IF_APPLE_CMD_ELSE_CTRL} [/hotkey] [hotkey] command=speak key=m [/hotkey] [hotkey] command=speaktoall key=m alt=yes [/hotkey] [hotkey] command=speaktoally key=m {IF_APPLE_CMD_ELSE_CTRL} [/hotkey] [hotkey] command=statistics key=s [/hotkey] [hotkey] command=statustable key=s alt=yes [/hotkey] [hotkey] command=toggleellipses key=e {IF_APPLE_CMD_ELSE_CTRL} [/hotkey] [hotkey] command=togglegrid key=g {IF_APPLE_CMD_ELSE_CTRL} [/hotkey] [hotkey] command=undo key=u [/hotkey] [hotkey] command=unitlist key=u alt=yes [/hotkey] [hotkey] command=updateshroud key=s shift=yes [/hotkey] [hotkey] command=zoomdefault key=0 [/hotkey] [hotkey] command=zoomin key="+" [/hotkey] [hotkey] command=zoomout key=- [/hotkey] # Disabled for 1.9 and the whiteboard beta test #[hotkey] # command=delayshroud # key=d # shift=yes #[/hotkey] [hotkey] command=wbtoggle key=p [/hotkey] [hotkey] command=wbexecuteaction key=y [/hotkey] [hotkey] command=wbexecuteallactions key=y ctrl=yes [/hotkey] [hotkey] command=wbdeleteaction key=h [/hotkey] [hotkey] command=wbbumpupaction key="page up" [/hotkey] [hotkey] command=wbbumpdownaction key="page down" [/hotkey] [hotkey] command=wbsupposedead key=i [/hotkey] [hotkey] command=title_screen__reload_wml # For the Mac there has been some discussion whether a modifier was needed: # - plain F5 is bound to Exposé and cmd+F5 to Voice Over - see bug #16744 # - reverted due to the comment in patch #2531 # Patch #2531 is approved by our Mac packager so it will be plain F5 key=F5 [/hotkey] [hotkey] command=title_screen__next_tip key=right [/hotkey] [hotkey] command=title_screen__previous_tip key=left [/hotkey] [hotkey] command=global__helptip key=F10 [/hotkey] # Editor key definitions [hotkey] command="editor-brush-1" key=1 [/hotkey] [hotkey] command="editor-brush-2" key=2 [/hotkey] [hotkey] command="editor-brush-3" key=3 [/hotkey] [hotkey] command="editor-brush-nw-se" key=4 [/hotkey] [hotkey] command="editor-brush-sw-ne" key=5 [/hotkey] [hotkey] command="editor-quit-to-desktop" key="q" shift=yes {IF_APPLE_CMD_ELSE_CTRL} [/hotkey] [hotkey] command="editor-partial-undo" key="z" {IF_APPLE_CMD_ELSE_CTRL} [/hotkey] [hotkey] command="editor-map-save" key="s" {IF_APPLE_CMD_ELSE_CTRL} [/hotkey] [hotkey] command="editor-map-save-as" key="s" {IF_APPLE_CMD_ELSE_CTRL} shift=yes [/hotkey] [hotkey] command="editor-map-save-all" key="s" alt=yes [/hotkey] [hotkey] command="editor-map-new" key="m" {IF_APPLE_CMD_ELSE_CTRL} [/hotkey] [hotkey] command="editor-map-load" key="o" {IF_APPLE_CMD_ELSE_CTRL} [/hotkey] [hotkey] command="editor-terrain-palette-swap" key="x" [/hotkey] [hotkey] command="editor-cut" key="x" {IF_APPLE_CMD_ELSE_CTRL} [/hotkey] [hotkey] command="editor-copy" key="c" {IF_APPLE_CMD_ELSE_CTRL} [/hotkey] [hotkey] command="editor-paste" key="v" {IF_APPLE_CMD_ELSE_CTRL} [/hotkey] [hotkey] command="editor-select-all" key="a" {IF_APPLE_CMD_ELSE_CTRL} [/hotkey] [hotkey] command="editor-select-inverse" key="i" {IF_APPLE_CMD_ELSE_CTRL} [/hotkey] [hotkey] command="editor-clipboard-rotate-cw" key="r" {IF_APPLE_CMD_ELSE_CTRL} [/hotkey] [hotkey] command="editor-clipboard-rotate-ccw" key="r" shift=yes {IF_APPLE_CMD_ELSE_CTRL} [/hotkey] [hotkey] command="editor-tool-next" key="n" [/hotkey] [hotkey] command="editor-tool-paint" key="p" [/hotkey] [hotkey] command="editor-tool-fill" key="f" [/hotkey] [hotkey] command="editor-tool-select" key="s" [/hotkey] [hotkey] command="editor-brush-next" key="b" [/hotkey] [hotkey] command="editor-brush-default" key="b" alt=yes [/hotkey] [hotkey] command="editor-refresh" key="d" {IF_APPLE_CMD_ELSE_CTRL} [/hotkey] [hotkey] command="editor-update-transitions" key="t" [/hotkey] [hotkey] command="editor-draw-coordinates" key="o" [/hotkey] [hotkey] command="editor-draw-terrain-codes" key="i" [/hotkey] [hotkey] command="title_screen__editor" key="e" [/hotkey] [hotkey] command="title_screen__tutorial" key="t" [/hotkey] [hotkey] command="title_screen__campaign" key="c" [/hotkey] [hotkey] command="title_screen__multiplayer" key="m" [/hotkey] [hotkey] command="title_screen__addons" key="a" [/hotkey] [hotkey] command="title_screen__credits" key="space" [/hotkey] [hotkey] command="changelanguage" key="l" [/hotkey] #undef IF_APPLE_CMD_ELSE_CTRL