From 22061f63b0ae2254d569b3c9f2d28f1add39ab1c Mon Sep 17 00:00:00 2001 From: Felix Domke Date: Mon, 16 May 2005 15:17:53 +0000 Subject: - autodetect available input devices - fix flag support - fix keymap: listbox moveUp/moveDown --- lib/actions/action.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'lib/actions') diff --git a/lib/actions/action.cpp b/lib/actions/action.cpp index c538bd48..26eba7a4 100644 --- a/lib/actions/action.cpp +++ b/lib/actions/action.cpp @@ -143,7 +143,7 @@ void eActionMap::keyPressed(int device, int key, int flags) if ( // (k->second.m_device == m_device) && (k->second.m_key == key) && - ((k->second.m_flags & flags)==flags)) + (k->second.m_flags & (1<second.m_widget->event(eWidget::evtAction, 0, (void*)k->second.m_action)) return; @@ -160,7 +160,7 @@ void eActionMap::keyPressed(int device, int key, int flags) if ( // (k->second.m_device == m_device) && (k->second.m_key == key) && - ((k->second.m_flags & flags)==flags)) + (k->second.m_flags & (1<first.c_str())); -- cgit v1.2.3