1 #ifndef DALI_KEYBOARD_H
2 #define DALI_KEYBOARD_H
5 * Copyright (c) 2018 Samsung Electronics Co., Ltd.
7 * Licensed under the Apache License, Version 2.0 (the "License");
8 * you may not use this file except in compliance with the License.
9 * You may obtain a copy of the License at
11 * http://www.apache.org/licenses/LICENSE-2.0
13 * Unless required by applicable law or agreed to in writing, software
14 * distributed under the License is distributed on an "AS IS" BASIS,
15 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
16 * See the License for the specific language governing permissions and
17 * limitations under the License.
22 #include <dali/public-api/dali-adaptor-common.h>
27 * @addtogroup dali_adaptor_framework
32 * @brief Keyboard functions.
38 * @brief Sets keyboard repeat information.
40 * @param[in] rate The key repeat rate value in seconds
41 * @param[in] delay The key repeat delay value in seconds
42 * @return true if setting the keyboard repeat succeeds
44 DALI_ADAPTOR_API bool SetRepeatInfo( float rate, float delay );
48 * @brief Gets keyboard repeat information.
50 * @param[in] rate The key repeat rate value in seconds
51 * @param[in] delay The key repeat delay value in seconds
52 * @return true if getting the keyboard repeat succeeds, false otherwise
54 DALI_ADAPTOR_API bool GetRepeatInfo( float& rate, float& delay );
56 } // namespace Keyboard
63 #endif // DALI_KEYBOARD_H