diff options
author | epoch <epoch@thebackupbox.net> | 2020-04-14 06:20:30 -0500 |
---|---|---|
committer | epoch <epoch@thebackupbox.net> | 2020-04-14 06:20:30 -0500 |
commit | 8115820489cb7f2d4952f94eb755d89b584fb242 (patch) | |
tree | c14909fa15b07dffd4df4f9fd725e3d804821a37 /src | |
parent | 1b57092b70e5a72ec948dd260745eec3c9230683 (diff) | |
download | hackvr-8115820489cb7f2d4952f94eb755d89b584fb242.tar.gz hackvr-8115820489cb7f2d4952f94eb755d89b584fb242.zip |
removed a comment, added a comment.
Diffstat (limited to 'src')
-rw-r--r-- | src/graphics_fb.h | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/src/graphics_fb.h b/src/graphics_fb.h index d6e8d7c..0c3a753 100644 --- a/src/graphics_fb.h +++ b/src/graphics_fb.h @@ -1,9 +1,6 @@ #ifndef _HACKVR_GRAPHICS_FB_H_ #define _HACKVR_GRAPHICS_FB_H_ -//find this with trial and error or X11 log or... I don't care. -#define FB_KEYB "/dev/input/event0" - #include <linux/input.h> #define DRAW_MODE_CLEAR 0x0 @@ -16,7 +13,7 @@ struct fb_global { int kb; int draw_mode; unsigned int current_color; - unsigned int *backbuf; + unsigned int *backbuf;//this is assuming unsigned int is 4 bytes and color depth is 32. struct fb_var_screeninfo info; unsigned int *buf; unsigned int fblen; |