OurOS 0.1
Operating System built by McGill Students
 
Loading...
Searching...
No Matches
keymap.h File Reference
#include "keyboard.h"
#include "keycode.h"

Go to the source code of this file.

Data Structures

struct  keymap
 

Typedefs

typedef char(* translate_t) (enum KEYCODE, struct keyboard_state *)
 

Functions

void set_keymap (struct keymap *)
 
struct keymap * get_keymap (void)
 
char translate_keymap (enum KEYCODE code, struct keyboard_state *state)
 

Typedef Documentation

◆ translate_t

typedef char(* translate_t) (enum KEYCODE, struct keyboard_state *)

Function Documentation

◆ get_keymap()

struct keymap * get_keymap ( void  )

◆ set_keymap()

void set_keymap ( struct keymap *  map)

◆ translate_keymap()

char translate_keymap ( enum KEYCODE  code,
struct keyboard_state *  state 
)