Skip to content

Commit

Permalink
Use dot references
Browse files Browse the repository at this point in the history
  • Loading branch information
quaxalber committed Dec 6, 2023
1 parent 92011f5 commit 4a9ddef
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 6 deletions.
6 changes: 3 additions & 3 deletions src/bluetooth_2_usb/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
# Gather everything into a single, convenient namespace.
# --------------------------------------------------------------------------

from bluetooth_2_usb.evdev import (
from .evdev import (
ecodes,
evdev_to_usb_hid,
find_key_name,
Expand All @@ -11,8 +11,8 @@
is_consumer_key,
is_mouse_button,
)
from bluetooth_2_usb.logging import add_file_handler, get_logger
from bluetooth_2_usb.relay import (
from .logging import add_file_handler, get_logger
from .relay import (
DeviceIdentifier,
DeviceRelay,
IdentifierType,
Expand Down
2 changes: 1 addition & 1 deletion src/bluetooth_2_usb/evdev.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
from adafruit_hid.keycode import Keycode, MouseButton
from evdev import InputEvent, KeyEvent, RelEvent

from bluetooth_2_usb.logging import get_logger
from .logging import get_logger


_logger = get_logger()
Expand Down
4 changes: 2 additions & 2 deletions src/bluetooth_2_usb/relay.py
Original file line number Diff line number Diff line change
Expand Up @@ -17,13 +17,13 @@
import usb_hid
from usb_hid import Device

from bluetooth_2_usb.evdev import (
from .evdev import (
get_mouse_movement,
is_consumer_key,
is_mouse_button,
evdev_to_usb_hid,
)
from bluetooth_2_usb.logging import get_logger
from .logging import get_logger


_logger = get_logger()
Expand Down

0 comments on commit 4a9ddef

Please sign in to comment.