Home
last modified time | relevance | path

Searched refs:keypam (Results 1 – 1 of 1) sorted by relevance

/drivers/input/
Djoydev.c51 __u16 keypam[KEY_MAX - BTN_MISC + 1]; member
304 event->value = !!test_bit(joydev->keypam[event->number], in joydev_generate_startup_event()
355 test_bit(joydev->keypam[i], input->key) ? (1 << i) : 0; in joydev_0x_read()
478 __u16 *keypam; in joydev_handle_JSIOCSBTNMAP() local
482 if (len % sizeof(*keypam)) in joydev_handle_JSIOCSBTNMAP()
485 len = min(len, sizeof(joydev->keypam)); in joydev_handle_JSIOCSBTNMAP()
488 keypam = memdup_user(argp, len); in joydev_handle_JSIOCSBTNMAP()
489 if (IS_ERR(keypam)) in joydev_handle_JSIOCSBTNMAP()
490 return PTR_ERR(keypam); in joydev_handle_JSIOCSBTNMAP()
493 if (keypam[i] > KEY_MAX || keypam[i] < BTN_MISC) { in joydev_handle_JSIOCSBTNMAP()
[all …]