From 179bdec4d74156e3109f22efada04ec7d72dda0e Mon Sep 17 00:00:00 2001 From: David Anderson Date: Mon, 14 Mar 2005 18:39:41 +0000 Subject: [PATCH] *** empty log message *** svn path=/trunk/boinc/; revision=5658 --- api/x_opengl.C | 8 ++++++-- checkin_notes | 6 ++++++ doc/client_files.php | 2 +- 3 files changed, 13 insertions(+), 3 deletions(-) diff --git a/api/x_opengl.C b/api/x_opengl.C index 2314e9c4e5..4b1f466aaa 100644 --- a/api/x_opengl.C +++ b/api/x_opengl.C @@ -73,15 +73,19 @@ void app_debug_msg (const char *fmt, ...); // This callback is invoked when a user presses a key. // -void keyboardD(unsigned char /*key*/, int /*x*/, int /*y*/) { +void keyboardD(unsigned char key, int /*x*/, int /*y*/) { if (current_graphics_mode == MODE_FULLSCREEN) { set_mode(MODE_HIDE_GRAPHICS); + } else { + boinc_app_key_press((int) key, 0); } } -void keyboardU(unsigned char /*key*/, int /*x*/, int /*y*/) { +void keyboardU(unsigned char key, int /*x*/, int /*y*/) { if (current_graphics_mode == MODE_FULLSCREEN) { set_mode(MODE_HIDE_GRAPHICS); + } else { + boinc_app_key_press((int) key, 0); } } diff --git a/checkin_notes b/checkin_notes index 7ffe6a510d..b0f7dad8af 100755 --- a/checkin_notes +++ b/checkin_notes @@ -25937,3 +25937,9 @@ David 13 Mar 2005 David 13 Mar 2005 - db_dump: name archive dirs X_YYYY_mm_dd_hh_mm_ss + +David 14 Mar 2005 + - API: implement keyboard handling in X11 (from Eric Myers) + + api/ + x_opengl.C diff --git a/doc/client_files.php b/doc/client_files.php index feeecb2fcc..3fcab85718 100644 --- a/doc/client_files.php +++ b/doc/client_files.php @@ -29,7 +29,7 @@ The project directory contains all files (inputs, outputs, executables) related to the project.
  • slots: this directory contains one subdirectory for each -CPU 'slot' (normally there are as many slots as the host has CPUs). +result in progress. The subdirectories are named 0, 1, ... N-1.