Skip to content
Permalink

Comparing changes

This is a direct comparison between two commits made in this repository or its related repositories. View the default comparison for this range or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: pwr-Solaar/Solaar
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: 716b2883ea5302b1c52e2227aaef7995ed07ada3
Choose a base ref
..
head repository: pwr-Solaar/Solaar
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: bf462a66b4961a53566976d60578b529530025b7
Choose a head ref
Showing with 2 additions and 1 deletion.
  1. +2 −1 lib/logitech_receiver/diversion.py
3 changes: 2 additions & 1 deletion lib/logitech_receiver/diversion.py
Original file line number Diff line number Diff line change
@@ -27,6 +27,7 @@
import time

from typing import Dict
from typing import Tuple

import dbus
import gi
@@ -1114,7 +1115,7 @@ def evaluate(self, feature, notification, device, last_result):
return None


def keysym_to_keycode(keysym, _modifiers) -> tuple[int, int]: # maybe should take shift into account
def keysym_to_keycode(keysym, _modifiers) -> Tuple[int, int]: # maybe should take shift into account
"""Reverse the keycode to keysym mapping.
Warning: