$OpenBSD: patch-key_C,v 1.1 2002/10/06 00:49:03 naddy Exp $ --- key.C.orig Wed Mar 13 17:34:29 1996 +++ key.C Sun Oct 6 00:55:01 2002 @@ -51,7 +51,7 @@ void _key::clear() right = 0; up = 0; down = 0; - shot = 0; + shot = 1; } void _key::press(KeySym sym) @@ -72,7 +72,7 @@ void _key::press(KeySym sym) else if (sym == XK_Home ) ul = 1; else if (sym == KEY_UR ) ur = 1; else if (sym == XK_Prior ) ur = 1; - else if (sym == KEY_SHOT ) shot = 1; + else if (sym == KEY_SHOT ) shot = !shot; else if (sym == KEY_EXIT ) manage.exit_key(); else if (sym == KEY_START) manage.start_key(); else if (sym == KEY_PLUS ) manage.plus_key(); @@ -98,7 +98,7 @@ void _key::release(KeySym sym) else if (sym == XK_Home ) ul = 0; else if (sym == KEY_UR ) ur = 0; else if (sym == XK_Prior ) ur = 0; - else if (sym == KEY_SHOT ) shot = 0; + else if (sym == KEY_SHOT ) ; _key::change(); }