mirror of
https://github.com/swift-project/pilotclient.git
synced 2026-04-06 09:57:06 +08:00
refs #403 add BlackInput shared library build
This commit is contained in:
@@ -12,6 +12,7 @@
|
||||
|
||||
//! \file
|
||||
|
||||
#include "blackinput/blackinputexport.h"
|
||||
#include "blackinput/joystick.h"
|
||||
#include "blackmisc/hardware/joystickbutton.h"
|
||||
#include "blackmisc/collection.h"
|
||||
@@ -46,7 +47,7 @@ namespace BlackInput
|
||||
bool operator == (CJoystickDeviceData const &lhs, CJoystickDeviceData const &rhs);
|
||||
|
||||
//! Windows implemenation of IJoystick with DirectInput
|
||||
class CJoystickWindows : public IJoystick
|
||||
class BLACKINPUT_EXPORT CJoystickWindows : public IJoystick
|
||||
{
|
||||
Q_OBJECT
|
||||
|
||||
|
||||
@@ -10,6 +10,7 @@
|
||||
#ifndef BLACKINPUT_KEYBOARD_WINDOWS_H
|
||||
#define BLACKINPUT_KEYBOARD_WINDOWS_H
|
||||
|
||||
#include "blackinput/blackinputexport.h"
|
||||
#include "blackinput/keyboard.h"
|
||||
#include "blackmisc/hardware/keyboardkey.h"
|
||||
#include "blackmisc/hardware/keyboardkeylist.h"
|
||||
@@ -23,7 +24,7 @@ namespace BlackInput
|
||||
{
|
||||
//! \brief Windows implemenation of IKeyboard using hook procedure
|
||||
//! \todo Change QHash to a CCollection object
|
||||
class CKeyboardWindows : public IKeyboard
|
||||
class BLACKINPUT_EXPORT CKeyboardWindows : public IKeyboard
|
||||
{
|
||||
Q_OBJECT
|
||||
public:
|
||||
|
||||
@@ -7,6 +7,7 @@
|
||||
#ifndef BLACKINPUT_KEYMAPPING_WINDOWS_H
|
||||
#define BLACKINPUT_KEYMAPPING_WINDOWS_H
|
||||
|
||||
#include "blackinput/blackinputexport.h"
|
||||
#include "blackmisc/hardware/keyboardkey.h"
|
||||
#ifndef NOMINMAX
|
||||
#define NOMINMAX
|
||||
@@ -16,7 +17,7 @@
|
||||
namespace BlackInput
|
||||
{
|
||||
//! \brief This class provides methods to map between windows virtual keys and CKeyboardKey
|
||||
class CKeyMappingWindows
|
||||
class BLACKINPUT_EXPORT CKeyMappingWindows
|
||||
{
|
||||
public:
|
||||
/*!
|
||||
|
||||
Reference in New Issue
Block a user