summaryrefslogtreecommitdiff
path: root/app-misc/ckb/files
diff options
context:
space:
mode:
authorV3n3RiX <venerix@koprulu.sector>2022-09-09 22:41:02 +0100
committerV3n3RiX <venerix@koprulu.sector>2022-09-09 22:41:02 +0100
commitf848d5eacad65f1f52c168d9b0f74dec3e89b203 (patch)
tree6cb7b42d08801e79c25ab04d2e95b467ddd0b9bd /app-misc/ckb/files
parent9257212a8841f37588d5b5a94a7930db4585a106 (diff)
gentoo auto-resync : 09:09:2022 - 22:41:02
Diffstat (limited to 'app-misc/ckb/files')
-rw-r--r--app-misc/ckb/files/ckb-0.4.4-libinput-1.2.0.patch29
-rw-r--r--app-misc/ckb/files/ckb.initd29
2 files changed, 0 insertions, 58 deletions
diff --git a/app-misc/ckb/files/ckb-0.4.4-libinput-1.2.0.patch b/app-misc/ckb/files/ckb-0.4.4-libinput-1.2.0.patch
deleted file mode 100644
index 211d5e4ea01e..000000000000
--- a/app-misc/ckb/files/ckb-0.4.4-libinput-1.2.0.patch
+++ /dev/null
@@ -1,29 +0,0 @@
-From dc4dc54c5ebac7e4b455d8df35076fc044a581a7 Mon Sep 17 00:00:00 2001
-From: Tasos Sahanidis <tasos@tasossah.com>
-Date: Mon, 20 Sep 2021 14:48:18 +0300
-Subject: [PATCH] Don't enable unneeded axes in mouse device
-
-Specifically, we used to enable HI_RES wheel events without ever
-sending any. This breaks scrolling in latest libinput as it expects
-us to actually send HI_RES events.
----
- src/daemon/input_linux.c | 6 ++++--
- 1 file changed, 4 insertions(+), 2 deletions(-)
-
-diff --git a/src/daemon/input_linux.c b/src/daemon/input_linux.c
-index 68cc0ebb..a9ac8c8e 100644
---- a/src/daemon/input_linux.c
-+++ b/src/daemon/input_linux.c
-@@ -25,8 +25,10 @@ int uinputopen(struct uinput_user_dev* indev, int mouse){
- ioctl(fd, UI_SET_KEYBIT, i);
- // Enable mouse axes
- ioctl(fd, UI_SET_EVBIT, EV_REL);
-- for(int i = 0; i < REL_CNT; i++)
-- ioctl(fd, UI_SET_RELBIT, i);
-+ ioctl(fd, UI_SET_RELBIT, REL_X);
-+ ioctl(fd, UI_SET_RELBIT, REL_Y);
-+ ioctl(fd, UI_SET_RELBIT, REL_WHEEL);
-+ ioctl(fd, UI_SET_RELBIT, REL_HWHEEL);
- } else {
- // Enable common keyboard keys
- for(int i = KEY_ESC; i <= KEY_MEDIA; i++)
diff --git a/app-misc/ckb/files/ckb.initd b/app-misc/ckb/files/ckb.initd
deleted file mode 100644
index 76af0fd8438b..000000000000
--- a/app-misc/ckb/files/ckb.initd
+++ /dev/null
@@ -1,29 +0,0 @@
-#!/sbin/openrc-run
-## Copyright 1999-2015 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-
-extra_started_commands="reload"
-command="/usr/bin/ckb-daemon"
-description="Controller for Corsair Keyboard Driver"
-pidfile="/run/ckb.pid"
-logfile="/var/run/ckb.log"
-
-start() {
- ebegin "Starting Corsair Keyboard Driver"
- start-stop-daemon --start --exec "${command}" --pidfile "${pidfile}" --background \
- --stdout "${logfile}" --stderr "${logfile}"
- eend $?
-}
-
-stop() {
- ebegin "Stopping Corsair Keyboard Driver"
- start-stop-daemon --stop --exec "${command}" --pidfile "${pidfile}"
- eend $?
-
-}
-
-reload() {
- stop
- sleep 3
- start
-}