tune and cleanup

This commit is contained in:
Vincent Wei
2019-06-14 10:13:04 +08:00
parent 6a31f83a23
commit 55b1934642
6 changed files with 7 additions and 1470 deletions
+2 -2
View File
@@ -25,7 +25,7 @@ DIST_SUBDIR=native nexusial netial
EXTRA_DIST=spec_general_ts_drv.html \
makefile.ng makefile.msvc
COMMON_SRCS = ial.c
COMMON_SRCS = ial.c linux-tty.c
DUMMY_SRCS = dummy.c dummy.h
AUTO_SRCS = auto.c auto.h auto-protocol.h
@@ -49,7 +49,7 @@ MSTAR_SRCS = mstarial.h mstarial.c
DFB_SRCS = dfb.h dfb.c
USVFB_SRCS = usvfbinput.c usvfbinput.h
LIBINPUT_SRCS = ial-libinput.c ial-libinput.h
LIBINPUT_SRCS = linux-libinput.c linux-libinput.h
if MGIAL_CONSOLE
native_libial_la_LIBADD = native/libnative.la
File diff suppressed because it is too large Load Diff
-56
View File
@@ -1,56 +0,0 @@
/*
* This file is part of MiniGUI, a mature cross-platform windowing
* and Graphics User Interface (GUI) support system for embedded systems
* and smart IoT devices.
*
* Copyright (C) 2002~2018, Beijing FMSoft Technologies Co., Ltd.
* Copyright (C) 1998~2002, WEI Yongming
*
* This program 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
* (at your option) any later version.
*
* This program 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 this program. If not, see <http://www.gnu.org/licenses/>.
*
* Or,
*
* As this program is a library, any link to this program must follow
* GNU General Public License version 3 (GPLv3). If you cannot accept
* GPLv3, you need to be licensed from FMSoft.
*
* If you have got a commercial license of this program, please use it
* under the terms and conditions of the commercial license.
*
* For more information about the commercial license, please refer to
* <http://www.minigui.com/en/about/licensing-policy/>.
*/
/*
** libinput.h: the head file of the IAL engine based on libinput.
**
** Created by Wei YongMing, 2019/06/10
*/
#ifndef GUI_IAL_LIBINPUT_H
#define GUI_IAL_LIBINPUT_H
#ifdef __cplusplus
extern "C" {
#endif /* __cplusplus */
BOOL InitLibInput (INPUT* input, const char* mdev, const char* mtype);
void TermLibInput (void);
#ifdef __cplusplus
}
#endif /* __cplusplus */
#endif /* GUI_IAL_LIBINPUT_H */
+1 -1
View File
@@ -118,7 +118,7 @@
#include "usvfbinput.h"
#endif
#ifdef _MGIAL_LIBINPUT
#include "ial-libinput.h"
#include "linux-libinput.h"
#endif
#define LEN_ENGINE_NAME 16
+2 -2
View File
@@ -35,7 +35,7 @@
** vtswitch-lite.c: VT switching.
**
** Created by Song Lixin, 2000/10/17
** Clean code for MiniGUI 1.1.x by Wei Yongming, 20001/11/28
** Clean code for MiniGUI 1.1.x by Wei Yongming, 2001/11/28
*/
#include <stdio.h>
@@ -210,7 +210,7 @@ int done_vtswitch (int kbd_fd)
if (!vtswitch_initialised) return 0; /* shouldn't really happen either */
/* !trout gfoot. Must turn off the signals before unhooking them... */
/* Must turn off the signals before unhooking them... */
ioctl (ttyfd, VT_SETMODE, &startup_vtmode);
sigemptyset (&sa.sa_mask);
+2 -1
View File
@@ -6,4 +6,5 @@ noinst_HEADERS = \
readbmp.h icon.h blockheap.h \
ourhdr.h client.h server.h sharedres.h sockio.h drawsemop.h \
gal.h newgal.h memops.h incoreres.h sysres.h clipboard.h \
md5.h glyph.h license.h mgsock.h unicode-ops.h
md5.h glyph.h license.h mgsock.h unicode-ops.h \
linux-tty.h