reference

This documentation is automatically generated from the openFrameworks source code using doxygen and refers to the most recent release, version 0.12.0.

ofAppEGLWindow.cpp File Reference
#include "ofAppEGLWindow.h"
#include "ofGraphics.h"
#include "ofAppRunner.h"
#include "ofUtils.h"
#include "ofFileUtils.h"
#include "ofGLProgrammableRenderer.h"
#include "ofGLRenderer.h"
#include "ofVectorMath.h"
#include <assert.h>
#include <X11/Xutil.h>
#include <EGL/egl.h>
#include <libudev.h>
#include <stdbool.h>
#include <stdio.h>
#include <stdlib.h>
#include <math.h>
#include <fcntl.h>
#include <unistd.h>
#include <linux/joystick.h>
#include "linux/kd.h"
#include "termios.h"
#include "sys/ioctl.h"
#include <string.h>
#include <X11/XKBlib.h>

Classes

struct  KeyboardState
 
struct  MouseState
 

Macros

#define MOUSE_BUTTON_LEFT_MASK   1
 
#define MOUSE_BUTTON_MIDDLE_MASK   1 << 1
 
#define MOUSE_BUTTON_RIGHT_MASK   2 << 1
 
#define MOUSE_CURSOR_RUN_LENGTH_DECODE(image_buf, rle_data, size, bpp)
 
#define CASE_STR(x, y)   case x: str = y; break
 

Typedefs

typedef map< string, int > device
 
typedef map< int, int > TouchState
 
typedef map< int, ofVec2fTouchPosition
 

Variables

struct udev * udev
 
struct udev_monitor * mon
 
const int lowercase_map []
 
const int uppercase_map []
 

Macro Definition Documentation

◆ CASE_STR

#define CASE_STR (   x,
 
)    case x: str = y; break

◆ MOUSE_BUTTON_LEFT_MASK

#define MOUSE_BUTTON_LEFT_MASK   1

◆ MOUSE_BUTTON_MIDDLE_MASK

#define MOUSE_BUTTON_MIDDLE_MASK   1 << 1

◆ MOUSE_BUTTON_RIGHT_MASK

#define MOUSE_BUTTON_RIGHT_MASK   2 << 1

◆ MOUSE_CURSOR_RUN_LENGTH_DECODE

#define MOUSE_CURSOR_RUN_LENGTH_DECODE (   image_buf,
  rle_data,
  size,
  bpp 
)
Value:
do \
{ unsigned int __bpp; unsigned char *__ip; const unsigned char *__il, *__rd; \
__bpp = (bpp); __ip = (image_buf); __il = __ip + (size) * __bpp; \
__rd = (rle_data); \
while (__ip < __il) { unsigned int __l = *(__rd++); \
if (__l & 128) { __l = __l - 128; \
do { memcpy (__ip, __rd, 4); __ip += 4; } while (--__l); __rd += 4; \
} else { __l *= 4; memcpy (__ip, __rd, __l); \
__ip += __l; __rd += __l; } } \
} while (0)
unsigned int bpp
Definition ofAppEGLWindow.cpp:126

Typedef Documentation

◆ device

typedef map<string, int> device

◆ TouchPosition

typedef map<int, ofVec2f> TouchPosition

◆ TouchState

typedef map<int, int> TouchState

Variable Documentation

◆ bpp

unsigned int bpp

◆ height

unsigned int height

◆ lowercase_map

const int lowercase_map[]
Initial value:
= {
0, 0, '1', '2', '3', '4', '5', '6', '7', '8', '9', '0',
'-', '=', '\b', '\t', 'q', 'w', 'e', 'r', 't', 'y', 'u', 'i',
'o', 'p', '[', ']', '\n', 0, 'a', 's', 'd', 'f', 'g', 'h',
'j', 'k', 'l', ';', '\'', '\n', 0, '\\', 'z', 'x', 'c', 'v',
'b', 'n', 'm', ',', '.', '/', 0, '*', 0, ' ', 0, 0,
0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, '\r'
}

◆ mon

struct udev_monitor* mon

◆ rle_pixel_data

unsigned char rle_pixel_data[382+1]

◆ udev

struct udev* udev

◆ uppercase_map

const int uppercase_map[]
Initial value:
= {
0, 0, '!', '@', '#', '$', '%', '^', '&', '*', '(', ')',
'_', '+', '\b', '\t', 'Q', 'W', 'E', 'R', 'T', 'Y', 'U', 'I',
'O', 'P', '{', '}', '\n', 0, 'A', 'S', 'D', 'F', 'G', 'H',
'J', 'K', 'L', ':', '"', '\n', 0, '\\', 'Z', 'X', 'C', 'V',
'B', 'N', 'M', '<', '>', '?', 0, '*', 0, ' ', 0, 0,
0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, '\r'
}

◆ width

unsigned int width