[ncpp] express EvType enums
parent
8fc2a4b59b
commit
66d6913b69
@ -0,0 +1,16 @@
|
||||
#ifndef __NCPP_INPUT_HH
|
||||
#define __NCPP_INPUT_HH
|
||||
|
||||
#include <notcurses/notcurses.h>
|
||||
|
||||
namespace ncpp
|
||||
{
|
||||
struct EvType
|
||||
{
|
||||
static constexpr unsigned Silent = ncinput::NCTYPE_UNKNOWN;
|
||||
static constexpr unsigned Press = ncinput::NCTYPE_PRESS;
|
||||
static constexpr unsigned Repeat = ncinput::NCTYPE_REPEAT;
|
||||
static constexpr unsigned Release = ncinput::NCTYPE_RELEASE;
|
||||
};
|
||||
}
|
||||
#endif
|
Loading…
Reference in New Issue