mirror of
https://github.com/hedge-dev/UnleashedRecomp.git
synced 2025-12-31 08:21:11 -06:00
hid: implemented button prohibition (#104)
This commit is contained in:
@@ -5,11 +5,18 @@
|
||||
hid::detail::EInputDevice hid::detail::g_inputDevice;
|
||||
hid::detail::EInputDevice hid::detail::g_inputDeviceController;
|
||||
|
||||
uint16_t hid::detail::g_prohibitedButtons;
|
||||
|
||||
void hid::Init()
|
||||
{
|
||||
detail::Init();
|
||||
}
|
||||
|
||||
void hid::SetProhibitedButtons(uint16_t wButtons)
|
||||
{
|
||||
hid::detail::g_prohibitedButtons = wButtons;
|
||||
}
|
||||
|
||||
uint32_t hid::GetState(uint32_t dwUserIndex, XAMINPUT_STATE* pState)
|
||||
{
|
||||
return detail::GetState(dwUserIndex, pState);
|
||||
|
||||
Reference in New Issue
Block a user