diff options
author | epoch <epoch@hack.thebackupbox.net> | 2020-04-14 11:50:30 +0000 |
---|---|---|
committer | epoch <epoch@hack.thebackupbox.net> | 2020-04-14 11:50:30 +0000 |
commit | 459bff40e078a3979573000a903b288bcc9a8d3f (patch) | |
tree | cd8e75a66129042803729924352de80d7a5f5041 /src/graphics_fb.h | |
parent | ede4c08f4f15a516a748f8ed89b4f6b06b845c2a (diff) | |
parent | 9f5c79eff1a3fae473bbdd12afcb77875d8548af (diff) | |
download | hackvr-459bff40e078a3979573000a903b288bcc9a8d3f.tar.gz hackvr-459bff40e078a3979573000a903b288bcc9a8d3f.zip |
Merge branch 'master' of /var/git/hackvr
Diffstat (limited to 'src/graphics_fb.h')
-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; |