Squash commits for public release

This commit is contained in:
2025-02-12 09:54:05 -05:00
commit 7118adc514
1108 changed files with 80873 additions and 0 deletions

View File

@@ -0,0 +1,19 @@
#ifndef _KERNEL_DRIVERS_IO_MOUSE_H
#define _KERNEL_DRIVERS_IO_MOUSE_H
#include <libkern/types.h>
/* The mouse packet should be aligned to 4 bytes */
struct mouse_packet {
int16_t x_offset;
int16_t y_offset;
uint16_t button_states;
int16_t wheel_data;
};
typedef struct mouse_packet mouse_packet_t;
int generic_mouse_create_devfs();
void generic_mouse_init();
void generic_mouse_send_packet(mouse_packet_t* packet);
#endif //_KERNEL_DRIVERS_IO_MOUSE_H