Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
16 changes: 7 additions & 9 deletions ext_components/cp0_lvgl/src/cp0/cp0_lvgl_keyboard.c
Original file line number Diff line number Diff line change
Expand Up @@ -217,15 +217,13 @@ static int open_restricted(const char *path, int flags, void *user_data) {
fprintf(stderr, "Failed to open %s: %s\n", path, strerror(errno));
return -errno;
}
/* Grab the device exclusively. Without this, the kernel VT keyboard
* handler also feeds keystrokes from the integrated TCA8418 keypad to
* the foreground tty — leaking keys into any shell on tty1 / HDMI
* console at the same time APPLaunch is reading them. EBUSY here is
* non-fatal: another grabber already holds it, libinput will read
* normally without the VT-leak protection. */
if (ioctl(fd, EVIOCGRAB, 1) < 0 && errno != EBUSY) {
fprintf(stderr, "[KBD] EVIOCGRAB %s failed: %s\n", path, strerror(errno));
}
/* Keyboard grabbing is intentionally disabled so other programs can read
* the same input device while APPLaunch is running.
*
* if (ioctl(fd, EVIOCGRAB, 1) < 0 && errno != EBUSY) {
* fprintf(stderr, "[KBD] EVIOCGRAB %s failed: %s\n", path, strerror(errno));
* }
*/
return fd;
}
static void close_restricted(int fd, void *user_data) { close(fd); }
Expand Down
2 changes: 1 addition & 1 deletion scripts/debian_packager.py
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@
PACKAGE_NAME = "applaunch"
APP_NAME = "APPLaunch"
BIN_NAME = "M5CardputerZero-APPLaunch"
DEFAULT_VERSION = "0.2.1"
DEFAULT_VERSION = "0.6.0"
DEFAULT_REVISION = "m5stack1"
DEFAULT_ARCHITECTURE = "arm64"

Expand Down
Loading