os-k/include/io/keyb.h

62 lines
2.5 KiB
C
Raw Normal View History

2019-05-08 10:33:31 +02:00
//----------------------------------------------------------------------------//
// GNU GPL OS/K //
// //
// Desc: Keyboard related functions //
// //
// //
// Copyright © 2018-2019 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/>. //
//----------------------------------------------------------------------------//
2019-05-13 23:22:27 +02:00
#ifndef _KERNEL_H
#include <kernel.h>
2019-05-08 10:33:31 +02:00
#endif
2019-05-13 23:22:27 +02:00
#ifndef _IO_KEYB_H
#define _IO_KEYB_H
2019-05-08 10:33:31 +02:00
//----------------------------------------------------------------------------//
void IoEnableKeyb();
2019-05-13 23:22:27 +02:00
void IoChangeCodePage(char *);
2019-05-08 10:33:31 +02:00
//----------------------------------------------------------------------------//
#define K_BACKSPACE 8
#define K_BELL 7
2020-01-10 21:58:11 +01:00
#define K_ARRW_UP 17
#define K_ARRW_DOWN 18
#define K_ARRW_LEFT 19
#define K_ARRW_RIGHT 20
2020-01-10 21:58:11 +01:00
#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
2019-05-08 10:33:31 +02:00
//----------------------------------------------------------------------------//
#endif