2 #ifndef GAINPUTINPUTLISTENER_H_ 3 #define GAINPUTINPUTLISTENER_H_ 22 virtual bool OnDeviceButtonBool(
DeviceId device,
DeviceButtonId deviceButton,
bool oldValue,
bool newValue) { GAINPUT_UNUSED(device); GAINPUT_UNUSED(deviceButton); GAINPUT_UNUSED(oldValue); GAINPUT_UNUSED(newValue);
return true; }
32 virtual bool OnDeviceButtonFloat(
DeviceId device,
DeviceButtonId deviceButton,
float oldValue,
float newValue) { GAINPUT_UNUSED(device); GAINPUT_UNUSED(deviceButton); GAINPUT_UNUSED(oldValue); GAINPUT_UNUSED(newValue);
return true; }
55 virtual bool OnUserButtonBool(
UserButtonId userButton,
bool oldValue,
bool newValue) { GAINPUT_UNUSED(userButton); GAINPUT_UNUSED(oldValue); GAINPUT_UNUSED(newValue);
return true; }
64 virtual bool OnUserButtonFloat(
UserButtonId userButton,
float oldValue,
float newValue) { GAINPUT_UNUSED(userButton); GAINPUT_UNUSED(oldValue); GAINPUT_UNUSED(newValue);
return true; }