system/input: update input device name
Signed-off-by: yinshengkai <yinshengkai@xiaomi.com>
This commit is contained in:
parent
6afc226350
commit
1e66c39066
@ -297,7 +297,7 @@ static int input_keydown(int argc, char **argv)
|
||||
return -EINVAL;
|
||||
}
|
||||
|
||||
fd = open("/dev/ukbd", O_WRONLY);
|
||||
fd = open("/dev/ukeyboard", O_WRONLY);
|
||||
if (fd < 0)
|
||||
{
|
||||
return -errno;
|
||||
@ -329,9 +329,6 @@ static int input_help(int argc, char **argv)
|
||||
"\tinterval: Time interval between two reports of sample\n"
|
||||
"\tduration: Duration of sliding\n"
|
||||
"\tdistance: Report the pixel distance of the sample twice\n"
|
||||
"\tinterval: Time interval between two reports of sample\n"
|
||||
"\tduration: Duration of sliding\n"
|
||||
"\tdistance: Report the pixel distance of the sample twice\n"
|
||||
"\tbuttonvalue: button value in hex format\n"
|
||||
"\tkeycode: x11 key code, hexadecimal format\n"
|
||||
);
|
||||
|
Loading…
Reference in New Issue
Block a user