This is the closest thing to a 3rd party developers forum, so I'll have to ask it here even though it's not directly API related.
I am trying to simulate an "Open Galaxy Map" keycombo to send to Elite Dangerous to make it open the map.
I successfully have this working for various other ship functions. However, if the keycombo involves a modifier key like LeftAlt or LeftCtrl (like what I have bound for the galaxy map, LeftAlt+G) I cannot get Elite Dangerous to recognize the keypress.
I am sending a proper sequence of keys with SendInput: KeyDown(LeftAlt), KeyDown(G), Wait(100ms), KeyUp(G), KeyUp(LeftAlt).
I am sending these SendInput calls with the virtual key code for Alt (VK_MENU) as well as the correct scan code for LeftAlt (I know that ED only pays attention to the scan codes and ignores the higher level virtual key codes).
But when I actually execute these calls, Elite Dangerous will recognize the G keypress but will not recognize the Ctrl or Alt modifier.
Anyone successfully used SendInput to send keycombos to Elite Dangerous with Ctrl or Alt?
I am trying to simulate an "Open Galaxy Map" keycombo to send to Elite Dangerous to make it open the map.
I successfully have this working for various other ship functions. However, if the keycombo involves a modifier key like LeftAlt or LeftCtrl (like what I have bound for the galaxy map, LeftAlt+G) I cannot get Elite Dangerous to recognize the keypress.
I am sending a proper sequence of keys with SendInput: KeyDown(LeftAlt), KeyDown(G), Wait(100ms), KeyUp(G), KeyUp(LeftAlt).
I am sending these SendInput calls with the virtual key code for Alt (VK_MENU) as well as the correct scan code for LeftAlt (I know that ED only pays attention to the scan codes and ignores the higher level virtual key codes).
But when I actually execute these calls, Elite Dangerous will recognize the G keypress but will not recognize the Ctrl or Alt modifier.
Anyone successfully used SendInput to send keycombos to Elite Dangerous with Ctrl or Alt?