Go to the source code of this file.
|
| static uint64_t | mouse_events_read (file_t *file, void *buffer, uint64_t count, uint64_t *offset) |
| |
| static wait_queue_t * | mouse_events_poll (file_t *file, poll_events_t *revents) |
| |
| static uint64_t | mouse_name_read (file_t *file, void *buffer, uint64_t count, uint64_t *offset) |
| |
| static void | mouse_dir_cleanup (inode_t *inode) |
| |
| mouse_t * | mouse_new (const char *name) |
| | Allocate and initialize a mouse structure.
|
| |
| void | mouse_free (mouse_t *mouse) |
| | Free and deinitialize a mouse structure.
|
| |
| void | mouse_push (mouse_t *mouse, mouse_buttons_t buttons, int64_t deltaX, int64_t deltaY) |
| | Push a new mouse event to the mouse event queue.
|
| |
◆ mouse_events_read()
◆ mouse_events_poll()
◆ mouse_name_read()
◆ mouse_dir_cleanup()
| static void mouse_dir_cleanup |
( |
inode_t * |
inode | ) |
|
|
static |
◆ mouseDir
◆ newId
◆ eventsOps
Initial value:= {
}
static uint64_t mouse_events_read(file_t *file, void *buffer, uint64_t count, uint64_t *offset)
static wait_queue_t * mouse_events_poll(file_t *file, poll_events_t *revents)
Definition at line 51 of file mouse.c.
◆ nameOps
Initial value:= {
}
static uint64_t mouse_name_read(file_t *file, void *buffer, uint64_t count, uint64_t *offset)
Definition at line 68 of file mouse.c.
◆ dirInodeOps
Initial value:= {
}
static void mouse_dir_cleanup(inode_t *inode)
Definition at line 80 of file mouse.c.