anoyn
11-11-2015, 12:41 AM
Bug Report
Operating System:
Windows 7 x64
Short Description:
Hotkey: wrong ctr/sh key state
Behaviors:
Feature error
Indepth Description:
Hotkey state is not reset when shift or control are released.
Example:
1. Press shift
2. Release shift
3. Wait an hour
4. Press a hotkey (ex; home)
You pressed home + shift
for name, value in pairs(Hotkeys) do
if (type(value) == "number") then
if (not Hotkeys.Register(value)) then
print("Failed to register hotkey %d", value)
end
end
end
function pressHandler(key, control, shift)
print("Pressed %d, %s, %s", key, control and "Control DOWN" or "Control UP", shift and "Shift DOWN" or "Shift UP")
end
Hotkeys.AddPressHandler(pressHandler)
Operating System:
Windows 7 x64
Short Description:
Hotkey: wrong ctr/sh key state
Behaviors:
Feature error
Indepth Description:
Hotkey state is not reset when shift or control are released.
Example:
1. Press shift
2. Release shift
3. Wait an hour
4. Press a hotkey (ex; home)
You pressed home + shift
for name, value in pairs(Hotkeys) do
if (type(value) == "number") then
if (not Hotkeys.Register(value)) then
print("Failed to register hotkey %d", value)
end
end
end
function pressHandler(key, control, shift)
print("Pressed %d, %s, %s", key, control and "Control DOWN" or "Control UP", shift and "Shift DOWN" or "Shift UP")
end
Hotkeys.AddPressHandler(pressHandler)