* Update to version 0.4.3 Support for new devices: * Scimitar RGB Elite * Nightsword RGB Important bugfixes: * Fixed delay when shutting down with K95 RGB * Fixed freezing when updating indicator LEDs * Indicator LEDs are now more responsive when an animation is playing * GUI now starts hidden in tray on KDE * The pipe animation now works consistently between mode changes * The pipe animation now handles input commands sent in rapid succession before the device is updated * Input works on wayland again after recent updates * libgdx based games no longer crash on mouse input * Mouse settings are now correctly restored when resuming from suspend * Fixed a bug where some devices would not be initialised on daemon start and would require a replug * Fixed layouts for K68, K65, K63, M95 New features: * Under X11 only, lights can now automatically turn off after a user-set time * Macros now loop when the key is held down * Macro UI has been redesigned and supports recording from non ckb-next managed keyboards * Modes can now be changed automatically based on the current focused application (X11/XWayland Only) * Translations are now supported Notes for packagers: * The systemd unit directory can be overriden with -DSYSTEMD_UNIT_INSTALL_DIR * libappindicator is no longer used * Minimum Qt version has been bumped up to 5.5.1 (xenial) * cmake now checks for quazip 1.0 * The following new dependencies have been introduced: Qt5 X11Extras, xcb, xcb-screensaver, xcb-ewmh, Qt5 translation tools, dbusmenu-qt5 - Refresh ckb-next-use-run.patch, ckb-next-systemd.patch and 422.patch - Drop ckb-next-gcc10.patch (merged upstream) OBS-URL: https://build.opensuse.org/request/show/856841 OBS-URL: https://build.opensuse.org/package/show/hardware/ckb-next?expand=0&rev=18
55 lines
2.0 KiB
Diff
55 lines
2.0 KiB
Diff
Index: ckb-next-0.4.3/ckb-next-dev-detect
|
|
===================================================================
|
|
--- ckb-next-0.4.3.orig/ckb-next-dev-detect
|
|
+++ ckb-next-0.4.3/ckb-next-dev-detect
|
|
@@ -1,4 +1,4 @@
|
|
-#!/usr/bin/env bash
|
|
+#!/bin/bash
|
|
|
|
# Newline
|
|
N=$'\n'
|
|
@@ -49,7 +49,7 @@ else
|
|
OUT="${OUT}${N}${N}Daemon on current boot:${N}`journalctl -o short-precise -b 0 --unit=ckb-next-daemon 2>&1`"
|
|
OUT="${OUT}${N}${N}Daemon on last boot:${N}`journalctl -o short-precise -b -1 --unit=ckb-next-daemon 2>&1`"
|
|
fi
|
|
- OUT="${OUT}${N}${N}Dev nodes:${N}`find /dev/input/ckb* -print -type f -exec cat {} \; 2>&1`"
|
|
+ OUT="${OUT}${N}${N}Dev nodes:${N}`find /run/ckb* -print -type f -exec cat {} \; 2>&1`"
|
|
OUT="${OUT}${N}${N}Environment:${N}`printenv | grep "QT\|XDG.*DESKTOP\|DISPLAY" 2>&1`"
|
|
OUT="${OUT}${N}${N}Kernel command line:${N}`cat /proc/cmdline`"
|
|
GUIPATH="$(which ckb-next)"
|
|
Index: ckb-next-0.4.3/src/daemon/devnode.c
|
|
===================================================================
|
|
--- ckb-next-0.4.3.orig/src/daemon/devnode.c
|
|
+++ ckb-next-0.4.3/src/daemon/devnode.c
|
|
@@ -7,12 +7,7 @@
|
|
#include "profile.h"
|
|
#include <ckbnextconfig.h>
|
|
|
|
-// OSX doesn't like putting FIFOs in /dev for some reason
|
|
-#ifndef OS_MAC
|
|
-const char *const devpath = "/dev/input/ckb";
|
|
-#else
|
|
-const char *const devpath = "/var/run/ckb";
|
|
-#endif
|
|
+const char *const devpath = "/run/ckb";
|
|
|
|
long gid = -1;
|
|
#define S_GID_READ (gid >= 0 ? S_CUSTOM_R : S_READ)
|
|
Index: ckb-next-0.4.3/src/gui/kbmanager.cpp
|
|
===================================================================
|
|
--- ckb-next-0.4.3.orig/src/gui/kbmanager.cpp
|
|
+++ ckb-next-0.4.3/src/gui/kbmanager.cpp
|
|
@@ -1,11 +1,7 @@
|
|
#include "kbmanager.h"
|
|
#include "idletimer.h"
|
|
|
|
-#ifndef Q_OS_MACOS
|
|
-QString devpath = "/dev/input/ckb%1";
|
|
-#else
|
|
-QString devpath = "/var/run/ckb%1";
|
|
-#endif
|
|
+QString devpath = "/run/ckb%1";
|
|
|
|
QString KbManager::_guiVersion, KbManager::_daemonVersion = DAEMON_UNAVAILABLE_STR;
|
|
KbManager* KbManager::_kbManager = 0;
|