gem5 v25.0.0.1
Loading...
Searching...
No Matches
types.cc File Reference
#include "dev/ps2/types.hh"
#include <list>
#include "base/logging.hh"
#include "x11keysym/keysym.h"

Go to the source code of this file.

Namespaces

namespace  gem5
 Copyright (c) 2024 Arm Limited All rights reserved.
namespace  gem5::ps2

Functions

void gem5::ps2::keySymToPs2 (uint32_t key, bool down, bool &cur_shift, std::list< uint8_t > &keys)

Variables

static const uint16_t gem5::ps2::keySymToPs2Byte [128]
 Table to convert simple key symbols (0x00XX) into ps2 bytes.
const uint8_t gem5::ps2::ShiftKey = 0x12
const uint8_t gem5::ps2::BreakKey = 0xf0
const uint8_t gem5::ps2::ExtendedKey = 0xe0
const uint32_t gem5::ps2::UpperKeys = 0xff00

Generated on Sat Oct 18 2025 08:06:47 for gem5 by doxygen 1.14.0