Address a few more review things

Signed-off-by: nvsickle <nvsickle@amazon.com>
This commit is contained in:
nvsickle
2021-07-02 15:26:16 -07:00
parent 049ef81fe9
commit 4babf69361
6 changed files with 41 additions and 7 deletions
@@ -747,7 +747,7 @@ namespace AzFramework
return button == inputChannelId;
});
// Accept active mouse channel updates, inactive movement channels will just have a 0 delta.
// accept active mouse channel updates, inactive movement channels will just have a 0 delta
if (inputChannel.IsActive())
{
if (inputChannelId == InputDeviceMouse::Movement::X)
@@ -763,6 +763,7 @@ namespace AzFramework
return ScrollEvent{ inputChannel.GetValue() };
}
}
if (wasMouseButton || InputDeviceKeyboard::IsKeyboardDevice(inputDeviceId))
{
return DiscreteInputEvent{ inputChannelId, inputChannel.GetState() };