/src/sys/arch/news68k/dev/ |
ms.c | 75 int button, dx, dy; local in function:ms_intr 103 button = 0; 105 button |= 0x01; 107 button |= 0x02; 109 button |= 0x04; 119 button,
|
/src/sys/arch/newsmips/apbus/ |
ms_ap.c | 117 int button, dx, dy; local in function:ms_ap_intr 150 button = 0; 152 button |= 1; 154 button |= 2; 156 button |= 4; 168 button,
|
/src/sys/arch/newsmips/dev/ |
ms_hb.c | 124 int button, dx, dy; local in function:ms_hb_intr 157 button = 0; 159 button |= 1; 161 button |= 2; 163 button |= 4; 175 button,
|
/src/sys/dev/hil/ |
hilms.c | 142 aprint_normal(", 1 button"); 222 int dx, dy, dz, button; local in function:hilms_callback 253 * The packet can contain both a mouse motion and a button event. 299 * Correct Y direction for button boxes. 308 button = *buf; 311 * a boolean behaviour, as an extra mouse button, which is 317 * to a pseudo fourth button - even if the tablet never 320 button = (button - 0x80) >> 1; 321 if (button > 4 [all...] |
/src/sys/dev/pckbport/ |
alps.c | 878 int button; local in function:pms_alps_decode_touchpad_packet_v7 951 button = (psc->packet[0] & 0x80) >> 7; 954 if (button && (cur_y1 > 1700) && (cur_x1 < 1700)) 955 buttons |= button << 0; /* Left button */ 956 else if (button && (cur_y1 > 1700) 958 buttons |= button << 1; /* Middle button */ 959 else if (button && (cur_y1 > 1700) && (2700 < cur_x1)) 960 buttons |= button << 2; /* Right button * [all...] |
/src/sys/dev/bluetooth/ |
btmagic.c | 78 * middle mouse button and providing horizontal and vertical scroll action. 172 int sc_mb_id; /* which ID selects the button */ 174 /* button emulation with tap */ 175 int sc_tapmb_id; /* which ID selects the button */ 1178 * button 1 1-bit 1179 * button 2 1-bit 1238 * button 1 1-bit 1239 * button 2 1-bit 1403 * a middle button press, and cancel any scroll effects while click 1432 * button 1 1-bi 1451 struct hid_location button; member in struct:__anonb07df8960408 [all...] |
/src/usr.sbin/moused/ |
mouse.h | 57 int button; /* button status */ member in struct:mousestatus 58 int obutton; /* previous button status */ 64 /* button */ 196 #define MOUSE_MSS_BUTTON2DOWN 0x00 /* no middle button */ 200 #define MOUSE_LMAN_BUTTON2DOWN 0x20 /* middle button, the 4th byte */ 203 #define MOUSE_ALPS_BUTTON2DOWN 0x20 /* middle button, the 4th byte */ 207 #define MOUSE_THINK_BUTTON2DOWN 0x20 /* lower-left button, the 4th byte */ 208 #define MOUSE_THINK_BUTTON4DOWN 0x10 /* lower-right button, the 4th byte */ 212 #define MOUSE_INTELLI_BUTTON2DOWN 0x10 /* middle button in the 4th byte * [all...] |
moused.c | 83 /* Abort 3-button emulation delay after this many movement events. */ 219 /* Logitech MouseMan (new 4 button model) */ 348 int zmap[4]; /* MOUSE_{X|Y}AXIS or a button number */ 349 int wmode; /* wheel mode button number */ 355 long button2timeout; /* 3 button emulation timeout */ 380 /* button status */ 383 struct timeval tv; /* timestamp on the last button event */ 385 static struct button_state bstate[MOUSE_MAXBUTTON]; /* button state */ 386 static struct button_state *mstate[MOUSE_MAXBUTTON];/* mapped button st.*/ 389 /* state machine for 3 button emulation * 852 int button; local in function:moused 2131 int button; local in function:r_timestamp [all...] |