aboutsummaryrefslogtreecommitdiff
path: root/src/cInput.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/cInput.cpp')
-rw-r--r--src/cInput.cpp5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/cInput.cpp b/src/cInput.cpp
index 891be1f..b11bbb5 100644
--- a/src/cInput.cpp
+++ b/src/cInput.cpp
@@ -64,6 +64,11 @@ sInputEvent cInput::poll()
ret.type = _EVENT_KEY;
}
}
+ else if(buff[0] == 'O')
+ {
+ ret.c = buff[1];
+ ret.type = _EVENT_FUNCTION1;
+ }
}
else
{