[0.13.18] hotkey straight and modifer problem
Posted: Thu Aug 25, 2016 9:09 pm
Hi,
if I wrote something like that :
it seems that when I press ALT+b, the "b" event is fired.
Is it normal ?
EDIT : when I look in the oprions/control, it seems that the ALT+B event exists, but the seuqence key is undefined. I can define it manually and then it works.
if I wrote something like that :
Code: Select all
data:extend(
{
{
type = "custom-input",
name = "effic_hotkey_reset",
key_sequence = "ALT + b",
consuming = "script-only"
},
{
type = "custom-input",
name = "effic_hotkey_on_map",
key_sequence = "b",
consuming = "script-only"
},
}
)
Is it normal ?
EDIT : when I look in the oprions/control, it seems that the ALT+B event exists, but the seuqence key is undefined. I can define it manually and then it works.