gem5
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
Namespaces | Enumerations | Functions | Variables
ps2.hh File Reference
#include <stdint.h>
#include <list>
#include "base/bitunion.hh"

Go to the source code of this file.

Namespaces

 Ps2
 

Enumerations

enum  {
  Ps2::Ps2Reset = 0xff, Ps2::SelfTestPass = 0xAA, Ps2::SetStatusLed = 0xed, Ps2::SetResolution = 0xe8,
  Ps2::StatusRequest = 0xe9, Ps2::SetScaling1_2 = 0xe7, Ps2::SetScaling1_1 = 0xe6, Ps2::ReadId = 0xf2,
  Ps2::TpReadId = 0xe1, Ps2::Ack = 0xfa, Ps2::SetRate = 0xf3, Ps2::Enable = 0xf4,
  Ps2::Disable = 0xf5, Ps2::SetDefaults = 0xf6, Ps2::KeyboardId = 0xab, Ps2::TouchKitId = 0x0a,
  Ps2::MouseId = 0x00
}
 

Functions

 Ps2::BitUnion8 (Ps2MouseMovement) Bitfield< 0 > leftButton
 A bitfield that represents the first byte of a mouse movement packet. More...
 
 Ps2::EndBitUnion (Ps2MouseMovement) void keySymToPs2(uint32_t key
 Convert an x11 key symbol into a set of ps2 charecters. More...
 

Variables

Bitfield< 1 > Ps2::rightButton
 
Bitfield< 2 > Ps2::middleButton
 
Bitfield< 3 > Ps2::one
 
Bitfield< 4 > Ps2::xSign
 
Bitfield< 5 > Ps2::ySign
 
Bitfield< 6 > Ps2::xOverflow
 
Bitfield< 7 > Ps2::yOverflow
 
bool Ps2::down
 
bool bool & Ps2::cur_shift
 
bool bool std::list< uint8_t > & Ps2::keys
 

Generated on Fri Jun 9 2017 13:03:57 for gem5 by doxygen 1.8.6