projects
/
platform
/
core
/
uifw
/
ise-default.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
996e371
)
Fix the cap mode problem in wearable equipment.
55/205455/3
author
Xie Ligang
<ligang0.xie@samsung.com>
Mon, 6 May 2019 04:00:03 +0000
(12:00 +0800)
committer
Jihoon Kim
<jihoon48.kim@samsung.com>
Tue, 7 May 2019 01:34:04 +0000
(10:34 +0900)
Change-Id: I8342ed7fc0843cbd666f57ed8d625237efb8d2ce
src/ise.cpp
patch
|
blob
|
history
diff --git
a/src/ise.cpp
b/src/ise.cpp
index
0f59191
..
bc7d5be
100644
(file)
--- a/
src/ise.cpp
+++ b/
src/ise.cpp
@@
-313,6
+313,11
@@
static void set_caps_mode(sclboolean mode) {
if (g_ui->get_shift_state() != SCL_SHIFT_STATE_LOCK) {
g_ui->set_shift_state(mode ? SCL_SHIFT_STATE_ON : SCL_SHIFT_STATE_OFF);
g_ui->set_autocapital_shift_state(!mode);
+ if (mode) {
+ ise_send_event(MVK_Shift_On, KEY_MASK_NULL);
+ } else {
+ ise_send_event(MVK_Shift_Off, KEY_MASK_NULL);
+ }
}
}
}