1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-27 08:17:35 +00:00

Revert "Kernel+Userland: Implement support for PS2 scan code set 2"

This reverts commit 61a385fc01.

The commit broke the shift and caps lock key from working.
This commit is contained in:
Andrew Kaster 2023-12-29 21:47:00 +01:00 committed by Andrew Kaster
parent 68b0826107
commit d3025668a4
12 changed files with 440 additions and 982 deletions

View file

@ -1,32 +0,0 @@
/*
* Copyright (c) 2023, Liav A. <liavalb@hotmail.co.il>
*
* SPDX-License-Identifier: BSD-2-Clause
*/
#pragma once
#include <AK/Types.h>
#include <Kernel/API/KeyCode.h>
namespace Kernel {
enum class ScanCodeSet {
Set1 = 1,
Set2 = 2,
Set3 = 3,
};
struct KeyCodeEntry {
KeyCode key_code;
u8 map_entry_index;
};
struct RawKeyEvent {
KeyCodeEntry code_entry;
u64 scancode { 0 };
bool is_press_down { false };
bool is_press() const { return is_press_down; }
};
}