| 197 | virtual bool GetDropFile(char *aBuf, int Len) = 0; |
| 198 | |
| 199 | ECursorType CursorRelative(float *pX, float *pY) |
| 200 | { |
| 201 | if(MouseRelative(pX, pY)) |
| 202 | return CURSOR_MOUSE; |
| 203 | IJoystick *pJoystick = GetActiveJoystick(); |
| 204 | if(pJoystick && pJoystick->Relative(pX, pY)) |
| 205 | return CURSOR_JOYSTICK; |
| 206 | return CURSOR_NONE; |
| 207 | } |
| 208 | }; |
| 209 | |
| 210 | class IEngineInput : public IInput |