X-Git-Url: https://git.openpandora.org/cgi-bin/gitweb.cgi?p=pandora-misc.git;a=blobdiff_plain;f=op_test_inputs.c;h=90e9b00a436484f4dba72e97548571b34cd3ef21;hp=6597ab77c0e35b348b9f24cbe40dc1e03ad71726;hb=9179a68e9f79d99534111f09971c2ad434990843;hpb=27058c48ecef47331a1f1683fb323ba51a8a5670 diff --git a/op_test_inputs.c b/op_test_inputs.c index 6597ab7..90e9b00 100644 --- a/op_test_inputs.c +++ b/op_test_inputs.c @@ -301,7 +301,7 @@ int main(int argc, char *argv[]) ioctl(fd, EVIOCGNAME(sizeof(name)), name); - if (strcasestr(name, "pwrbutton") != NULL) + if (strcasestr(name, "power") != NULL) { ifd[DEV_PWRBTN] = fd; }