Lines Matching defs:macro
25 * support of 6000U - 12000U, procfs, and macro key support
146 * BS = Barrel Switch (as in, macro keys)
404 int retval, macro, x, y, z, left, right, middle, p, dv, tip, bs, pck;
613 /* Report 4s come from the macro keys when pressed by stylus
624 macro = data[3];
647 * neighboring macro keys.
649 if (macro > 0) {
651 macroKeyEvents[macro - 1], 0);
653 if (macro < 25) {
655 macroKeyEvents[macro + 1], 0);
657 input_report_key(inputdev, macroKeyEvents[macro], p);
663 /* Report 5s come from the macro keys when pressed by mouse
673 macro = data[3];
694 * neighboring macro keys.
696 if (macro > 0) {
698 macroKeyEvents[macro - 1], 0);
700 if (macro < 25) {
702 macroKeyEvents[macro + 1], 0);
705 input_report_key(inputdev, macroKeyEvents[macro], 1);
718 macro = le16_to_cpu(get_unaligned((__le16 *) (data + 1)));
719 if (macro > 0) {
720 input_report_key(inputdev, macroKeyEvents[macro - 1],
723 if (macro < 25) {
724 input_report_key(inputdev, macroKeyEvents[macro + 1],
739 input_report_key(inputdev, macroKeyEvents[macro], 1);
975 /* Enable the macro keys */
2077 /* Programming the tablet macro keys needs to be done with a for loop