1
0
mirror of https://github.com/dguglielmi/sunny-overlay.git synced 2025-12-06 13:52:40 +01:00

app-misc/piper: add ebuild and patches

This commit is contained in:
2018-05-17 17:45:10 +02:00
parent 5a672c352f
commit a6e1f5103a
28 changed files with 3463 additions and 0 deletions

View File

@@ -0,0 +1,32 @@
From 4f560b0d1e13383a075dfe94de106942a2028860 Mon Sep 17 00:00:00 2001
From: Jente Hidskes <hjdskes@gmail.com>
Date: Thu, 14 Sep 2017 16:07:51 +0200
Subject: [PATCH 13/30] ratbagd: sync with libratbag
---
piper/ratbagd.py | 2 ++
1 file changed, 2 insertions(+)
diff --git a/piper/ratbagd.py b/piper/ratbagd.py
index e74039d..4478cf2 100644
--- a/piper/ratbagd.py
+++ b/piper/ratbagd.py
@@ -623,6 +623,7 @@ class RatbagdButton(_RatbagdDBus):
ACTION_TYPE_SPECIAL = 2
ACTION_TYPE_MACRO = 4
+ ACTION_SPECIAL_INVALID = -1
ACTION_SPECIAL_UNKNOWN = (1 << 30)
ACTION_SPECIAL_DOUBLECLICK = (1 << 30) + 1
ACTION_SPECIAL_WHEEL_LEFT = (1 << 30) + 2
@@ -684,6 +685,7 @@ class RatbagdButton(_RatbagdDBus):
"""A table mapping a special function to its human-readable description."""
SPECIAL_DESCRIPTION = {
+ ACTION_SPECIAL_INVALID: N_("Invalid"),
ACTION_SPECIAL_UNKNOWN: N_("Unknown"),
ACTION_SPECIAL_DOUBLECLICK: N_("Doubleclick"),
ACTION_SPECIAL_WHEEL_LEFT: N_("Wheel Left"),
--
2.16.1