mirror of
https://github.com/OpenTTD/OpenTTD.git
synced 2025-03-06 22:28:56 +00:00
(svn r154) -Fix: some people while using MSVC don't have VK_OEM_3 defined? Or it could be Win2000/XP only
This commit is contained in:
parent
4fec362b32
commit
ca67192520
4
win32.c
4
win32.c
@ -100,6 +100,10 @@ typedef struct {
|
|||||||
#define AS(x,z) {x,0,z}
|
#define AS(x,z) {x,0,z}
|
||||||
#define AM(x,y,z,w) {x,y-x,z}
|
#define AM(x,y,z,w) {x,y-x,z}
|
||||||
|
|
||||||
|
#ifndef VK_OEM_3
|
||||||
|
#define VK_OEM_3 0xC0
|
||||||
|
#endif
|
||||||
|
|
||||||
static const VkMapping _vk_mapping[] = {
|
static const VkMapping _vk_mapping[] = {
|
||||||
// Pageup stuff + up/down
|
// Pageup stuff + up/down
|
||||||
AM(VK_PRIOR,VK_DOWN, WKC_PAGEUP, WKC_DOWN),
|
AM(VK_PRIOR,VK_DOWN, WKC_PAGEUP, WKC_DOWN),
|
||||||
|
Loading…
Reference in New Issue
Block a user