ckb-next/ckb-next-udev.patch
Luigi Baldoni f8442f3b3e Accepting request 682987 from home:alois:branches:hardware
- Update to version 0.4.0
  Support for new devices:
  * K70 RGB MK.2 LP
  * M65 RGB Elite
  * M95 Legacy
  Important bugfixes:
  * ST100 now works on macOS properly
  * Strafe RGB MK.2 logo is mapped to the right LEDs, and media
    buttons are positioned correctly
  * A buffer overflow causing the daemon to crash or hang has
    been fixed
  * quickinstall can now run correctly with multibyte characters
    in the path
  * Rename now works correctly in the Profile Manager context
    menu
  * Animations with no presets no longer get loaded to prevent
    crashes
  * K70 Lux is now marked correctly as monochrome
  * ckb-next can be built again with Qt 5.2
  * Save to hardware now gets disabled in the context menu for
    unsupported devices
  * Settings backend has been changed to ini for macOS,
    preventing silent configuration data corruption
  * The K55, the ST100 and the Polaris now have working default
    profiles
  * A few cases that may cause the GUI to crash have been found
    and fixed
  * Blank animation names are no longer allowed
  New features:
  * GUI has gained a monochrome tray icon option
    (QSystemTrayIcon only)
  * Device brightness can be controlled by scrolling on the tray
    icon on Linux systems that support it (AppIndicator or KDE)
  * Profiles and modes can now be changed with the --profile and
    --mode arguments passed to the GUI binary
  * New Conway's Game of Life animation
  * New 'snake' animation
  * New 'pipe' animation, allowing the user to send rgb data
    from external applications
  * Music Visualizer (mviz) is now supported on macOS, and has
    been reworked to function correctly
  * A --version argument has been added to the daemon
  Notes:
  * On Linux, the udev rule has been renamed and moved
  * On Linux, for builds with libappindicator, it can be force
    enabled/disabled by setting the CKB_NEXT_USE_APPINDICATOR
    environment variable
  * On Linux, libappindicator support is also enabled if the Qt
    platform theme is gtk2 (Useful for Unity on Ubuntu 19.04)
  * The restart command has been removed from the daemon
  * Threads are now named for easier debugging
  * Signal handler has been rewritten
  * A few unneeded packets are no longer being sent to M65 mice
  * Only Red channel data is being sent to monochrome devices
- Refreshed ckb-next-systemd.patch and ckb-next-udev.patch

OBS-URL: https://build.opensuse.org/request/show/682987
OBS-URL: https://build.opensuse.org/package/show/hardware/ckb-next?expand=0&rev=4
2019-03-09 09:01:14 +00:00

9 lines
844 B
Diff

Index: ckb-next-0.4.0/linux/udev/99-ckb-next-daemon.rules
===================================================================
--- ckb-next-0.4.0.orig/linux/udev/99-ckb-next-daemon.rules
+++ ckb-next-0.4.0/linux/udev/99-ckb-next-daemon.rules
@@ -1,2 +1,2 @@
# Mark ckb devices as not a joystick and create symlinks to the virtual input devices
-ACTION=="add|change", SUBSYSTEM=="input", ATTRS{name}=="ckb[0-9]: [A-Za-z0-9]*", ENV{ID_INPUT_JOYSTICK}="", PROGRAM="/usr/bin/env sed 's/[0-9]: /-/' /sys/class/input/%k/device/name", ENV{.INPUT_NAME}="%c, "SYMLINK+="input/by-id/%E{.INPUT_NAME}-event"
+ACTION=="add|change", SUBSYSTEM=="input", ATTRS{name}=="ckb[0-9]: [A-Za-z0-9]*", ENV{ID_INPUT_JOYSTICK}="", PROGRAM="/usr/bin/sed 's/[0-9]: /-/' /sys/class/input/%k/device/name", ENV{.INPUT_NAME}="%c, "SYMLINK+="input/by-id/%E{.INPUT_NAME}-event"