diff options
author | epoch <epoch@hacking.allowed.org> | 2020-02-24 05:08:10 -0600 |
---|---|---|
committer | epoch <epoch@hacking.allowed.org> | 2020-02-24 05:08:10 -0600 |
commit | 34cceb3c31af84f00e28cbc5c0ddbefccfb54084 (patch) | |
tree | 5b9409df81872c8ae9aca6d94f4491acb6701687 /src | |
parent | 2fb350627ccb27cea9400da54e3c2dac0919211d (diff) | |
download | hackvr-34cceb3c31af84f00e28cbc5c0ddbefccfb54084.tar.gz hackvr-34cceb3c31af84f00e28cbc5c0ddbefccfb54084.zip |
made key presses not noisy into stderr anymore.
Diffstat (limited to 'src')
-rw-r--r-- | src/keyboard.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/keyboard.c b/src/keyboard.c index 7d38d09..50efd88 100644 --- a/src/keyboard.c +++ b/src/keyboard.c @@ -17,7 +17,7 @@ void keyboard_event_handler() { int e;//it is HVK_ values. positive or negative for press and release. 0 for nothing. while((e=get_keyboard_event())) { k=(e<0?-e:e);//absolute value - fprintf(stderr,"# key: %d\n",k); + //fprintf(stderr,"# key: %d\n",k); if(e < 0) { //key release keyboard_map[k]=-1; //update keyboard state map? |