From 6315178cecb8f96aab3a1dc2585e40570166569f Mon Sep 17 00:00:00 2001 From: "R. Eric Wheeler" Date: Mon, 22 Feb 2021 15:20:00 -0800 Subject: [PATCH] Updated License --- getch.c | 8 +++++++- getch.h | 7 ++++++- 2 files changed, 13 insertions(+), 2 deletions(-) diff --git a/getch.c b/getch.c index 52a3110..f4e3f24 100644 --- a/getch.c +++ b/getch.c @@ -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 #include #include @@ -8,7 +14,7 @@ #include #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 EVENT_DEVICE_GLOB "/dev/input/by-path/*-event-kbd" diff --git a/getch.h b/getch.h index 16b330d..f978841 100644 --- a/getch.h +++ b/getch.h @@ -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 #define GETCH_H