Free Electron
JoyI.h
Go to the documentation of this file.
1 /* Copyright (C) 2003-2021 Free Electron Organization
2  Any use of this software requires a license. If a valid license
3  was not distributed with this file, visit freeelectron.org. */
4 
5 /** @file */
6 
7 #ifndef __window_JoyI_h__
8 #define __window_JoyI_h__
9 
10 namespace fe
11 {
12 namespace ext
13 {
14 
15 /**************************************************************************//**
16  @brief Joystick event generator
17 
18  @ingroup window
19 *//***************************************************************************/
20 class FE_DL_EXPORT JoyI:
21  virtual public HandlerI,
22  public CastableAs<JoyI>
23 {
24  public:
25 
26  typedef enum
27  {
28  e_none= 0x00,
29  e_stick= 0x01,
30  e_wheel= 0x02,
31  e_pedals= 0x03,
32  } ControllerType;
33 
34 virtual ControllerType getControllerType(I32 a_joystickIndex) =0;
35 };
36 
37 } /* namespace ext */
38 } /* namespace fe */
39 
40 #endif /* __window_JoyI_h__ */
Joystick event generator.
Definition: JoyI.h:20
kernel
Definition: namespace.dox:3
Interface to handle signals from an SignalerI.
Definition: HandlerI.h:22
Per-class participation non-RTTI fallback dynamic casting mechanism.
Definition: Castable.h:192