Home > other >  Report input subsystem, the key value problem
Report input subsystem, the key value problem

Time:04-22

Have to set up the corresponding set_bit, then calls the report such as down, unable to getevent access to data
input_report_key (input_dev KEY_BACK, 1);
Input_sync (input_dev);


But the same places, called
input_report_key (input_dev BTN_TOUCH, 1);
Input_sync (input_dev);

In which direction you can, here can also analysis? thank you

CodePudding user response:

I checked the, there are the input subsystem is the key, then you should be just in the initial set up, like this: __set_bit (KEY_BACK, inputdev - & gt; Keybit);
  • Related