diff options
author | Campbell Barton <ideasman42@gmail.com> | 2011-10-20 09:30:26 +0400 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2011-10-20 09:30:26 +0400 |
commit | 9bbec84e7e14f11f86baeaea6a9a2bce6b7499de (patch) | |
tree | 0aade91288c4ccdc4cd4e1e0749b5b07474b1a17 /intern/ghost/GHOST_Types.h | |
parent | 8e58fceab1452fc914e0fe88aaf7ecc80ea9bdb6 (diff) |
initial support for unicode keyboard input for ghost & blenders WM.
- currently X11 only, depends on Xinput (but should not break other os's).
- ghost stores utf8 buffer, copies to wmEvent's
- UI text input is currently the only area that uses this - not console or text editor.
- no rna access yet.
Diffstat (limited to 'intern/ghost/GHOST_Types.h')
-rw-r--r-- | intern/ghost/GHOST_Types.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/intern/ghost/GHOST_Types.h b/intern/ghost/GHOST_Types.h index dd399a7aa95..78fc3f69c7a 100644 --- a/intern/ghost/GHOST_Types.h +++ b/intern/ghost/GHOST_Types.h @@ -468,6 +468,7 @@ typedef struct { GHOST_TKey key; /** The ascii code for the key event ('\0' if none). */ char ascii; + char utf8_buf[6]; } GHOST_TEventKeyData; typedef struct { |