Searched refs:ms_buttons (Results 1 - 2 of 2) sorted by relevance

/netbsd-current/sys/arch/atari/dev/
H A Dmsvar.h44 uint8_t ms_buttons; /* button states */ member in struct:ms_softc
H A Dms.c164 (ms->ms_buttons & 0x03);
174 fake_mouse.id = ms->ms_buttons;
184 rel_ms->id = (ms->ms_buttons & 0x04) | (rel_ms->id & 0x03);
202 if ((mbut = (rel_ms->id ^ ms->ms_buttons)) == 0 && (put != get)) {
274 if ((ms->ms_buttons & 0x04) != 0 && (mbut & 0x03) != 0) {
317 ms->ms_buttons = rel_ms->id;
340 ms->ms_buttons = 0;

Completed in 106 milliseconds