最終更新:2016-07-05 (火) 19:05:22 (2823d)
MSC_SCAN
Top / MSC_SCAN
- Misc events
#define MSC_SCAN 0x04
drivers/hid/hid-input.c
- hidinput_configure_usageでmappedの時に
if (usage->type == EV_KEY) { set_bit(EV_MSC, input->evbit); set_bit(MSC_SCAN, input->mscbit); }
- hidinput_hid_eventで
/* report the usage code as scancode if the key status has changed */ if (usage->type == EV_KEY && (!test_bit(usage->code, input->key)) == value) input_event(input, EV_MSC, MSC_SCAN, usage->hid);
関連
- input_mapping?