diff src/win32/Input.h @ 1:f9f4f1b99eed

importing src directory
author Robert McIntyre <rlm@mit.edu>
date Sat, 03 Mar 2012 10:31:27 -0600
parents
children
line wrap: on
line diff
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/src/win32/Input.h	Sat Mar 03 10:31:27 2012 -0600
     1.3 @@ -0,0 +1,30 @@
     1.4 +#ifndef VBA_WIN32_INPUT_H
     1.5 +#define VBA_WIN32_INPUT_H
     1.6 +
     1.7 +#if _MSC_VER > 1000
     1.8 +#pragma once
     1.9 +#endif // _MSC_VER > 1000
    1.10 +
    1.11 +#include "../common/inputGlobal.h"
    1.12 +
    1.13 +#define JOYCONFIG_MESSAGE (WM_USER + 1000)
    1.14 +
    1.15 +class Input
    1.16 +{
    1.17 +public:
    1.18 +	Input() {};
    1.19 +	virtual ~Input() {};
    1.20 +
    1.21 +	virtual bool initialize() = 0;
    1.22 +
    1.23 +	virtual bool readDevices() = 0;
    1.24 +	virtual u32 readDevice(int which, bool sensor) = 0;
    1.25 +	virtual CString getKeyName(LONG_PTR key) = 0;
    1.26 +	virtual void checkKeys()    = 0;
    1.27 +	virtual void checkDevices() = 0;
    1.28 +	virtual void activate()     = 0;
    1.29 +	virtual void loadSettings() = 0;
    1.30 +	virtual void saveSettings() = 0;
    1.31 +};
    1.32 +
    1.33 +#endif