diff options
author | Jens Ole Wund <bjornmose@gmx.net> | 2004-11-07 19:30:19 +0300 |
---|---|---|
committer | Jens Ole Wund <bjornmose@gmx.net> | 2004-11-07 19:30:19 +0300 |
commit | 23e8b982288699258c4bf4d7f5464f968b98d5cf (patch) | |
tree | 639799bcc14a878b346b84298058aabb9f57b354 /source | |
parent | c6c86b8df0c31456a3456a1b4ae9c8596e87c69a (diff) |
fix bug #1546
ghost was unaware of extra *<>* key on german keyboards on windows
Diffstat (limited to 'source')
-rw-r--r-- | source/blender/include/mydevice.h | 1 | ||||
-rw-r--r-- | source/blender/src/ghostwinlay.c | 4 |
2 files changed, 4 insertions, 1 deletions
diff --git a/source/blender/include/mydevice.h b/source/blender/include/mydevice.h index 1a8c2daeba5..b8832606c6d 100644 --- a/source/blender/include/mydevice.h +++ b/source/blender/include/mydevice.h @@ -187,6 +187,7 @@ #define UNKNOWNKEY 171 #define COMMANDKEY 172 +#define GRLESSKEY 173 /* used as fake leftmouse event, special handled in interface.c */ #define BUT_ACTIVATE 200 diff --git a/source/blender/src/ghostwinlay.c b/source/blender/src/ghostwinlay.c index ac80513e882..2e147dac8cf 100644 --- a/source/blender/src/ghostwinlay.c +++ b/source/blender/src/ghostwinlay.c @@ -267,7 +267,9 @@ static int convert_key(GHOST_TKey key) { case GHOST_kKeyNumpadMinus: return PADMINUS; case GHOST_kKeyNumpadAsterisk: return PADASTERKEY; case GHOST_kKeyNumpadSlash: return PADSLASHKEY; - + + case GHOST_kKeyGrLess: return GRLESSKEY; + case GHOST_kKeyUnknown: return UNKNOWNKEY; default: |