Fission FSN
Loading...
Searching...
No Matches
fsCInputManager.h
Go to the documentation of this file.
1/********************************************************************
2*
3* File: fsCInputManager.h
4*
5* Purpose: cocos2dx input manager impl
6*
7*********************************************************************/
8
9#ifndef fsCInputManagerhdr
10#define fsCInputManagerhdr
11
13
14
16{
17 friend class fsIInputManager;
18
19public:
20
21 fsS32 pointerTypeGet() const override;
23
24protected:
25
26 void pollKeys() override;
27
28 virtual void stolenInputDo()
29 {
30 }
31
32 void initialiseDo() override;
33 void uninitialiseDo() override;
34
37
38private:
39
40#ifdef fsDesktop
41 void mouseListenerCreate();
42#endif
43
44 fsBool keyDecodeDo(fsS32& pKeyCode);
45
46 void keyboardListenerCreate();
47
48 void touchListenerCreate();
49
50 std::map<fsS32, fsS64> mKeysDown;
51};
52
53#endif
Definition fsCInputManager.h:31
friend class fsIInputManager
Definition fsCInputManager.h:32
virtual ~fsCInputManager()
void uninitialiseDo() override
void pollKeys() override
fsBool hasPhysicalKeyboardGet() const override
fsBool keyDecodeDo(fsS32 &pKeyCode) override
Definition fsCInputManager.cpp:123
virtual void stolenInputDo()
Definition fsCInputManager.h:28
fsS32 pointerTypeGet() const override
void initialiseDo() override
Definition fsIInputManager.h:32
bool fsBool
Definition fsBaseTypes.h:26
int fsS32
Definition fsBaseTypes.h:20