CPInput
org.cosplay.CPInput
trait CPInput
Interface for the external input devices such as joysticks and game pads.
You can add support for such devices by calling CPEngine.addInput and CPEngine.removeInput methods on the game engine. Note that keyboard support is built into CosPlay and you don't need to do anything additional to access it. This interface is designed to add additional external input devices that are not automatically supported by CosPlay.
Attributes
- See also:
- Source:
- CPInput.scala
- Graph
- Supertypes
- class Objecttrait Matchableclass Any