PEBL 2.2
Psychology Experiment Building Language - Cross-platform psychological experiment development system
validator/PlatformKeyboard.cpp
Go to the documentation of this file.
1//* -*- mode:C++; tab-width:4; c-basic-offset:4; indent-tabs-mode:nil -*- */
2#include "PlatformKeyboard.h"
3
6
8 return PEBL_KEYCODE_NOTHING; // No keys pressed in validator mode
9}
10
12 return true; // All keys always up in validator mode
13}
14
15std::ostream& PlatformKeyboard::SendToStream(std::ostream& out) const {
16 out << "PlatformKeyboard (validator)";
17 return out;
18}
PEBL_Keycode
Definition PKeyboard.h:78
@ PEBL_KEYCODE_NOTHING
Definition PKeyboard.h:331
virtual std::ostream & SendToStream(std::ostream &out) const
virtual ~PlatformKeyboard()
Standard Destructor.
virtual bool IsKeyUp(PEBL_Keycode key) const
PlatformKeyboard()
Standard Constructor.
virtual PEBL_Keycode IsKeyDown(PEBL_Keycode key) const
Primitive key event poller.