Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAsher <ThatAsherGuy>2020-01-15 05:19:32 +0300
committerCampbell Barton <ideasman42@gmail.com>2020-01-15 05:23:23 +0300
commite400cfe6bb6e70ccae339494e76b5fd526a402ac (patch)
tree9db28d5d7dc9e4f2a22a31f3912d824750e953b0 /source/blender/makesrna/intern/rna_wm.c
parentf164ea6eaae541c76a8589837796d81df143c9ca (diff)
WM: support keys F20-F24
This was already supported by GHOST on X11, WIN32. macOS goes up to F20.
Diffstat (limited to 'source/blender/makesrna/intern/rna_wm.c')
-rw-r--r--source/blender/makesrna/intern/rna_wm.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/source/blender/makesrna/intern/rna_wm.c b/source/blender/makesrna/intern/rna_wm.c
index a57be90b08c..249581d22bf 100644
--- a/source/blender/makesrna/intern/rna_wm.c
+++ b/source/blender/makesrna/intern/rna_wm.c
@@ -302,6 +302,11 @@ const EnumPropertyItem rna_enum_event_type_items[] = {
{F17KEY, "F17", 0, "F17", ""},
{F18KEY, "F18", 0, "F18", ""},
{F19KEY, "F19", 0, "F19", ""},
+ {F20KEY, "F20", 0, "F20", ""},
+ {F21KEY, "F21", 0, "F21", ""},
+ {F22KEY, "F22", 0, "F22", ""},
+ {F23KEY, "F23", 0, "F23", ""},
+ {F24KEY, "F24", 0, "F24", ""},
{PAUSEKEY, "PAUSE", 0, "Pause", ""},
{INSERTKEY, "INSERT", 0, "Insert", "Ins"},
{HOMEKEY, "HOME", 0, "Home", ""},