OurOS 0.1
Operating System built by McGill Students
 
Loading...
Searching...
No Matches
keyboard_state Struct Reference

struct to hold state of the keyboard in terms of modifier keys More...

#include <keyboard.h>

Data Fields

bool shift
 
bool ctrl
 
bool alt
 
bool caps
 

Detailed Description

struct to hold state of the keyboard in terms of modifier keys

Field Documentation

◆ alt

bool keyboard_state::alt

is alt or altgr pressed

◆ caps

bool keyboard_state::caps

is caps toggled

◆ ctrl

bool keyboard_state::ctrl

is ctrl pressed

◆ shift

bool keyboard_state::shift

is shift pressed


The documentation for this struct was generated from the following file: