FreeBSD kernel usb device Code
g_mouse_softc Struct Reference
Collaboration diagram for g_mouse_softc:

Data Fields

struct mtx sc_mtx
 
struct usb_callout sc_button_press_callout
 
struct usb_callout sc_cursor_update_callout
 
struct g_mouse_data sc_data
 
struct usb_xfersc_xfer [G_MOUSE_N_TRANSFER]
 
int sc_mode
 
int sc_radius
 
int sc_last_x_state
 
int sc_last_y_state
 
int sc_curr_x_state
 
int sc_curr_y_state
 
int sc_tick
 
uint8_t sc_do_cursor_update
 
uint8_t sc_do_button_update
 

Detailed Description

Definition at line 109 of file g_mouse.c.

Field Documentation

◆ sc_button_press_callout

struct usb_callout g_mouse_softc::sc_button_press_callout

Definition at line 111 of file g_mouse.c.

Referenced by g_mouse_attach(), g_mouse_button_press_timeout_reset(), and g_mouse_detach().

◆ sc_curr_x_state

int g_mouse_softc::sc_curr_x_state

Definition at line 120 of file g_mouse.c.

Referenced by g_mouse_intr_callback().

◆ sc_curr_y_state

int g_mouse_softc::sc_curr_y_state

Definition at line 121 of file g_mouse.c.

Referenced by g_mouse_intr_callback().

◆ sc_cursor_update_callout

struct usb_callout g_mouse_softc::sc_cursor_update_callout

Definition at line 112 of file g_mouse.c.

Referenced by g_mouse_attach(), g_mouse_cursor_update_timeout_reset(), and g_mouse_detach().

◆ sc_data

struct g_mouse_data g_mouse_softc::sc_data

◆ sc_do_button_update

uint8_t g_mouse_softc::sc_do_button_update

Definition at line 125 of file g_mouse.c.

Referenced by g_mouse_button_press_timeout_reset(), and g_mouse_intr_callback().

◆ sc_do_cursor_update

uint8_t g_mouse_softc::sc_do_cursor_update

Definition at line 124 of file g_mouse.c.

Referenced by g_mouse_cursor_update_timeout_reset(), and g_mouse_intr_callback().

◆ sc_last_x_state

int g_mouse_softc::sc_last_x_state

Definition at line 118 of file g_mouse.c.

Referenced by g_mouse_intr_callback().

◆ sc_last_y_state

int g_mouse_softc::sc_last_y_state

Definition at line 119 of file g_mouse.c.

Referenced by g_mouse_intr_callback().

◆ sc_mode

int g_mouse_softc::sc_mode

Definition at line 116 of file g_mouse.c.

Referenced by g_mouse_attach(), g_mouse_intr_callback(), and g_mouse_update_mode_radius().

◆ sc_mtx

struct mtx g_mouse_softc::sc_mtx

Definition at line 110 of file g_mouse.c.

Referenced by g_mouse_attach(), and g_mouse_detach().

◆ sc_radius

int g_mouse_softc::sc_radius

Definition at line 117 of file g_mouse.c.

Referenced by g_mouse_intr_callback(), and g_mouse_update_mode_radius().

◆ sc_tick

int g_mouse_softc::sc_tick

Definition at line 122 of file g_mouse.c.

Referenced by g_mouse_cursor_update_timeout_reset(), and g_mouse_intr_callback().

◆ sc_xfer

struct usb_xfer* g_mouse_softc::sc_xfer[G_MOUSE_N_TRANSFER]

The documentation for this struct was generated from the following file: