Functions | Variables
demo/common/keyboard.cpp File Reference
#include "keyboard.h"
#include <termios.h>
#include <unistd.h>
Include dependency graph for demo/common/keyboard.cpp:

Go to the source code of this file.

Functions

int _getch ()
 
void close_keyboard ()
 
void init_keyboard ()
 
int kbhit ()
 
int readch ()
 

Variables

static struct termios initial_settings new_settings
 
static int peek_character = -1
 

Function Documentation

int _getch ( )

Definition at line 58 of file demo/common/keyboard.cpp.

void close_keyboard ( void  )

Definition at line 20 of file demo/common/keyboard.cpp.

void init_keyboard ( void  )

Definition at line 8 of file demo/common/keyboard.cpp.

int kbhit ( void  )

Definition at line 25 of file demo/common/keyboard.cpp.

int readch ( void  )

Definition at line 44 of file demo/common/keyboard.cpp.

Variable Documentation

struct termios initial_settings new_settings
static

Definition at line 5 of file demo/common/keyboard.cpp.

int peek_character = -1
static

Definition at line 6 of file demo/common/keyboard.cpp.



kni
Author(s): Martin Günther
autogenerated on Fri Jan 3 2020 04:01:17