X-Git-Url: https://git.artsoft.org/?a=blobdiff_plain;f=src%2Flibem%2Finput.c;h=2aafb6650a78f2742b4bdb118f5ecd954a8f4a21;hb=b7c0e8ca1c06e1d54714b382d6b92f4ff2d47af7;hp=7c6437c98f9b6ae4e7b9841eb4435be1602eee1f;hpb=bec4e2a1fb71569a3302583f71fbb11aa3f58b63;p=rocksndiamonds.git diff --git a/src/libem/input.c b/src/libem/input.c index 7c6437c9..2aafb665 100644 --- a/src/libem/input.c +++ b/src/libem/input.c @@ -1,3 +1,6 @@ + +#if defined(TARGET_X11) + /* 2000-08-13T15:29:40Z * * handle input from x11 and keyboard and joystick @@ -118,7 +121,7 @@ int game_start(void) strcpy(player_name, "dave"); player_level = 0; - input_pause = 1; + input_pause = 1 * 0; for(;;) { @@ -259,6 +262,11 @@ void readjoy(void) ply1.joy_s = south; ply1.joy_w = west; } + +#if 0 + printf("::: JOY == %d/%d/%d/%d/%d\n", + north, east, south, west, fire); +#endif } /* handle events from x windows and block until the next frame @@ -318,3 +326,5 @@ void input_eventloop(void) input_esc = 0; for(i = 0; i < 1; i++) if(keymatrix[escKeyCode[i] >> 3] & 1 << (escKeyCode[i] & 7)) input_esc = 1; } + +#endif