__func__, ts->scrub_id);
ts->all_spay_count++;
}
- input_report_key(ts->input_dev, KEY_BLACK_UI_GESTURE, 1);
+ input_report_key(ts->input_dev, KEY_WAKEUP, 1);
input_sync(ts->input_dev);
- input_report_key(ts->input_dev, KEY_BLACK_UI_GESTURE, 0);
+ input_report_key(ts->input_dev, KEY_WAKEUP, 0);
}
}
break;
set_bit(KEY_SIDE_GESTURE_LEFT, dev->keybit);
}
set_bit(propbit, dev->propbit);
+ set_bit(KEY_WAKEUP, dev->keybit);
set_bit(KEY_HOMEPAGE, dev->keybit);
input_set_capability(dev, EV_SW, SW_GLOVE);
__func__, ts->scrub_id);
ts->all_spay_count++;
}
- input_report_key(ts->input_dev, KEY_BLACK_UI_GESTURE, 1);
+ input_report_key(ts->input_dev, KEY_WAKEUP, 1);
input_sync(ts->input_dev);
- input_report_key(ts->input_dev, KEY_BLACK_UI_GESTURE, 0);
+ input_report_key(ts->input_dev, KEY_WAKEUP, 0);
}
}
break;
set_bit(KEY_SIDE_GESTURE_LEFT, dev->keybit);
}
set_bit(propbit, dev->propbit);
+ set_bit(KEY_WAKEUP, dev->keybit);
set_bit(KEY_HOMEPAGE, dev->keybit);
input_set_capability(dev, EV_SW, SW_GLOVE);