PEBL
2.2
Psychology Experiment Building Language - Cross-platform psychological experiment development system
validator/PlatformKeyboard.h
Go to the documentation of this file.
1
//* -*- mode:C++; tab-width:4; c-basic-offset:4; indent-tabs-mode:nil -*- */
2
#ifndef __VALIDATOR_PLATFORMKEYBOARD_H__
3
#define __VALIDATOR_PLATFORMKEYBOARD_H__
4
5
#include "../../devices/PKeyboard.h"
6
7
class
PlatformKeyboard
:
public
PKeyboard
{
8
public
:
9
PlatformKeyboard
();
10
virtual
~PlatformKeyboard
();
11
virtual
PEBL_Keycode
IsKeyDown
(
PEBL_Keycode
code)
const
;
12
virtual
bool
IsKeyUp
(
PEBL_Keycode
code)
const
;
13
protected
:
14
virtual
std::ostream&
SendToStream
(std::ostream& out)
const
;
15
};
16
17
#endif
PEBL_Keycode
PEBL_Keycode
Definition
PKeyboard.h:78
PKeyboard
Definition
PKeyboard.h:343
PlatformKeyboard
Definition
sdl/PlatformKeyboard.h:43
PlatformKeyboard::~PlatformKeyboard
virtual ~PlatformKeyboard()
PlatformKeyboard::IsKeyDown
virtual PEBL_Keycode IsKeyDown(PEBL_Keycode code) const
PlatformKeyboard::PlatformKeyboard
PlatformKeyboard()
PlatformKeyboard::SendToStream
virtual std::ostream & SendToStream(std::ostream &out) const
PlatformKeyboard::IsKeyUp
virtual bool IsKeyUp(PEBL_Keycode code) const
src
platforms
validator
PlatformKeyboard.h
Generated by
1.9.8