From 8115820489cb7f2d4952f94eb755d89b584fb242 Mon Sep 17 00:00:00 2001 From: epoch Date: Tue, 14 Apr 2020 06:20:30 -0500 Subject: removed a comment, added a comment. --- src/graphics_fb.h | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) (limited to 'src/graphics_fb.h') 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 #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; -- cgit v1.2.3