Changed the screenshot key to F11 so that at least it works in Linux. Feel free to think of a better solution.
This commit is contained in:
@@ -694,7 +694,7 @@ bool HandleGlobalInputs( DeviceInput DeviceI, InputEventType type, GameInput Gam
|
|||||||
#ifndef DARWIN
|
#ifndef DARWIN
|
||||||
/* XXX: Er, this doesn't work; Windows traps this key and takes a screenshot
|
/* XXX: Er, this doesn't work; Windows traps this key and takes a screenshot
|
||||||
* into the clipboard. I don't want to disable that, though; it's useful. */
|
* into the clipboard. I don't want to disable that, though; it's useful. */
|
||||||
if(DeviceI == DeviceInput(DEVICE_KEYBOARD, SDLK_SYSREQ))
|
if(DeviceI == DeviceInput(DEVICE_KEYBOARD, SDLK_F11))
|
||||||
#else
|
#else
|
||||||
if(DeviceI == DeviceInput(DEVICE_KEYBOARD, SDLK_KP_MULTIPLY))
|
if(DeviceI == DeviceInput(DEVICE_KEYBOARD, SDLK_KP_MULTIPLY))
|
||||||
#endif
|
#endif
|
||||||
|
|||||||
Reference in New Issue
Block a user