ckb-next/ckb-next-use-run.patch

55 lines
2.0 KiB
Diff
Raw Normal View History

Accepting request 856841 from home:alois:branches:hardware * 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
2020-12-18 09:12:10 +00:00
Index: ckb-next-0.4.3/ckb-next-dev-detect
Accepting request 664162 from home:alois:branches:hardware - Update to version 0.3.2 Important news: * This version fixes a major bug for the Scimitar Pro, causing the daemon to not properly interface with the mouse. This could require manually reflashing the mouse firmware if a firmware update was performed with 0.3.1 or earlier. * An updater has been created to more quickly push bugfixes to users, especially for those on macOS. * There is a new Space Invaders-like minigame that can be played as an animation, thanks to @mvladimirovich. Support for new devices: * Strafe RGB MK.2; by accidental omission from the previous release. * K66 Important bugfixes: * The Scimitar Pro now defaults to v2.xx endpoints * The DPI LED on mice now changes in sniper mode * The GUI will warn if uinput cannot be loaded on Linux * The "Save to Hardware" button on the Scimitar and Glaive has been greyed out due to a current lack of support * Thanks to the efforts of @Kedstar99, the codebase compiles with much fewer warnings * Binding commands to wheels will now repeat properly * QuaZip is no longer required for daemon-only builds * KissFFT is now built as a static library * Symbolic links are now created in /dev/input/by-id for evdev users * Fixed a regression for devices using the legacy protocol Note for packagers: * If ckb-next is updated through a package management system, `-DDISABLE_UPDATER=1` should be passed to CMake version 0.3.1 Support for new devices: * K70 RGB MK.2 * K70 RGB MK.2 SE New major features: * The GUI now has a generate ckb-next-dev-detect report button Important bugfixes: * Rapidfire keyboards have a workaround on shutdown * Bugfix for independent X/Y DPI * The new Strafe NRGB has firmware updates now * The GUI pops up a warning when trying to bind the Windows key with Winlock enabled * The GUI now has a DPI indicator * The K68 NRGB winlock light now lights up * The GUI handles SIGINT/SIGTERM cleanly, avoiding stalled devices * Strafe sidelights now save state on GUI start * Original Strafe NRGB's sidelights now toggle correctly * ckb-next-dev-detect is now installed to the system and added to PATH version 0.3.0 Support for new devices: * K55 RGB * K68 RGB * K90 Legacy * Katar RGB * Polaris RGB * ST100 RGB New major features: * Use URB Interrupts to read data from devices * Profile Import/Export * Keyboard Layout autodetection * CMake build system * Relocation of binaries * No single global layout for all devices in the GUI Important bugfixes: * Deadlock on daemon exit * Support for K95 Platinum profile switch key * Keymap corruption on the GUI * Pulseaudio GUI deadlock * Use udev to detect the appropriate endpoint max packet size * Ignore devices in BIOS mode * Disable save to hardware for unsupported devices * Keymap patches for K68 * Workaround for linux kernel out-of-bounds write * Memory leaks on firmware update version 0.2.9 Important changes: * Significantly lower CPU usage on idle * Add support for K95 Platinum * Add support for K68 * Add support for (new) Strafe non-RGB * Add support for Glaive * Add support for Harpoon * Add support for Corsair firmware v3 * Add support for pt\_br layout * Add support for Japanese layout * Add macro delays to the GUI * New FIRMWARE file structure * GUI warning when daemon is not running * udev rule to remove joystick tag * Dynamic keymap patching * Require Qt >=5.2 * Numerous small fixes and improvements version 0.2.8 * `ckb` is now `ckb-next`, __but the binaries will be renamed in `v0.2.9`__ * Numerous PRs from `ckb` merged [\#4](https://github.com/mattanger/ckb-next/issues/4) * SIGSEGV when deleting copied profile is fixed [\#38](https://github.com/mattanger/ckb-next/issues/38) * `make debug` target on Linux is fixed [\#79](https://github.com/mattanger/ckb-next/issues/79) * Heat map animation issues fixed [\#30](https://github.com/mattanger/ckb-next/issues/30) * Compilation of the music visualizer fixed [\#21](https://github.com/mattanger/ckb-next/issues/21) * Hardware profile loading error on firmware 2.05 fixed [\#24](https://github.com/mattanger/ckb-next/pull/24) * Project's own firmware table created, signed and populated with new devices [\#60](https://github.com/mattanger/ckb-next/pull/60) * Arch Linux and Fedora/CentOS packages added [\#80](https://github.com/mattanger/ckb-next/pull/80) [\#5](https://github.com/mattanger/ckb-next/issues/5) [\#41](https://github.com/mattanger/ckb-next/pull/41) - Dropped ckb-external-quazip.patch (no longer necessary) - Refreshed ckb-use-var-run.patch as ckb-next-use-run.patch - Added ckb-next-systemd.patch, ckb-next-no-cmake-modules.patch and ckb-next-udev.patch - Update to version 0.2.6 - Use external quazip only when available - Replaced ckb-fix-desktop-file.patch with %suse_update_desktop_file - Replaced ckb-daemon-path.patch and ckb-animations-path.patch with macros for consistency. - Add hicoler folder, too - Fix icon folder - Initial package * Use /var/run instead of /dev/input for communication with the daemon. * move the daemon and the animations into the libexec folder OBS-URL: https://build.opensuse.org/request/show/664162 OBS-URL: https://build.opensuse.org/package/show/hardware/ckb-next?expand=0&rev=1
2019-01-10 08:17:45 +00:00
===================================================================
Accepting request 856841 from home:alois:branches:hardware * 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
2020-12-18 09:12:10 +00:00
--- ckb-next-0.4.3.orig/ckb-next-dev-detect
+++ ckb-next-0.4.3/ckb-next-dev-detect
Accepting request 664162 from home:alois:branches:hardware - Update to version 0.3.2 Important news: * This version fixes a major bug for the Scimitar Pro, causing the daemon to not properly interface with the mouse. This could require manually reflashing the mouse firmware if a firmware update was performed with 0.3.1 or earlier. * An updater has been created to more quickly push bugfixes to users, especially for those on macOS. * There is a new Space Invaders-like minigame that can be played as an animation, thanks to @mvladimirovich. Support for new devices: * Strafe RGB MK.2; by accidental omission from the previous release. * K66 Important bugfixes: * The Scimitar Pro now defaults to v2.xx endpoints * The DPI LED on mice now changes in sniper mode * The GUI will warn if uinput cannot be loaded on Linux * The "Save to Hardware" button on the Scimitar and Glaive has been greyed out due to a current lack of support * Thanks to the efforts of @Kedstar99, the codebase compiles with much fewer warnings * Binding commands to wheels will now repeat properly * QuaZip is no longer required for daemon-only builds * KissFFT is now built as a static library * Symbolic links are now created in /dev/input/by-id for evdev users * Fixed a regression for devices using the legacy protocol Note for packagers: * If ckb-next is updated through a package management system, `-DDISABLE_UPDATER=1` should be passed to CMake version 0.3.1 Support for new devices: * K70 RGB MK.2 * K70 RGB MK.2 SE New major features: * The GUI now has a generate ckb-next-dev-detect report button Important bugfixes: * Rapidfire keyboards have a workaround on shutdown * Bugfix for independent X/Y DPI * The new Strafe NRGB has firmware updates now * The GUI pops up a warning when trying to bind the Windows key with Winlock enabled * The GUI now has a DPI indicator * The K68 NRGB winlock light now lights up * The GUI handles SIGINT/SIGTERM cleanly, avoiding stalled devices * Strafe sidelights now save state on GUI start * Original Strafe NRGB's sidelights now toggle correctly * ckb-next-dev-detect is now installed to the system and added to PATH version 0.3.0 Support for new devices: * K55 RGB * K68 RGB * K90 Legacy * Katar RGB * Polaris RGB * ST100 RGB New major features: * Use URB Interrupts to read data from devices * Profile Import/Export * Keyboard Layout autodetection * CMake build system * Relocation of binaries * No single global layout for all devices in the GUI Important bugfixes: * Deadlock on daemon exit * Support for K95 Platinum profile switch key * Keymap corruption on the GUI * Pulseaudio GUI deadlock * Use udev to detect the appropriate endpoint max packet size * Ignore devices in BIOS mode * Disable save to hardware for unsupported devices * Keymap patches for K68 * Workaround for linux kernel out-of-bounds write * Memory leaks on firmware update version 0.2.9 Important changes: * Significantly lower CPU usage on idle * Add support for K95 Platinum * Add support for K68 * Add support for (new) Strafe non-RGB * Add support for Glaive * Add support for Harpoon * Add support for Corsair firmware v3 * Add support for pt\_br layout * Add support for Japanese layout * Add macro delays to the GUI * New FIRMWARE file structure * GUI warning when daemon is not running * udev rule to remove joystick tag * Dynamic keymap patching * Require Qt >=5.2 * Numerous small fixes and improvements version 0.2.8 * `ckb` is now `ckb-next`, __but the binaries will be renamed in `v0.2.9`__ * Numerous PRs from `ckb` merged [\#4](https://github.com/mattanger/ckb-next/issues/4) * SIGSEGV when deleting copied profile is fixed [\#38](https://github.com/mattanger/ckb-next/issues/38) * `make debug` target on Linux is fixed [\#79](https://github.com/mattanger/ckb-next/issues/79) * Heat map animation issues fixed [\#30](https://github.com/mattanger/ckb-next/issues/30) * Compilation of the music visualizer fixed [\#21](https://github.com/mattanger/ckb-next/issues/21) * Hardware profile loading error on firmware 2.05 fixed [\#24](https://github.com/mattanger/ckb-next/pull/24) * Project's own firmware table created, signed and populated with new devices [\#60](https://github.com/mattanger/ckb-next/pull/60) * Arch Linux and Fedora/CentOS packages added [\#80](https://github.com/mattanger/ckb-next/pull/80) [\#5](https://github.com/mattanger/ckb-next/issues/5) [\#41](https://github.com/mattanger/ckb-next/pull/41) - Dropped ckb-external-quazip.patch (no longer necessary) - Refreshed ckb-use-var-run.patch as ckb-next-use-run.patch - Added ckb-next-systemd.patch, ckb-next-no-cmake-modules.patch and ckb-next-udev.patch - Update to version 0.2.6 - Use external quazip only when available - Replaced ckb-fix-desktop-file.patch with %suse_update_desktop_file - Replaced ckb-daemon-path.patch and ckb-animations-path.patch with macros for consistency. - Add hicoler folder, too - Fix icon folder - Initial package * Use /var/run instead of /dev/input for communication with the daemon. * move the daemon and the animations into the libexec folder OBS-URL: https://build.opensuse.org/request/show/664162 OBS-URL: https://build.opensuse.org/package/show/hardware/ckb-next?expand=0&rev=1
2019-01-10 08:17:45 +00:00
@@ -1,4 +1,4 @@
-#!/usr/bin/env bash
+#!/bin/bash
# Newline
N=$'\n'
Accepting request 856841 from home:alois:branches:hardware * 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
2020-12-18 09:12:10 +00:00
@@ -49,7 +49,7 @@ else
Accepting request 664162 from home:alois:branches:hardware - Update to version 0.3.2 Important news: * This version fixes a major bug for the Scimitar Pro, causing the daemon to not properly interface with the mouse. This could require manually reflashing the mouse firmware if a firmware update was performed with 0.3.1 or earlier. * An updater has been created to more quickly push bugfixes to users, especially for those on macOS. * There is a new Space Invaders-like minigame that can be played as an animation, thanks to @mvladimirovich. Support for new devices: * Strafe RGB MK.2; by accidental omission from the previous release. * K66 Important bugfixes: * The Scimitar Pro now defaults to v2.xx endpoints * The DPI LED on mice now changes in sniper mode * The GUI will warn if uinput cannot be loaded on Linux * The "Save to Hardware" button on the Scimitar and Glaive has been greyed out due to a current lack of support * Thanks to the efforts of @Kedstar99, the codebase compiles with much fewer warnings * Binding commands to wheels will now repeat properly * QuaZip is no longer required for daemon-only builds * KissFFT is now built as a static library * Symbolic links are now created in /dev/input/by-id for evdev users * Fixed a regression for devices using the legacy protocol Note for packagers: * If ckb-next is updated through a package management system, `-DDISABLE_UPDATER=1` should be passed to CMake version 0.3.1 Support for new devices: * K70 RGB MK.2 * K70 RGB MK.2 SE New major features: * The GUI now has a generate ckb-next-dev-detect report button Important bugfixes: * Rapidfire keyboards have a workaround on shutdown * Bugfix for independent X/Y DPI * The new Strafe NRGB has firmware updates now * The GUI pops up a warning when trying to bind the Windows key with Winlock enabled * The GUI now has a DPI indicator * The K68 NRGB winlock light now lights up * The GUI handles SIGINT/SIGTERM cleanly, avoiding stalled devices * Strafe sidelights now save state on GUI start * Original Strafe NRGB's sidelights now toggle correctly * ckb-next-dev-detect is now installed to the system and added to PATH version 0.3.0 Support for new devices: * K55 RGB * K68 RGB * K90 Legacy * Katar RGB * Polaris RGB * ST100 RGB New major features: * Use URB Interrupts to read data from devices * Profile Import/Export * Keyboard Layout autodetection * CMake build system * Relocation of binaries * No single global layout for all devices in the GUI Important bugfixes: * Deadlock on daemon exit * Support for K95 Platinum profile switch key * Keymap corruption on the GUI * Pulseaudio GUI deadlock * Use udev to detect the appropriate endpoint max packet size * Ignore devices in BIOS mode * Disable save to hardware for unsupported devices * Keymap patches for K68 * Workaround for linux kernel out-of-bounds write * Memory leaks on firmware update version 0.2.9 Important changes: * Significantly lower CPU usage on idle * Add support for K95 Platinum * Add support for K68 * Add support for (new) Strafe non-RGB * Add support for Glaive * Add support for Harpoon * Add support for Corsair firmware v3 * Add support for pt\_br layout * Add support for Japanese layout * Add macro delays to the GUI * New FIRMWARE file structure * GUI warning when daemon is not running * udev rule to remove joystick tag * Dynamic keymap patching * Require Qt >=5.2 * Numerous small fixes and improvements version 0.2.8 * `ckb` is now `ckb-next`, __but the binaries will be renamed in `v0.2.9`__ * Numerous PRs from `ckb` merged [\#4](https://github.com/mattanger/ckb-next/issues/4) * SIGSEGV when deleting copied profile is fixed [\#38](https://github.com/mattanger/ckb-next/issues/38) * `make debug` target on Linux is fixed [\#79](https://github.com/mattanger/ckb-next/issues/79) * Heat map animation issues fixed [\#30](https://github.com/mattanger/ckb-next/issues/30) * Compilation of the music visualizer fixed [\#21](https://github.com/mattanger/ckb-next/issues/21) * Hardware profile loading error on firmware 2.05 fixed [\#24](https://github.com/mattanger/ckb-next/pull/24) * Project's own firmware table created, signed and populated with new devices [\#60](https://github.com/mattanger/ckb-next/pull/60) * Arch Linux and Fedora/CentOS packages added [\#80](https://github.com/mattanger/ckb-next/pull/80) [\#5](https://github.com/mattanger/ckb-next/issues/5) [\#41](https://github.com/mattanger/ckb-next/pull/41) - Dropped ckb-external-quazip.patch (no longer necessary) - Refreshed ckb-use-var-run.patch as ckb-next-use-run.patch - Added ckb-next-systemd.patch, ckb-next-no-cmake-modules.patch and ckb-next-udev.patch - Update to version 0.2.6 - Use external quazip only when available - Replaced ckb-fix-desktop-file.patch with %suse_update_desktop_file - Replaced ckb-daemon-path.patch and ckb-animations-path.patch with macros for consistency. - Add hicoler folder, too - Fix icon folder - Initial package * Use /var/run instead of /dev/input for communication with the daemon. * move the daemon and the animations into the libexec folder OBS-URL: https://build.opensuse.org/request/show/664162 OBS-URL: https://build.opensuse.org/package/show/hardware/ckb-next?expand=0&rev=1
2019-01-10 08:17:45 +00:00
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`"
Accepting request 664162 from home:alois:branches:hardware - Update to version 0.3.2 Important news: * This version fixes a major bug for the Scimitar Pro, causing the daemon to not properly interface with the mouse. This could require manually reflashing the mouse firmware if a firmware update was performed with 0.3.1 or earlier. * An updater has been created to more quickly push bugfixes to users, especially for those on macOS. * There is a new Space Invaders-like minigame that can be played as an animation, thanks to @mvladimirovich. Support for new devices: * Strafe RGB MK.2; by accidental omission from the previous release. * K66 Important bugfixes: * The Scimitar Pro now defaults to v2.xx endpoints * The DPI LED on mice now changes in sniper mode * The GUI will warn if uinput cannot be loaded on Linux * The "Save to Hardware" button on the Scimitar and Glaive has been greyed out due to a current lack of support * Thanks to the efforts of @Kedstar99, the codebase compiles with much fewer warnings * Binding commands to wheels will now repeat properly * QuaZip is no longer required for daemon-only builds * KissFFT is now built as a static library * Symbolic links are now created in /dev/input/by-id for evdev users * Fixed a regression for devices using the legacy protocol Note for packagers: * If ckb-next is updated through a package management system, `-DDISABLE_UPDATER=1` should be passed to CMake version 0.3.1 Support for new devices: * K70 RGB MK.2 * K70 RGB MK.2 SE New major features: * The GUI now has a generate ckb-next-dev-detect report button Important bugfixes: * Rapidfire keyboards have a workaround on shutdown * Bugfix for independent X/Y DPI * The new Strafe NRGB has firmware updates now * The GUI pops up a warning when trying to bind the Windows key with Winlock enabled * The GUI now has a DPI indicator * The K68 NRGB winlock light now lights up * The GUI handles SIGINT/SIGTERM cleanly, avoiding stalled devices * Strafe sidelights now save state on GUI start * Original Strafe NRGB's sidelights now toggle correctly * ckb-next-dev-detect is now installed to the system and added to PATH version 0.3.0 Support for new devices: * K55 RGB * K68 RGB * K90 Legacy * Katar RGB * Polaris RGB * ST100 RGB New major features: * Use URB Interrupts to read data from devices * Profile Import/Export * Keyboard Layout autodetection * CMake build system * Relocation of binaries * No single global layout for all devices in the GUI Important bugfixes: * Deadlock on daemon exit * Support for K95 Platinum profile switch key * Keymap corruption on the GUI * Pulseaudio GUI deadlock * Use udev to detect the appropriate endpoint max packet size * Ignore devices in BIOS mode * Disable save to hardware for unsupported devices * Keymap patches for K68 * Workaround for linux kernel out-of-bounds write * Memory leaks on firmware update version 0.2.9 Important changes: * Significantly lower CPU usage on idle * Add support for K95 Platinum * Add support for K68 * Add support for (new) Strafe non-RGB * Add support for Glaive * Add support for Harpoon * Add support for Corsair firmware v3 * Add support for pt\_br layout * Add support for Japanese layout * Add macro delays to the GUI * New FIRMWARE file structure * GUI warning when daemon is not running * udev rule to remove joystick tag * Dynamic keymap patching * Require Qt >=5.2 * Numerous small fixes and improvements version 0.2.8 * `ckb` is now `ckb-next`, __but the binaries will be renamed in `v0.2.9`__ * Numerous PRs from `ckb` merged [\#4](https://github.com/mattanger/ckb-next/issues/4) * SIGSEGV when deleting copied profile is fixed [\#38](https://github.com/mattanger/ckb-next/issues/38) * `make debug` target on Linux is fixed [\#79](https://github.com/mattanger/ckb-next/issues/79) * Heat map animation issues fixed [\#30](https://github.com/mattanger/ckb-next/issues/30) * Compilation of the music visualizer fixed [\#21](https://github.com/mattanger/ckb-next/issues/21) * Hardware profile loading error on firmware 2.05 fixed [\#24](https://github.com/mattanger/ckb-next/pull/24) * Project's own firmware table created, signed and populated with new devices [\#60](https://github.com/mattanger/ckb-next/pull/60) * Arch Linux and Fedora/CentOS packages added [\#80](https://github.com/mattanger/ckb-next/pull/80) [\#5](https://github.com/mattanger/ckb-next/issues/5) [\#41](https://github.com/mattanger/ckb-next/pull/41) - Dropped ckb-external-quazip.patch (no longer necessary) - Refreshed ckb-use-var-run.patch as ckb-next-use-run.patch - Added ckb-next-systemd.patch, ckb-next-no-cmake-modules.patch and ckb-next-udev.patch - Update to version 0.2.6 - Use external quazip only when available - Replaced ckb-fix-desktop-file.patch with %suse_update_desktop_file - Replaced ckb-daemon-path.patch and ckb-animations-path.patch with macros for consistency. - Add hicoler folder, too - Fix icon folder - Initial package * Use /var/run instead of /dev/input for communication with the daemon. * move the daemon and the animations into the libexec folder OBS-URL: https://build.opensuse.org/request/show/664162 OBS-URL: https://build.opensuse.org/package/show/hardware/ckb-next?expand=0&rev=1
2019-01-10 08:17:45 +00:00
OUT="${OUT}${N}${N}Kernel command line:${N}`cat /proc/cmdline`"
Accepting request 856841 from home:alois:branches:hardware * 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
2020-12-18 09:12:10 +00:00
GUIPATH="$(which ckb-next)"
Index: ckb-next-0.4.3/src/daemon/devnode.c
Accepting request 664162 from home:alois:branches:hardware - Update to version 0.3.2 Important news: * This version fixes a major bug for the Scimitar Pro, causing the daemon to not properly interface with the mouse. This could require manually reflashing the mouse firmware if a firmware update was performed with 0.3.1 or earlier. * An updater has been created to more quickly push bugfixes to users, especially for those on macOS. * There is a new Space Invaders-like minigame that can be played as an animation, thanks to @mvladimirovich. Support for new devices: * Strafe RGB MK.2; by accidental omission from the previous release. * K66 Important bugfixes: * The Scimitar Pro now defaults to v2.xx endpoints * The DPI LED on mice now changes in sniper mode * The GUI will warn if uinput cannot be loaded on Linux * The "Save to Hardware" button on the Scimitar and Glaive has been greyed out due to a current lack of support * Thanks to the efforts of @Kedstar99, the codebase compiles with much fewer warnings * Binding commands to wheels will now repeat properly * QuaZip is no longer required for daemon-only builds * KissFFT is now built as a static library * Symbolic links are now created in /dev/input/by-id for evdev users * Fixed a regression for devices using the legacy protocol Note for packagers: * If ckb-next is updated through a package management system, `-DDISABLE_UPDATER=1` should be passed to CMake version 0.3.1 Support for new devices: * K70 RGB MK.2 * K70 RGB MK.2 SE New major features: * The GUI now has a generate ckb-next-dev-detect report button Important bugfixes: * Rapidfire keyboards have a workaround on shutdown * Bugfix for independent X/Y DPI * The new Strafe NRGB has firmware updates now * The GUI pops up a warning when trying to bind the Windows key with Winlock enabled * The GUI now has a DPI indicator * The K68 NRGB winlock light now lights up * The GUI handles SIGINT/SIGTERM cleanly, avoiding stalled devices * Strafe sidelights now save state on GUI start * Original Strafe NRGB's sidelights now toggle correctly * ckb-next-dev-detect is now installed to the system and added to PATH version 0.3.0 Support for new devices: * K55 RGB * K68 RGB * K90 Legacy * Katar RGB * Polaris RGB * ST100 RGB New major features: * Use URB Interrupts to read data from devices * Profile Import/Export * Keyboard Layout autodetection * CMake build system * Relocation of binaries * No single global layout for all devices in the GUI Important bugfixes: * Deadlock on daemon exit * Support for K95 Platinum profile switch key * Keymap corruption on the GUI * Pulseaudio GUI deadlock * Use udev to detect the appropriate endpoint max packet size * Ignore devices in BIOS mode * Disable save to hardware for unsupported devices * Keymap patches for K68 * Workaround for linux kernel out-of-bounds write * Memory leaks on firmware update version 0.2.9 Important changes: * Significantly lower CPU usage on idle * Add support for K95 Platinum * Add support for K68 * Add support for (new) Strafe non-RGB * Add support for Glaive * Add support for Harpoon * Add support for Corsair firmware v3 * Add support for pt\_br layout * Add support for Japanese layout * Add macro delays to the GUI * New FIRMWARE file structure * GUI warning when daemon is not running * udev rule to remove joystick tag * Dynamic keymap patching * Require Qt >=5.2 * Numerous small fixes and improvements version 0.2.8 * `ckb` is now `ckb-next`, __but the binaries will be renamed in `v0.2.9`__ * Numerous PRs from `ckb` merged [\#4](https://github.com/mattanger/ckb-next/issues/4) * SIGSEGV when deleting copied profile is fixed [\#38](https://github.com/mattanger/ckb-next/issues/38) * `make debug` target on Linux is fixed [\#79](https://github.com/mattanger/ckb-next/issues/79) * Heat map animation issues fixed [\#30](https://github.com/mattanger/ckb-next/issues/30) * Compilation of the music visualizer fixed [\#21](https://github.com/mattanger/ckb-next/issues/21) * Hardware profile loading error on firmware 2.05 fixed [\#24](https://github.com/mattanger/ckb-next/pull/24) * Project's own firmware table created, signed and populated with new devices [\#60](https://github.com/mattanger/ckb-next/pull/60) * Arch Linux and Fedora/CentOS packages added [\#80](https://github.com/mattanger/ckb-next/pull/80) [\#5](https://github.com/mattanger/ckb-next/issues/5) [\#41](https://github.com/mattanger/ckb-next/pull/41) - Dropped ckb-external-quazip.patch (no longer necessary) - Refreshed ckb-use-var-run.patch as ckb-next-use-run.patch - Added ckb-next-systemd.patch, ckb-next-no-cmake-modules.patch and ckb-next-udev.patch - Update to version 0.2.6 - Use external quazip only when available - Replaced ckb-fix-desktop-file.patch with %suse_update_desktop_file - Replaced ckb-daemon-path.patch and ckb-animations-path.patch with macros for consistency. - Add hicoler folder, too - Fix icon folder - Initial package * Use /var/run instead of /dev/input for communication with the daemon. * move the daemon and the animations into the libexec folder OBS-URL: https://build.opensuse.org/request/show/664162 OBS-URL: https://build.opensuse.org/package/show/hardware/ckb-next?expand=0&rev=1
2019-01-10 08:17:45 +00:00
===================================================================
Accepting request 856841 from home:alois:branches:hardware * 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
2020-12-18 09:12:10 +00:00
--- ckb-next-0.4.3.orig/src/daemon/devnode.c
+++ ckb-next-0.4.3/src/daemon/devnode.c
Accepting request 664162 from home:alois:branches:hardware - Update to version 0.3.2 Important news: * This version fixes a major bug for the Scimitar Pro, causing the daemon to not properly interface with the mouse. This could require manually reflashing the mouse firmware if a firmware update was performed with 0.3.1 or earlier. * An updater has been created to more quickly push bugfixes to users, especially for those on macOS. * There is a new Space Invaders-like minigame that can be played as an animation, thanks to @mvladimirovich. Support for new devices: * Strafe RGB MK.2; by accidental omission from the previous release. * K66 Important bugfixes: * The Scimitar Pro now defaults to v2.xx endpoints * The DPI LED on mice now changes in sniper mode * The GUI will warn if uinput cannot be loaded on Linux * The "Save to Hardware" button on the Scimitar and Glaive has been greyed out due to a current lack of support * Thanks to the efforts of @Kedstar99, the codebase compiles with much fewer warnings * Binding commands to wheels will now repeat properly * QuaZip is no longer required for daemon-only builds * KissFFT is now built as a static library * Symbolic links are now created in /dev/input/by-id for evdev users * Fixed a regression for devices using the legacy protocol Note for packagers: * If ckb-next is updated through a package management system, `-DDISABLE_UPDATER=1` should be passed to CMake version 0.3.1 Support for new devices: * K70 RGB MK.2 * K70 RGB MK.2 SE New major features: * The GUI now has a generate ckb-next-dev-detect report button Important bugfixes: * Rapidfire keyboards have a workaround on shutdown * Bugfix for independent X/Y DPI * The new Strafe NRGB has firmware updates now * The GUI pops up a warning when trying to bind the Windows key with Winlock enabled * The GUI now has a DPI indicator * The K68 NRGB winlock light now lights up * The GUI handles SIGINT/SIGTERM cleanly, avoiding stalled devices * Strafe sidelights now save state on GUI start * Original Strafe NRGB's sidelights now toggle correctly * ckb-next-dev-detect is now installed to the system and added to PATH version 0.3.0 Support for new devices: * K55 RGB * K68 RGB * K90 Legacy * Katar RGB * Polaris RGB * ST100 RGB New major features: * Use URB Interrupts to read data from devices * Profile Import/Export * Keyboard Layout autodetection * CMake build system * Relocation of binaries * No single global layout for all devices in the GUI Important bugfixes: * Deadlock on daemon exit * Support for K95 Platinum profile switch key * Keymap corruption on the GUI * Pulseaudio GUI deadlock * Use udev to detect the appropriate endpoint max packet size * Ignore devices in BIOS mode * Disable save to hardware for unsupported devices * Keymap patches for K68 * Workaround for linux kernel out-of-bounds write * Memory leaks on firmware update version 0.2.9 Important changes: * Significantly lower CPU usage on idle * Add support for K95 Platinum * Add support for K68 * Add support for (new) Strafe non-RGB * Add support for Glaive * Add support for Harpoon * Add support for Corsair firmware v3 * Add support for pt\_br layout * Add support for Japanese layout * Add macro delays to the GUI * New FIRMWARE file structure * GUI warning when daemon is not running * udev rule to remove joystick tag * Dynamic keymap patching * Require Qt >=5.2 * Numerous small fixes and improvements version 0.2.8 * `ckb` is now `ckb-next`, __but the binaries will be renamed in `v0.2.9`__ * Numerous PRs from `ckb` merged [\#4](https://github.com/mattanger/ckb-next/issues/4) * SIGSEGV when deleting copied profile is fixed [\#38](https://github.com/mattanger/ckb-next/issues/38) * `make debug` target on Linux is fixed [\#79](https://github.com/mattanger/ckb-next/issues/79) * Heat map animation issues fixed [\#30](https://github.com/mattanger/ckb-next/issues/30) * Compilation of the music visualizer fixed [\#21](https://github.com/mattanger/ckb-next/issues/21) * Hardware profile loading error on firmware 2.05 fixed [\#24](https://github.com/mattanger/ckb-next/pull/24) * Project's own firmware table created, signed and populated with new devices [\#60](https://github.com/mattanger/ckb-next/pull/60) * Arch Linux and Fedora/CentOS packages added [\#80](https://github.com/mattanger/ckb-next/pull/80) [\#5](https://github.com/mattanger/ckb-next/issues/5) [\#41](https://github.com/mattanger/ckb-next/pull/41) - Dropped ckb-external-quazip.patch (no longer necessary) - Refreshed ckb-use-var-run.patch as ckb-next-use-run.patch - Added ckb-next-systemd.patch, ckb-next-no-cmake-modules.patch and ckb-next-udev.patch - Update to version 0.2.6 - Use external quazip only when available - Replaced ckb-fix-desktop-file.patch with %suse_update_desktop_file - Replaced ckb-daemon-path.patch and ckb-animations-path.patch with macros for consistency. - Add hicoler folder, too - Fix icon folder - Initial package * Use /var/run instead of /dev/input for communication with the daemon. * move the daemon and the animations into the libexec folder OBS-URL: https://build.opensuse.org/request/show/664162 OBS-URL: https://build.opensuse.org/package/show/hardware/ckb-next?expand=0&rev=1
2019-01-10 08:17:45 +00:00
@@ -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)
Accepting request 856841 from home:alois:branches:hardware * 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
2020-12-18 09:12:10 +00:00
Index: ckb-next-0.4.3/src/gui/kbmanager.cpp
Accepting request 664162 from home:alois:branches:hardware - Update to version 0.3.2 Important news: * This version fixes a major bug for the Scimitar Pro, causing the daemon to not properly interface with the mouse. This could require manually reflashing the mouse firmware if a firmware update was performed with 0.3.1 or earlier. * An updater has been created to more quickly push bugfixes to users, especially for those on macOS. * There is a new Space Invaders-like minigame that can be played as an animation, thanks to @mvladimirovich. Support for new devices: * Strafe RGB MK.2; by accidental omission from the previous release. * K66 Important bugfixes: * The Scimitar Pro now defaults to v2.xx endpoints * The DPI LED on mice now changes in sniper mode * The GUI will warn if uinput cannot be loaded on Linux * The "Save to Hardware" button on the Scimitar and Glaive has been greyed out due to a current lack of support * Thanks to the efforts of @Kedstar99, the codebase compiles with much fewer warnings * Binding commands to wheels will now repeat properly * QuaZip is no longer required for daemon-only builds * KissFFT is now built as a static library * Symbolic links are now created in /dev/input/by-id for evdev users * Fixed a regression for devices using the legacy protocol Note for packagers: * If ckb-next is updated through a package management system, `-DDISABLE_UPDATER=1` should be passed to CMake version 0.3.1 Support for new devices: * K70 RGB MK.2 * K70 RGB MK.2 SE New major features: * The GUI now has a generate ckb-next-dev-detect report button Important bugfixes: * Rapidfire keyboards have a workaround on shutdown * Bugfix for independent X/Y DPI * The new Strafe NRGB has firmware updates now * The GUI pops up a warning when trying to bind the Windows key with Winlock enabled * The GUI now has a DPI indicator * The K68 NRGB winlock light now lights up * The GUI handles SIGINT/SIGTERM cleanly, avoiding stalled devices * Strafe sidelights now save state on GUI start * Original Strafe NRGB's sidelights now toggle correctly * ckb-next-dev-detect is now installed to the system and added to PATH version 0.3.0 Support for new devices: * K55 RGB * K68 RGB * K90 Legacy * Katar RGB * Polaris RGB * ST100 RGB New major features: * Use URB Interrupts to read data from devices * Profile Import/Export * Keyboard Layout autodetection * CMake build system * Relocation of binaries * No single global layout for all devices in the GUI Important bugfixes: * Deadlock on daemon exit * Support for K95 Platinum profile switch key * Keymap corruption on the GUI * Pulseaudio GUI deadlock * Use udev to detect the appropriate endpoint max packet size * Ignore devices in BIOS mode * Disable save to hardware for unsupported devices * Keymap patches for K68 * Workaround for linux kernel out-of-bounds write * Memory leaks on firmware update version 0.2.9 Important changes: * Significantly lower CPU usage on idle * Add support for K95 Platinum * Add support for K68 * Add support for (new) Strafe non-RGB * Add support for Glaive * Add support for Harpoon * Add support for Corsair firmware v3 * Add support for pt\_br layout * Add support for Japanese layout * Add macro delays to the GUI * New FIRMWARE file structure * GUI warning when daemon is not running * udev rule to remove joystick tag * Dynamic keymap patching * Require Qt >=5.2 * Numerous small fixes and improvements version 0.2.8 * `ckb` is now `ckb-next`, __but the binaries will be renamed in `v0.2.9`__ * Numerous PRs from `ckb` merged [\#4](https://github.com/mattanger/ckb-next/issues/4) * SIGSEGV when deleting copied profile is fixed [\#38](https://github.com/mattanger/ckb-next/issues/38) * `make debug` target on Linux is fixed [\#79](https://github.com/mattanger/ckb-next/issues/79) * Heat map animation issues fixed [\#30](https://github.com/mattanger/ckb-next/issues/30) * Compilation of the music visualizer fixed [\#21](https://github.com/mattanger/ckb-next/issues/21) * Hardware profile loading error on firmware 2.05 fixed [\#24](https://github.com/mattanger/ckb-next/pull/24) * Project's own firmware table created, signed and populated with new devices [\#60](https://github.com/mattanger/ckb-next/pull/60) * Arch Linux and Fedora/CentOS packages added [\#80](https://github.com/mattanger/ckb-next/pull/80) [\#5](https://github.com/mattanger/ckb-next/issues/5) [\#41](https://github.com/mattanger/ckb-next/pull/41) - Dropped ckb-external-quazip.patch (no longer necessary) - Refreshed ckb-use-var-run.patch as ckb-next-use-run.patch - Added ckb-next-systemd.patch, ckb-next-no-cmake-modules.patch and ckb-next-udev.patch - Update to version 0.2.6 - Use external quazip only when available - Replaced ckb-fix-desktop-file.patch with %suse_update_desktop_file - Replaced ckb-daemon-path.patch and ckb-animations-path.patch with macros for consistency. - Add hicoler folder, too - Fix icon folder - Initial package * Use /var/run instead of /dev/input for communication with the daemon. * move the daemon and the animations into the libexec folder OBS-URL: https://build.opensuse.org/request/show/664162 OBS-URL: https://build.opensuse.org/package/show/hardware/ckb-next?expand=0&rev=1
2019-01-10 08:17:45 +00:00
===================================================================
Accepting request 856841 from home:alois:branches:hardware * 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
2020-12-18 09:12:10 +00:00
--- ckb-next-0.4.3.orig/src/gui/kbmanager.cpp
+++ ckb-next-0.4.3/src/gui/kbmanager.cpp
@@ -1,11 +1,7 @@
Accepting request 664162 from home:alois:branches:hardware - Update to version 0.3.2 Important news: * This version fixes a major bug for the Scimitar Pro, causing the daemon to not properly interface with the mouse. This could require manually reflashing the mouse firmware if a firmware update was performed with 0.3.1 or earlier. * An updater has been created to more quickly push bugfixes to users, especially for those on macOS. * There is a new Space Invaders-like minigame that can be played as an animation, thanks to @mvladimirovich. Support for new devices: * Strafe RGB MK.2; by accidental omission from the previous release. * K66 Important bugfixes: * The Scimitar Pro now defaults to v2.xx endpoints * The DPI LED on mice now changes in sniper mode * The GUI will warn if uinput cannot be loaded on Linux * The "Save to Hardware" button on the Scimitar and Glaive has been greyed out due to a current lack of support * Thanks to the efforts of @Kedstar99, the codebase compiles with much fewer warnings * Binding commands to wheels will now repeat properly * QuaZip is no longer required for daemon-only builds * KissFFT is now built as a static library * Symbolic links are now created in /dev/input/by-id for evdev users * Fixed a regression for devices using the legacy protocol Note for packagers: * If ckb-next is updated through a package management system, `-DDISABLE_UPDATER=1` should be passed to CMake version 0.3.1 Support for new devices: * K70 RGB MK.2 * K70 RGB MK.2 SE New major features: * The GUI now has a generate ckb-next-dev-detect report button Important bugfixes: * Rapidfire keyboards have a workaround on shutdown * Bugfix for independent X/Y DPI * The new Strafe NRGB has firmware updates now * The GUI pops up a warning when trying to bind the Windows key with Winlock enabled * The GUI now has a DPI indicator * The K68 NRGB winlock light now lights up * The GUI handles SIGINT/SIGTERM cleanly, avoiding stalled devices * Strafe sidelights now save state on GUI start * Original Strafe NRGB's sidelights now toggle correctly * ckb-next-dev-detect is now installed to the system and added to PATH version 0.3.0 Support for new devices: * K55 RGB * K68 RGB * K90 Legacy * Katar RGB * Polaris RGB * ST100 RGB New major features: * Use URB Interrupts to read data from devices * Profile Import/Export * Keyboard Layout autodetection * CMake build system * Relocation of binaries * No single global layout for all devices in the GUI Important bugfixes: * Deadlock on daemon exit * Support for K95 Platinum profile switch key * Keymap corruption on the GUI * Pulseaudio GUI deadlock * Use udev to detect the appropriate endpoint max packet size * Ignore devices in BIOS mode * Disable save to hardware for unsupported devices * Keymap patches for K68 * Workaround for linux kernel out-of-bounds write * Memory leaks on firmware update version 0.2.9 Important changes: * Significantly lower CPU usage on idle * Add support for K95 Platinum * Add support for K68 * Add support for (new) Strafe non-RGB * Add support for Glaive * Add support for Harpoon * Add support for Corsair firmware v3 * Add support for pt\_br layout * Add support for Japanese layout * Add macro delays to the GUI * New FIRMWARE file structure * GUI warning when daemon is not running * udev rule to remove joystick tag * Dynamic keymap patching * Require Qt >=5.2 * Numerous small fixes and improvements version 0.2.8 * `ckb` is now `ckb-next`, __but the binaries will be renamed in `v0.2.9`__ * Numerous PRs from `ckb` merged [\#4](https://github.com/mattanger/ckb-next/issues/4) * SIGSEGV when deleting copied profile is fixed [\#38](https://github.com/mattanger/ckb-next/issues/38) * `make debug` target on Linux is fixed [\#79](https://github.com/mattanger/ckb-next/issues/79) * Heat map animation issues fixed [\#30](https://github.com/mattanger/ckb-next/issues/30) * Compilation of the music visualizer fixed [\#21](https://github.com/mattanger/ckb-next/issues/21) * Hardware profile loading error on firmware 2.05 fixed [\#24](https://github.com/mattanger/ckb-next/pull/24) * Project's own firmware table created, signed and populated with new devices [\#60](https://github.com/mattanger/ckb-next/pull/60) * Arch Linux and Fedora/CentOS packages added [\#80](https://github.com/mattanger/ckb-next/pull/80) [\#5](https://github.com/mattanger/ckb-next/issues/5) [\#41](https://github.com/mattanger/ckb-next/pull/41) - Dropped ckb-external-quazip.patch (no longer necessary) - Refreshed ckb-use-var-run.patch as ckb-next-use-run.patch - Added ckb-next-systemd.patch, ckb-next-no-cmake-modules.patch and ckb-next-udev.patch - Update to version 0.2.6 - Use external quazip only when available - Replaced ckb-fix-desktop-file.patch with %suse_update_desktop_file - Replaced ckb-daemon-path.patch and ckb-animations-path.patch with macros for consistency. - Add hicoler folder, too - Fix icon folder - Initial package * Use /var/run instead of /dev/input for communication with the daemon. * move the daemon and the animations into the libexec folder OBS-URL: https://build.opensuse.org/request/show/664162 OBS-URL: https://build.opensuse.org/package/show/hardware/ckb-next?expand=0&rev=1
2019-01-10 08:17:45 +00:00
#include "kbmanager.h"
Accepting request 856841 from home:alois:branches:hardware * 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
2020-12-18 09:12:10 +00:00
#include "idletimer.h"
Accepting request 664162 from home:alois:branches:hardware - Update to version 0.3.2 Important news: * This version fixes a major bug for the Scimitar Pro, causing the daemon to not properly interface with the mouse. This could require manually reflashing the mouse firmware if a firmware update was performed with 0.3.1 or earlier. * An updater has been created to more quickly push bugfixes to users, especially for those on macOS. * There is a new Space Invaders-like minigame that can be played as an animation, thanks to @mvladimirovich. Support for new devices: * Strafe RGB MK.2; by accidental omission from the previous release. * K66 Important bugfixes: * The Scimitar Pro now defaults to v2.xx endpoints * The DPI LED on mice now changes in sniper mode * The GUI will warn if uinput cannot be loaded on Linux * The "Save to Hardware" button on the Scimitar and Glaive has been greyed out due to a current lack of support * Thanks to the efforts of @Kedstar99, the codebase compiles with much fewer warnings * Binding commands to wheels will now repeat properly * QuaZip is no longer required for daemon-only builds * KissFFT is now built as a static library * Symbolic links are now created in /dev/input/by-id for evdev users * Fixed a regression for devices using the legacy protocol Note for packagers: * If ckb-next is updated through a package management system, `-DDISABLE_UPDATER=1` should be passed to CMake version 0.3.1 Support for new devices: * K70 RGB MK.2 * K70 RGB MK.2 SE New major features: * The GUI now has a generate ckb-next-dev-detect report button Important bugfixes: * Rapidfire keyboards have a workaround on shutdown * Bugfix for independent X/Y DPI * The new Strafe NRGB has firmware updates now * The GUI pops up a warning when trying to bind the Windows key with Winlock enabled * The GUI now has a DPI indicator * The K68 NRGB winlock light now lights up * The GUI handles SIGINT/SIGTERM cleanly, avoiding stalled devices * Strafe sidelights now save state on GUI start * Original Strafe NRGB's sidelights now toggle correctly * ckb-next-dev-detect is now installed to the system and added to PATH version 0.3.0 Support for new devices: * K55 RGB * K68 RGB * K90 Legacy * Katar RGB * Polaris RGB * ST100 RGB New major features: * Use URB Interrupts to read data from devices * Profile Import/Export * Keyboard Layout autodetection * CMake build system * Relocation of binaries * No single global layout for all devices in the GUI Important bugfixes: * Deadlock on daemon exit * Support for K95 Platinum profile switch key * Keymap corruption on the GUI * Pulseaudio GUI deadlock * Use udev to detect the appropriate endpoint max packet size * Ignore devices in BIOS mode * Disable save to hardware for unsupported devices * Keymap patches for K68 * Workaround for linux kernel out-of-bounds write * Memory leaks on firmware update version 0.2.9 Important changes: * Significantly lower CPU usage on idle * Add support for K95 Platinum * Add support for K68 * Add support for (new) Strafe non-RGB * Add support for Glaive * Add support for Harpoon * Add support for Corsair firmware v3 * Add support for pt\_br layout * Add support for Japanese layout * Add macro delays to the GUI * New FIRMWARE file structure * GUI warning when daemon is not running * udev rule to remove joystick tag * Dynamic keymap patching * Require Qt >=5.2 * Numerous small fixes and improvements version 0.2.8 * `ckb` is now `ckb-next`, __but the binaries will be renamed in `v0.2.9`__ * Numerous PRs from `ckb` merged [\#4](https://github.com/mattanger/ckb-next/issues/4) * SIGSEGV when deleting copied profile is fixed [\#38](https://github.com/mattanger/ckb-next/issues/38) * `make debug` target on Linux is fixed [\#79](https://github.com/mattanger/ckb-next/issues/79) * Heat map animation issues fixed [\#30](https://github.com/mattanger/ckb-next/issues/30) * Compilation of the music visualizer fixed [\#21](https://github.com/mattanger/ckb-next/issues/21) * Hardware profile loading error on firmware 2.05 fixed [\#24](https://github.com/mattanger/ckb-next/pull/24) * Project's own firmware table created, signed and populated with new devices [\#60](https://github.com/mattanger/ckb-next/pull/60) * Arch Linux and Fedora/CentOS packages added [\#80](https://github.com/mattanger/ckb-next/pull/80) [\#5](https://github.com/mattanger/ckb-next/issues/5) [\#41](https://github.com/mattanger/ckb-next/pull/41) - Dropped ckb-external-quazip.patch (no longer necessary) - Refreshed ckb-use-var-run.patch as ckb-next-use-run.patch - Added ckb-next-systemd.patch, ckb-next-no-cmake-modules.patch and ckb-next-udev.patch - Update to version 0.2.6 - Use external quazip only when available - Replaced ckb-fix-desktop-file.patch with %suse_update_desktop_file - Replaced ckb-daemon-path.patch and ckb-animations-path.patch with macros for consistency. - Add hicoler folder, too - Fix icon folder - Initial package * Use /var/run instead of /dev/input for communication with the daemon. * move the daemon and the animations into the libexec folder OBS-URL: https://build.opensuse.org/request/show/664162 OBS-URL: https://build.opensuse.org/package/show/hardware/ckb-next?expand=0&rev=1
2019-01-10 08:17:45 +00:00
-#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;