1 /** 2 * @file lv_keyboard_private.h 3 * 4 */ 5 6 #ifndef LV_KEYBOARD_PRIVATE_H 7 #define LV_KEYBOARD_PRIVATE_H 8 9 #ifdef __cplusplus 10 extern "C" { 11 #endif 12 13 /********************* 14 * INCLUDES 15 *********************/ 16 17 #include "../buttonmatrix/lv_buttonmatrix_private.h" 18 #include "lv_keyboard.h" 19 20 #if LV_USE_KEYBOARD 21 22 /********************* 23 * DEFINES 24 *********************/ 25 26 /********************** 27 * TYPEDEFS 28 **********************/ 29 30 /** Data of keyboard */ 31 struct _lv_keyboard_t { 32 lv_buttonmatrix_t btnm; 33 lv_obj_t * ta; /**< Pointer to the assigned text area */ 34 lv_keyboard_mode_t mode; /**< Key map type */ 35 uint8_t popovers : 1; /**< Show button titles in popovers on press */ 36 }; 37 38 39 /********************** 40 * GLOBAL PROTOTYPES 41 **********************/ 42 43 /********************** 44 * MACROS 45 **********************/ 46 47 #endif /* LV_USE_KEYBOARD */ 48 49 #ifdef __cplusplus 50 } /*extern "C"*/ 51 #endif 52 53 #endif /*LV_KEYBOARD_PRIVATE_H*/ 54