author | alwin <alwin> | 2005-03-15 11:24:43 (UTC) |
---|---|---|
committer | alwin <alwin> | 2005-03-15 11:24:43 (UTC) |
commit | 90d940ea8244140b25552bb8a28eacb7d3db01e8 (patch) (unidiff) | |
tree | 5de47f91c534f8c034f101ee6344af104d4cd31d /core/launcher/serverapp.h | |
parent | 81989dcd316065c2e72ecf43fc2cb8bfbf82763f (diff) | |
download | opie-90d940ea8244140b25552bb8a28eacb7d3db01e8.zip opie-90d940ea8244140b25552bb8a28eacb7d3db01e8.tar.gz opie-90d940ea8244140b25552bb8a28eacb7d3db01e8.tar.bz2 |
setup a workaround for missing autorepeat flag on specialbuttons.
eg, keyfilter of serverapp stores the last pressed button itself and checks
against holdtime and releases itself. on c7x0/c8x0 it works with 2.6 kernel
cause keys are repeated without this flag - on 2.4 kernel I don't know
what happen (may that keys are not repeated)
-rw-r--r-- | core/launcher/serverapp.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/core/launcher/serverapp.h b/core/launcher/serverapp.h index 27be28b..98c5633 100644 --- a/core/launcher/serverapp.h +++ b/core/launcher/serverapp.h | |||
@@ -82,5 +82,5 @@ private: | |||
82 | bool keyRegistered( int key ); | 82 | bool keyRegistered( int key ); |
83 | int held_tid; | 83 | int held_tid; |
84 | const Opie::Core::ODeviceButton* heldButton; | 84 | const Opie::Core::ODeviceButton* heldButton,*firedHeldButton; |
85 | KeyRegisterList m_keys; | 85 | KeyRegisterList m_keys; |
86 | }; | 86 | }; |