Is it possible to check that the left or right Shift key is pressed when dragging a file onto a GLFW window?
I’ve tried the following but unsurprisingly it didn’t work (because Shift wasn’t pressed in the GLFW window):
const bool shift_pressed = glfwGetKey(get_window(), GLFW_KEY_LEFT_SHIFT) == GLFW_PRESS || glfwGetKey(get_window(), GLFW_KEY_RIGHT_SHIFT) == GLFW_PRESS;
I suspect that the answer is that what I’m asking isn’t possible, but I hope to be wrong!
Thanks for a great library.