IBNOS
Functions | Variables
keyboard.c File Reference
#include <hardware/keyboard.h>
#include <hardware/pic.h>
#include <interrupt/interrupt.h>
#include <process/object.h>
#include <console/console.h>
#include <util/util.h>
#include <io/io.h>
Include dependency graph for keyboard.c:

Go to the source code of this file.

Functions

void processScancode (int extended, uint8_t scanCode, bool keyUp)
 Handles key presses after the scancode was decoded. More...
 
void keyboardInit (struct object *obj)
 Initializes the keyboard. More...
 
void keyboardSend (uint8_t cmd)
 Send a command to the keyboard controller. More...
 
void keyboardSetLEDFlags (uint32_t flags)
 Set LED Flags. More...
 
uint32_t keyboardGetLEDFlags ()
 Return the current active LED flags. More...
 

Variables

uint32_t keyboardLEDFlags = 0
 
uint8_t standardKeyCodes [128]
 
uint8_t extendedKeyCodes [128]
 
int keyMapIndex = 0
 
const struct keyMap keyMapDE
 
const struct keyMapkeyMaps
 Supported keymaps. More...
 
struct keyModifier modifiers = {0, 0, 0, 0, 0}