xiaoxiang781216 commented on a change in pull request #5802: URL: https://github.com/apache/incubator-nuttx/pull/5802#discussion_r830721217
########## File path: drivers/input/uinput.c ########## @@ -589,8 +592,9 @@ int uinput_keyboard_initialize(FAR const char *name) /* Regiest Touchscreen device */ - snprintf(devname, sizeof(devname), "/dev/%s", name); - ret = keyboard_register(&ukbd_lower->lower, devname); + snprintf(devname, sizeof(devname), "/dev/%s", UINPUT_NAME_KEYBOARD); + ret = keyboard_register(&ukbd_lower->lower, devname, + CONFIG_UINPUT_KEYBOARD_BUFNUMBER); Review comment: Done. ########## File path: drivers/input/uinput.c ########## @@ -534,7 +537,7 @@ int uinput_button_initialize(FAR const char *name) ubtn_lower->ctx.notify = uinput_button_notify; #endif - snprintf(devname, sizeof(devname), "/dev/%s", name); + snprintf(devname, sizeof(devname), "/dev/%s", UINPUT_NAME_BUTTON); ret = btn_register(devname, &ubtn_lower->lower); Review comment: Done. -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: commits-unsubscr...@nuttx.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org