Turnstone Operating System
Loading...
Searching...
No Matches
device_kbd.64.c File Reference

Keyboard driver. More...

#include <device/kbd.h>
#include <device/mouse.h>
#include <logging.h>
#include <cpu.h>
#include <cpu/task.h>
#include <apic.h>
#include <ports.h>
#include <memory/paging.h>
#include <strings.h>
#include <device/kbd_scancodes.h>
#include <acpi.h>
#include <time.h>
#include <shell.h>
#include <utils.h>
#include <graphics/screen.h>

Functions

 MODULE ("turnstone.kernel.hw.kbd")
 
void video_text_print (const char_t *string)
 
int8_t dev_kbd_cleanup_isr (interrupt_frame_ext_t *frame)
 
int8_t dev_kbd_isr (interrupt_frame_ext_t *frame)
 
int8_t kbd_handle_key (char16_t key, boolean_t pressed)
 
int8_t kbd_init (void)
 

Variables

boolean_t kbd_is_usb = false
 
volatile char16_t kbd_ps2_tmp = NULL
 
uint64_t shell_task_id
 
uint64_t windowmanager_task_id
 
kbd_state_t kbd_state = {0, 0, 0, 0, 0}
 

Detailed Description

Keyboard driver.

This work is licensed under TURNSTONE OS Public License. Please read and understand latest version of Licence.