Updated License

This commit is contained in:
R. Eric Wheeler 2021-02-22 15:20:00 -08:00
parent ddebc53f98
commit 6315178cec
2 changed files with 13 additions and 2 deletions

View File

@ -1,3 +1,9 @@
/***********************************************************************
* This Source Code Form is subject to the terms of the Mozilla Public *
* License, v. 2.0. If a copy of the MPL was not distributed with this *
* file, You can obtain one at http://mozilla.org/MPL/2.0/. *
***********************************************************************/
#include <stdio.h> #include <stdio.h>
#include <termios.h> #include <termios.h>
#include <unistd.h> #include <unistd.h>
@ -8,7 +14,7 @@
#include <glob.h> #include <glob.h>
#include "getch.h" #include "getch.h"
// #define FKEY(k) ((k) >= KEY_F1 && (k) <= KEY_F10) || (k) == KEY_F12 || (k) == KEY_F11 #define FKEY(k) ((k) >= KEY_F1 && (k) <= KEY_F10) || (k) == KEY_F12 || (k) == KEY_F11
#define NOTNUMPAD(k) ((k) >= KEY_HOME && (k) <= KEY_DELETE) #define NOTNUMPAD(k) ((k) >= KEY_HOME && (k) <= KEY_DELETE)
#define EVENT_DEVICE_GLOB "/dev/input/by-path/*-event-kbd" #define EVENT_DEVICE_GLOB "/dev/input/by-path/*-event-kbd"

View File

@ -1,4 +1,9 @@
/***********************************************************************
* This Source Code Form is subject to the terms of the Mozilla Public *
* License, v. 2.0. If a copy of the MPL was not distributed with this *
* file, You can obtain one at http://mozilla.org/MPL/2.0/. *
***********************************************************************/
#ifndef GETCH_H #ifndef GETCH_H
#define GETCH_H #define GETCH_H