mirror of
https://github.com/hedge-dev/UnleashedRecomp.git
synced 2026-01-02 01:30:25 -06:00
18 lines
397 B
C++
18 lines
397 B
C++
#include "hid.h"
|
|
|
|
hid::EInputDevice hid::g_inputDevice;
|
|
hid::EInputDevice hid::g_inputDeviceController;
|
|
|
|
uint16_t hid::g_prohibitedButtons;
|
|
|
|
void hid::SetProhibitedButtons(uint16_t wButtons)
|
|
{
|
|
hid::g_prohibitedButtons = wButtons;
|
|
}
|
|
|
|
bool hid::IsInputDeviceController()
|
|
{
|
|
return hid::g_inputDevice != hid::EInputDevice::Keyboard &&
|
|
hid::g_inputDevice != hid::EInputDevice::Mouse;
|
|
}
|