EventHandlers use IsDeviceButton for filtering Keyevents to IMF 69/61069/5
authorAgnelo Vaz <agnelo.vaz@samsung.com>
Thu, 3 Mar 2016 18:03:12 +0000 (18:03 +0000)
committerdongsug.song <dongsug.song@samsung.com>
Tue, 8 Mar 2016 12:17:22 +0000 (21:17 +0900)
commitaae658c7ec1eff48e6e25b46b0cf04095f1e014b
tree01870b76adba5f532f7b833583dd93dbcd61c36c
parent859d9b48997f16af763ea6c9c9379c63a065f25c
EventHandlers use IsDeviceButton for filtering Keyevents to IMF

A comparison was being done with the Ecore KeyEvent and the lookup table in in Dali KeyLookup,
as there could be one to many mappings the first match was returned. Meant a following match that was needed got ignored.
Use IsDeviceButton now which returns true or false after checking whole KeyLookup table.

Change-Id: I0d888a641e700569d6a66106df52ccef01f86a1d
adaptors/ecore/wayland/event-handler-ecore-wl.cpp
adaptors/ecore/wayland/key-mapping-ecore-wl.cpp
adaptors/tv/key-mapping-tv.cpp
adaptors/ubuntu/key-mapping-ubuntu.cpp
adaptors/wayland/input/key-mapping-wl.cpp
adaptors/x11/ecore-x-event-handler.cpp
adaptors/x11/key-mapping-x.cpp
automated-tests/src/dali-adaptor/utc-Dali-Key.cpp
automated-tests/src/dali-adaptor/utc-Dali-KeyGrab.cpp