If skin is general-purpose, hwkey is searched at controllerKeyList additionaly.
Change-Id: I56847b917a64870399db65a37e851434bcf03ede
Signed-off-by: sungmin ha <sungmin82.ha@samsung.com>
}
if (index == hwKeyList.count()) {
- qWarning() << item << "is not exist in KeyList";
+ for (index = 0; index < controllerKeyList.count(); index++) {
+ if (controllerKeyList.at(index)->name.compare(item) == 0) {
+ keyCode = controllerKeyList.at(index)->keycode;
+ break;
+ }
+ }
+
+ if (index == controllerKeyList.count()) {
+ qWarning() << item << "is not exist in KeyList";
+ }
}
return keyCode;