1 #ifndef DALI_KEY_EVENT_DEVEL_H
\r
2 #define DALI_KEY_EVENT_DEVEL_H
\r
5 * Copyright (c) 2019 Samsung Electronics Co., Ltd.
\r
7 * Licensed under the Apache License, Version 2.0 (the "License");
\r
8 * you may not use this file except in compliance with the License.
\r
9 * You may obtain a copy of the License at
\r
11 * http://www.apache.org/licenses/LICENSE-2.0
\r
13 * Unless required by applicable law or agreed to in writing, software
\r
14 * distributed under the License is distributed on an "AS IS" BASIS,
\r
15 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
\r
16 * See the License for the specific language governing permissions and
\r
17 * limitations under the License.
\r
21 // INTERNAL INCLUDES
\r
22 #include <dali/public-api/events/key-event.h>
\r
27 namespace DevelKeyEvent
\r
31 * @brief Gets the logical key string.
\r
33 * For example, when the user presses 'shift' key and '1' key together, the logical key is "exclamation".
\r
34 * Plus, the keyPressedName is "1", and the keyPressed is "!".
\r
36 * @param[in] keyEvent The instance of KeyEvent.
\r
37 * @return The logical key symbol
\r
39 DALI_CORE_API std::string GetLogicalKey( KeyEvent keyEvent );
\r
41 } // namespace DevelKeyEvent
\r
45 #endif // DALI_KEY_EVENT_DEVEL_H
\r