T***B 发帖数: 137 | 1 I am writing a perl script that simulate user input. It's easy for regular
strings. I got the mapping for some special inputs (e.g. ctrl-D, ctrl-L) as
well. But how about those function keys (F1, F4, for example)?
my $name = "xiaoming";
my $ctrlD = chr(0x004);
my $ctrlL = chr(0x014);
my $F4 = ???
Thanks, |
|