Home
last modified time | relevance | path

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

/kernel/linux/linux-5.10/drivers/accessibility/speakup/
Dfakekey.c20 static struct input_dev *virt_keyboard; variable
26 virt_keyboard = input_allocate_device(); in speakup_add_virtual_keyboard()
28 if (!virt_keyboard) in speakup_add_virtual_keyboard()
31 virt_keyboard->name = "Speakup"; in speakup_add_virtual_keyboard()
32 virt_keyboard->id.bustype = BUS_VIRTUAL; in speakup_add_virtual_keyboard()
33 virt_keyboard->phys = "speakup/input0"; in speakup_add_virtual_keyboard()
34 virt_keyboard->dev.parent = NULL; in speakup_add_virtual_keyboard()
36 __set_bit(EV_KEY, virt_keyboard->evbit); in speakup_add_virtual_keyboard()
37 __set_bit(KEY_DOWN, virt_keyboard->keybit); in speakup_add_virtual_keyboard()
39 err = input_register_device(virt_keyboard); in speakup_add_virtual_keyboard()
[all …]