InputDeviceKeyboard.h

Go to the documentation of this file.
00001 
00005 /* Copyright © 2009 James Legg.
00006     This program is free software: you can redistribute it and/or modify
00007     it under the terms of the GNU General Public License as published by
00008     the Free Software Foundation, either version 3 of the License, or
00009     (at your option) any later version.
00010 */
00011 #ifndef INPUTDEVICEKEYBOARD_H_
00012 #define INPUTDEVICEKEYBOARD_H_
00013 
00014 #include "InputDevice.h"
00015 
00016 namespace Engine
00017 {
00018 
00031 class InputDeviceKeyboard : public Engine::InputDevice
00032 {
00033 public:
00034     InputDeviceKeyboard();
00035     ~InputDeviceKeyboard();
00036     int get_acceleration();
00037     int get_slide();
00038     int get_steering();
00039     void poll();
00040 private:
00041     bool accelerate_down, break_down, steer_left_down, steer_right_down,
00042         slide_left_down, slide_right_down;
00043 };
00044 
00045 }
00046 
00047 #endif /*INPUTDEVICEKEYBOARD_H_*/

Get Racer at SourceForge.net. Fast, secure and Free Open Source software downloads

Generated at Mon Sep 6 00:41:12 2010 by Doxygen version 1.4.7 for Racer version svn335.