mirror of
https://github.com/apache/nuttx.git
synced 2026-06-08 01:42:58 +08:00
input/uinput: Remove the argument from initialization function
since each type of uinput just need Instantiate one instance Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com>
This commit is contained in:
committed by
Petro Karashchenko
parent
d19aa5aca4
commit
9b2c89fc0e
@@ -36,9 +36,7 @@
|
||||
* Initialized the uinput touchscreen device
|
||||
*
|
||||
* Input Parameters:
|
||||
* name: Touchscreen devices name
|
||||
* maxpoint: Maximum number of touch points supported.
|
||||
* buff_nums: Number of the touch points structure.
|
||||
* None
|
||||
*
|
||||
* Returned Value:
|
||||
* Zero is returned on success. Otherwise, a negated errno value is
|
||||
@@ -47,8 +45,7 @@
|
||||
****************************************************************************/
|
||||
|
||||
#ifdef CONFIG_UINPUT_TOUCH
|
||||
int uinput_touch_initialize(FAR const char *name, int maxpoint,
|
||||
int buffnums);
|
||||
int uinput_touch_initialize(void);
|
||||
#endif
|
||||
|
||||
/****************************************************************************
|
||||
@@ -58,7 +55,7 @@ int uinput_touch_initialize(FAR const char *name, int maxpoint,
|
||||
* Initialized the uinput keyboard device
|
||||
*
|
||||
* Input Parameters:
|
||||
* name: keyboard devices name
|
||||
* None
|
||||
*
|
||||
* Returned Value:
|
||||
* Zero is returned on success. Otherwise, a negated errno value is
|
||||
@@ -67,7 +64,7 @@ int uinput_touch_initialize(FAR const char *name, int maxpoint,
|
||||
****************************************************************************/
|
||||
|
||||
#ifdef CONFIG_UINPUT_KEYBOARD
|
||||
int uinput_keyboard_initialize(FAR const char *name);
|
||||
int uinput_keyboard_initialize(void);
|
||||
#endif
|
||||
|
||||
/****************************************************************************
|
||||
@@ -77,7 +74,7 @@ int uinput_keyboard_initialize(FAR const char *name);
|
||||
* Initialized the uinput button device
|
||||
*
|
||||
* Input Parameters:
|
||||
* name: Button devices name
|
||||
* None
|
||||
*
|
||||
* Returned Value:
|
||||
* Zero is returned on success. Otherwise, a negated errno value is
|
||||
@@ -86,7 +83,7 @@ int uinput_keyboard_initialize(FAR const char *name);
|
||||
****************************************************************************/
|
||||
|
||||
#ifdef CONFIG_UINPUT_BUTTONS
|
||||
int uinput_button_initialize(FAR const char *name);
|
||||
int uinput_button_initialize(void);
|
||||
#endif
|
||||
|
||||
#endif /* __INCLUDE_NUTTX_INPUT_UINPUT_H */
|
||||
|
||||
Reference in New Issue
Block a user