Changeset 1712 for trunk/src/platform/d3d9/d3d9input.cpp
- Timestamp:
- Aug 10, 2012, 2:15:31 PM (10 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/platform/d3d9/d3d9input.cpp
r1394 r1712 13 13 #endif 14 14 15 #if defined USE_ D3D915 #if defined USE_XINPUT 16 16 # include <d3d9.h> 17 17 # include <xinput.h> … … 33 33 34 34 private: 35 #if defined USE_ D3D935 #if defined USE_XINPUT 36 36 Array<int, Stick *> m_joysticks; 37 37 #endif … … 45 45 : m_data(new D3d9InputData()) 46 46 { 47 #if defined USE_ D3D947 #if defined USE_XINPUT 48 48 for (int i = 0; i < XUSER_MAX_COUNT; i++) 49 49 { … … 64 64 D3d9Input::~D3d9Input() 65 65 { 66 #if defined USE_ D3D966 #if defined USE_XINPUT 67 67 /* Unregister all the joysticks we added */ 68 68 while (m_data->m_joysticks.Count()) … … 84 84 Entity::TickDraw(seconds); 85 85 86 #if defined USE_ D3D986 #if defined USE_XINPUT 87 87 for (int i = 0; i < m_data->m_joysticks.Count(); i++) 88 88 {
Note: See TracChangeset
for help on using the changeset viewer.