--- xsc-1.5.old/args.C +++ xsc-1.5/args.C @@ -15,10 +15,12 @@ void Args::init(struct info *const a) { - a->ccw = XK_d; - a->cw = XK_f; - a->thrust = XK_j; - a->fire = XK_k; + a->ccw = XK_Left; // Original = XK_d + a->cw = XK_Right; // Original = XK_f + a->thrust = XK_Up; // Original = XK_j + a->fire = XK_Control_L; // Original = XK_k + a->escape = XK_Escape; // New key [added 070606] + a->pause = XK_p; a->iconify = XK_i; a->quit = XK_q; --- xsc-1.5.old/args.h +++ xsc-1.5/args.h @@ -16,6 +16,7 @@ KeySym iconify; // the key which iconifies the window KeySym quit; // the key which quits the game KeySym start; // the key which starts the game + KeySym escape; // Escape key float fps; // frames per second short x; // x offset of the window short y; // y offset of the window --- xsc-1.5.old/xsc.C +++ xsc-1.5/xsc.C @@ -256,7 +256,7 @@ } else { XBell(display, 50); } - } else if (ks == args.quit) { + } else if ((ks == args.quit) || (ks == args.escape)) { quit(EXIT_SUCCESS); } else { XBell(display, 50);