1
0
mirror of https://gitlab.os-k.eu/os-k-team/os-k.git synced 2023-08-25 14:03:10 +02:00
os-k/include/kernel/io/keyb.h

62 lines
2.5 KiB
C

//----------------------------------------------------------------------------//
// OS on Kaleid //
// //
// Desc: Keyboard related functions //
// //
// //
// Copyright © 2018-2021 The OS/K Team //
// //
// This file is part of OS/K. //
// //
// OS/K is free software: you can redistribute it and/or modify //
// it under the terms of the GNU General Public License as published by //
// the Free Software Foundation, either version 3 of the License, or //
// any later version. //
// //
// OS/K is distributed in the hope that it will be useful, //
// but WITHOUT ANY WARRANTY//without even the implied warranty of //
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the //
// GNU General Public License for more details. //
// //
// You should have received a copy of the GNU General Public License //
// along with OS/K. If not, see <https://www.gnu.org/licenses/>. //
//----------------------------------------------------------------------------//
#ifndef _KERNEL_H
#include <kernel.h>
#endif
#ifndef _IO_KEYB_H
#define _IO_KEYB_H
//----------------------------------------------------------------------------//
void IoEnableKeyb();
void IoChangeCodePage(char *);
//----------------------------------------------------------------------------//
#define K_BACKSPACE 8
#define K_BELL 7
#define K_ARRW_UP 17
#define K_ARRW_DOWN 18
#define K_ARRW_LEFT 19
#define K_ARRW_RIGHT 20
#define K_PAGE_UP 21
#define K_PAGE_DOWN 22
#define K_INSERT 23
#define K_HOME 24
#define K_END 25
#define K_ESCAPE 27
#define K_DEL 127
//----------------------------------------------------------------------------//
#endif