From 7fd1401d915ee91c808695ca1f3647ca7a258a1f Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Sun, 10 Sep 2017 01:11:39 +0300 Subject: Allow trigger input action on key press or/and release. By default all actions triggered on press key. --- src/enums/input/inputcondition.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src/enums') diff --git a/src/enums/input/inputcondition.h b/src/enums/input/inputcondition.h index c658dfca8..a53aec86c 100644 --- a/src/enums/input/inputcondition.h +++ b/src/enums/input/inputcondition.h @@ -47,6 +47,8 @@ namespace InputCondition NOVENDING = 65536, // vending disabled NOROOM = 131072, // not joined room NOBLOCK = 262144, // no blocked move (trick dead) + KEY_DOWN = 524288, // key press allowed + KEY_UP = 1048576, // key release allowed SHORTCUT = 2 + 4 + 16 + 512 + 2048, // flags for shortcut keys SHORTCUT0 = 2 + 4 + 16 + 512, // flags for shortcut keys GAME = 2 + 4 + 8 + 16 + 64 + 2048, // main game key -- cgit v1.2.3-60-g2f50