diff options
author | Jaeun Choi <jaeun12.choi@samsung.com> | 2015-02-12 19:15:57 +0900 |
---|---|---|
committer | Jaeun Choi <jaeun12.choi@samsung.com> | 2015-02-12 19:15:57 +0900 |
commit | 8494d93b0d10a94da18b5facdddaa6a5eeb18c20 (patch) | |
tree | f92a59ee2618dc68af651bca3d49956a741fbf7e /config | |
parent | fdd222c78e73481125d881a912794f0364212ab4 (diff) |
gengrid: select the focused item on enter key input
there was no way to select an item with key input on ELM_ITEM_SELECT_ON_FOCUS_DISABLE mode.
this patch enables select and multi select with enter/space key input.
@fix
Diffstat (limited to 'config')
-rw-r--r-- | config/default/base.src.in | 54 | ||||
-rw-r--r-- | config/mobile/base.src.in | 54 | ||||
-rw-r--r-- | config/standard/base.src.in | 54 |
3 files changed, 162 insertions, 0 deletions
diff --git a/config/default/base.src.in b/config/default/base.src.in index 78b387395..9208ed310 100644 --- a/config/default/base.src.in +++ b/config/default/base.src.in | |||
@@ -1046,18 +1046,72 @@ group "Elm_Config" struct { | |||
1046 | value "key" string: "Return"; | 1046 | value "key" string: "Return"; |
1047 | value "action" string: "select"; | 1047 | value "action" string: "select"; |
1048 | value "params" string: ""; | 1048 | value "params" string: ""; |
1049 | group "modifiers" list { | ||
1050 | group "Elm_Config_Binding_Modifier" struct { | ||
1051 | value "mod" string: "Control"; | ||
1052 | value "flag" uchar: 0; | ||
1053 | } | ||
1054 | } | ||
1049 | } | 1055 | } |
1050 | group "Elm_Config_Binding_Key" struct { | 1056 | group "Elm_Config_Binding_Key" struct { |
1051 | value "context" int: 0; | 1057 | value "context" int: 0; |
1052 | value "key" string: "KP_Enter"; | 1058 | value "key" string: "KP_Enter"; |
1053 | value "action" string: "select"; | 1059 | value "action" string: "select"; |
1054 | value "params" string: ""; | 1060 | value "params" string: ""; |
1061 | group "modifiers" list { | ||
1062 | group "Elm_Config_Binding_Modifier" struct { | ||
1063 | value "mod" string: "Control"; | ||
1064 | value "flag" uchar: 0; | ||
1065 | } | ||
1066 | } | ||
1055 | } | 1067 | } |
1056 | group "Elm_Config_Binding_Key" struct { | 1068 | group "Elm_Config_Binding_Key" struct { |
1057 | value "context" int: 0; | 1069 | value "context" int: 0; |
1058 | value "key" string: "space"; | 1070 | value "key" string: "space"; |
1059 | value "action" string: "select"; | 1071 | value "action" string: "select"; |
1060 | value "params" string: ""; | 1072 | value "params" string: ""; |
1073 | group "modifiers" list { | ||
1074 | group "Elm_Config_Binding_Modifier" struct { | ||
1075 | value "mod" string: "Control"; | ||
1076 | value "flag" uchar: 0; | ||
1077 | } | ||
1078 | } | ||
1079 | } | ||
1080 | group "Elm_Config_Binding_Key" struct { | ||
1081 | value "context" int: 0; | ||
1082 | value "key" string: "Return"; | ||
1083 | value "action" string: "select"; | ||
1084 | value "params" string: "multi"; | ||
1085 | group "modifiers" list { | ||
1086 | group "Elm_Config_Binding_Modifier" struct { | ||
1087 | value "mod" string: "Control"; | ||
1088 | value "flag" uchar: 1; | ||
1089 | } | ||
1090 | } | ||
1091 | } | ||
1092 | group "Elm_Config_Binding_Key" struct { | ||
1093 | value "context" int: 0; | ||
1094 | value "key" string: "KP_Enter"; | ||
1095 | value "action" string: "select"; | ||
1096 | value "params" string: "multi"; | ||
1097 | group "modifiers" list { | ||
1098 | group "Elm_Config_Binding_Modifier" struct { | ||
1099 | value "mod" string: "Control"; | ||
1100 | value "flag" uchar: 1; | ||
1101 | } | ||
1102 | } | ||
1103 | } | ||
1104 | group "Elm_Config_Binding_Key" struct { | ||
1105 | value "context" int: 0; | ||
1106 | value "key" string: "space"; | ||
1107 | value "action" string: "select"; | ||
1108 | value "params" string: "multi"; | ||
1109 | group "modifiers" list { | ||
1110 | group "Elm_Config_Binding_Modifier" struct { | ||
1111 | value "mod" string: "Control"; | ||
1112 | value "flag" uchar: 1; | ||
1113 | } | ||
1114 | } | ||
1061 | } | 1115 | } |
1062 | group "Elm_Config_Binding_Key" struct { | 1116 | group "Elm_Config_Binding_Key" struct { |
1063 | value "context" int: 0; | 1117 | value "context" int: 0; |
diff --git a/config/mobile/base.src.in b/config/mobile/base.src.in index 127c8a923..fa1549981 100644 --- a/config/mobile/base.src.in +++ b/config/mobile/base.src.in | |||
@@ -1050,18 +1050,72 @@ group "Elm_Config" struct { | |||
1050 | value "key" string: "Return"; | 1050 | value "key" string: "Return"; |
1051 | value "action" string: "select"; | 1051 | value "action" string: "select"; |
1052 | value "params" string: ""; | 1052 | value "params" string: ""; |
1053 | group "modifiers" list { | ||
1054 | group "Elm_Config_Binding_Modifier" struct { | ||
1055 | value "mod" string: "Control"; | ||
1056 | value "flag" uchar: 0; | ||
1057 | } | ||
1058 | } | ||
1053 | } | 1059 | } |
1054 | group "Elm_Config_Binding_Key" struct { | 1060 | group "Elm_Config_Binding_Key" struct { |
1055 | value "context" int: 0; | 1061 | value "context" int: 0; |
1056 | value "key" string: "KP_Enter"; | 1062 | value "key" string: "KP_Enter"; |
1057 | value "action" string: "select"; | 1063 | value "action" string: "select"; |
1058 | value "params" string: ""; | 1064 | value "params" string: ""; |
1065 | group "modifiers" list { | ||
1066 | group "Elm_Config_Binding_Modifier" struct { | ||
1067 | value "mod" string: "Control"; | ||
1068 | value "flag" uchar: 0; | ||
1069 | } | ||
1070 | } | ||
1059 | } | 1071 | } |
1060 | group "Elm_Config_Binding_Key" struct { | 1072 | group "Elm_Config_Binding_Key" struct { |
1061 | value "context" int: 0; | 1073 | value "context" int: 0; |
1062 | value "key" string: "space"; | 1074 | value "key" string: "space"; |
1063 | value "action" string: "select"; | 1075 | value "action" string: "select"; |
1064 | value "params" string: ""; | 1076 | value "params" string: ""; |
1077 | group "modifiers" list { | ||
1078 | group "Elm_Config_Binding_Modifier" struct { | ||
1079 | value "mod" string: "Control"; | ||
1080 | value "flag" uchar: 0; | ||
1081 | } | ||
1082 | } | ||
1083 | } | ||
1084 | group "Elm_Config_Binding_Key" struct { | ||
1085 | value "context" int: 0; | ||
1086 | value "key" string: "Return"; | ||
1087 | value "action" string: "select"; | ||
1088 | value "params" string: "multi"; | ||
1089 | group "modifiers" list { | ||
1090 | group "Elm_Config_Binding_Modifier" struct { | ||
1091 | value "mod" string: "Control"; | ||
1092 | value "flag" uchar: 1; | ||
1093 | } | ||
1094 | } | ||
1095 | } | ||
1096 | group "Elm_Config_Binding_Key" struct { | ||
1097 | value "context" int: 0; | ||
1098 | value "key" string: "KP_Enter"; | ||
1099 | value "action" string: "multi_select"; | ||
1100 | value "params" string: ""; | ||
1101 | group "modifiers" list { | ||
1102 | group "Elm_Config_Binding_Modifier" struct { | ||
1103 | value "mod" string: "Control"; | ||
1104 | value "flag" uchar: 1; | ||
1105 | } | ||
1106 | } | ||
1107 | } | ||
1108 | group "Elm_Config_Binding_Key" struct { | ||
1109 | value "context" int: 0; | ||
1110 | value "key" string: "space"; | ||
1111 | value "action" string: "multi_select"; | ||
1112 | value "params" string: ""; | ||
1113 | group "modifiers" list { | ||
1114 | group "Elm_Config_Binding_Modifier" struct { | ||
1115 | value "mod" string: "Control"; | ||
1116 | value "flag" uchar: 1; | ||
1117 | } | ||
1118 | } | ||
1065 | } | 1119 | } |
1066 | group "Elm_Config_Binding_Key" struct { | 1120 | group "Elm_Config_Binding_Key" struct { |
1067 | value "context" int: 0; | 1121 | value "context" int: 0; |
diff --git a/config/standard/base.src.in b/config/standard/base.src.in index b7f9a4b60..c4b05d9d9 100644 --- a/config/standard/base.src.in +++ b/config/standard/base.src.in | |||
@@ -1047,18 +1047,72 @@ group "Elm_Config" struct { | |||
1047 | value "key" string: "Return"; | 1047 | value "key" string: "Return"; |
1048 | value "action" string: "select"; | 1048 | value "action" string: "select"; |
1049 | value "params" string: ""; | 1049 | value "params" string: ""; |
1050 | group "modifiers" list { | ||
1051 | group "Elm_Config_Binding_Modifier" struct { | ||
1052 | value "mod" string: "Control"; | ||
1053 | value "flag" uchar: 0; | ||
1054 | } | ||
1055 | } | ||
1050 | } | 1056 | } |
1051 | group "Elm_Config_Binding_Key" struct { | 1057 | group "Elm_Config_Binding_Key" struct { |
1052 | value "context" int: 0; | 1058 | value "context" int: 0; |
1053 | value "key" string: "KP_Enter"; | 1059 | value "key" string: "KP_Enter"; |
1054 | value "action" string: "select"; | 1060 | value "action" string: "select"; |
1055 | value "params" string: ""; | 1061 | value "params" string: ""; |
1062 | group "modifiers" list { | ||
1063 | group "Elm_Config_Binding_Modifier" struct { | ||
1064 | value "mod" string: "Control"; | ||
1065 | value "flag" uchar: 0; | ||
1066 | } | ||
1067 | } | ||
1056 | } | 1068 | } |
1057 | group "Elm_Config_Binding_Key" struct { | 1069 | group "Elm_Config_Binding_Key" struct { |
1058 | value "context" int: 0; | 1070 | value "context" int: 0; |
1059 | value "key" string: "space"; | 1071 | value "key" string: "space"; |
1060 | value "action" string: "select"; | 1072 | value "action" string: "select"; |
1061 | value "params" string: ""; | 1073 | value "params" string: ""; |
1074 | group "modifiers" list { | ||
1075 | group "Elm_Config_Binding_Modifier" struct { | ||
1076 | value "mod" string: "Control"; | ||
1077 | value "flag" uchar: 0; | ||
1078 | } | ||
1079 | } | ||
1080 | } | ||
1081 | group "Elm_Config_Binding_Key" struct { | ||
1082 | value "context" int: 0; | ||
1083 | value "key" string: "Return"; | ||
1084 | value "action" string: "select"; | ||
1085 | value "params" string: "multi"; | ||
1086 | group "modifiers" list { | ||
1087 | group "Elm_Config_Binding_Modifier" struct { | ||
1088 | value "mod" string: "Control"; | ||
1089 | value "flag" uchar: 1; | ||
1090 | } | ||
1091 | } | ||
1092 | } | ||
1093 | group "Elm_Config_Binding_Key" struct { | ||
1094 | value "context" int: 0; | ||
1095 | value "key" string: "KP_Enter"; | ||
1096 | value "action" string: "select"; | ||
1097 | value "params" string: "multi"; | ||
1098 | group "modifiers" list { | ||
1099 | group "Elm_Config_Binding_Modifier" struct { | ||
1100 | value "mod" string: "Control"; | ||
1101 | value "flag" uchar: 1; | ||
1102 | } | ||
1103 | } | ||
1104 | } | ||
1105 | group "Elm_Config_Binding_Key" struct { | ||
1106 | value "context" int: 0; | ||
1107 | value "key" string: "space"; | ||
1108 | value "action" string: "select"; | ||
1109 | value "params" string: "multi"; | ||
1110 | group "modifiers" list { | ||
1111 | group "Elm_Config_Binding_Modifier" struct { | ||
1112 | value "mod" string: "Control"; | ||
1113 | value "flag" uchar: 1; | ||
1114 | } | ||
1115 | } | ||
1062 | } | 1116 | } |
1063 | group "Elm_Config_Binding_Key" struct { | 1117 | group "Elm_Config_Binding_Key" struct { |
1064 | value "context" int: 0; | 1118 | value "context" int: 0; |