M
Miethus Whillow
Guest
I have a generic key binding system for my game that uses the shift, alt, and control keys as a means of getting more functionality out of commonly pressed keys.
The problem is that any key bind that includes the "alt" key will make a loud windows error notification (default beep) even though the key binding itself works fine.
here's a snippet of my checkInput script:
if keyboard_check(vk_alt)
{
if keyboard_check_pressed(ord("3"))
{
myCommand = levelUp3;
return true;
}
}
Like I said, this bit of code actually does work, but it beeps anyway just for good measure. Just wondering if there's any way to fix that, or if I should just live without the alt key.
The problem is that any key bind that includes the "alt" key will make a loud windows error notification (default beep) even though the key binding itself works fine.
here's a snippet of my checkInput script:
if keyboard_check(vk_alt)
{
if keyboard_check_pressed(ord("3"))
{
myCommand = levelUp3;
return true;
}
}
Like I said, this bit of code actually does work, but it beeps anyway just for good measure. Just wondering if there's any way to fix that, or if I should just live without the alt key.