Changes between Version 6 and Version 7 of code/doc/Input
- Timestamp:
- Sep 15, 2008, 11:08:52 PM (16 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
code/doc/Input
v6 v7 5 5 This page describes how various user input (keyboard, mouse or joy stick) is being processed. Our goal was to develop a generic implementation that allows to use the input in many different and independent ways. As an example it should not matter to a program whether a mouse button or a key has been pressed. [[br]] 6 6 In order to capture input in the first place, we decided not to reinvent the wheel and use a cross platform library instead: [wiki: OIS]. It provides all the features we need to steear a 3D game. 7 8 == Classes involved == 9 || Name || Description || 10 || || || 11 || [wiki:InputHandler] || Actual input processor base classes || 12 || [wiki:InputManager] || Input preprocessing and distribution to states || 13 || [wiki:InputState] || Redistribution to InputHandlers || 14 || [wiki:KeyBinder] || Maps keys to commands || 15 || [wiki:OIS] || Object Oriented input library || 16 || [wiki:OutputBuffer] || Stores text input stream like || 7 17 8 18 == Capturing and distributing the input ==