"\
:<Key>F1: ManProc() \n \
:<Key>F2: FlipViewProc() \n \
- :Ctrl<KeyDown>.: TempBackwardProc() \n \
- :Ctrl<KeyUp>.: TempForwardProc() \n \
+ :<KeyDown>Return: TempBackwardProc() \n \
+ :<KeyUp>Return: TempForwardProc() \n \
:Ctrl<Key>1: AskQuestionProc(\"Direct command\",\
\"Send to chess program:\",,1) \n \
:Ctrl<Key>2: AskQuestionProc(\"Direct command\",\
@cindex Shortcut keys
@table @asis
@item Show last move
-By hitting @kbd{Ctrl+.} the last move will be re-animated.
+By hitting @kbd{Enter} the last move will be re-animated.
@item Send a command directly to the chess engine
Using @kbd{Ctrl+1} a popup window will prompt you for a command that
will be send directly to the first chess engines. @kbd{Ctrl+2} does the
{
char buf[10], keys[32];
KeySym sym;
- KeyCode metaL, metaR, ctrlL, ctrlR;
+ KeyCode metaL, metaR; //, ctrlL, ctrlR;
int n = XLookupString(&(event->xkey), buf, 10, &sym, NULL);
XQueryKeymap(xDisplay,keys);
metaL = XKeysymToKeycode(xDisplay, XK_Meta_L);
metaR = XKeysymToKeycode(xDisplay, XK_Meta_R);
- ctrlL = XKeysymToKeycode(xDisplay, XK_Control_L);
- ctrlR = XKeysymToKeycode(xDisplay, XK_Control_R);
+// ctrlL = XKeysymToKeycode(xDisplay, XK_Control_L);
+// ctrlR = XKeysymToKeycode(xDisplay, XK_Control_R);
if ( n == 1 && *buf >= 32 // printable
&& !(keys[metaL>>3]&1<<(metaL&7)) && !(keys[metaR>>3]&1<<(metaR&7)) // no alt key pressed
- && !(keys[ctrlL>>3]&1<<(ctrlL&7)) && !(keys[ctrlR>>3]&1<<(ctrlR&7)) // no ctrl key pressed
+// && !(keys[ctrlL>>3]&1<<(ctrlL&7)) && !(keys[ctrlR>>3]&1<<(ctrlR&7)) // no ctrl key pressed
)
{
if(appData.icsActive) { // text typed to board in ICS mode: divert to ICS input box