diff --git a/source/brailleDisplayDrivers/eurobraille/gestures.py b/source/brailleDisplayDrivers/eurobraille/gestures.py index 4e056b4ebd..b02e307cb8 100644 --- a/source/brailleDisplayDrivers/eurobraille/gestures.py +++ b/source/brailleDisplayDrivers/eurobraille/gestures.py @@ -162,7 +162,7 @@ class InputGesture(braille.BrailleDisplayGesture, brailleInput.BrailleInputGestu def __init__(self, display: "BrailleDisplayDriver"): super().__init__() - self.model = display.ProtocolType.lower().split(" ")[0] + self.model = display.deviceType.lower().split(" ")[0] keysDown = dict(display.keysDown) self.keyNames = names = [] diff --git a/tests/unit/test_bdDetect.py b/tests/unit/test_bdDetect.py index 180bb0f9b0..7a85583d37 100644 --- a/tests/unit/test_bdDetect.py +++ b/tests/unit/test_bdDetect.py @@ -1,7 +1,7 @@ # A part of NonVisual Desktop Access (NVDA) # This file is covered by the GNU General Public License. # See the file COPYING for more details. -# Copyright (C) 2023-2025 NV Access Limited, Babbage B.V., Leonard de Ruijter +# Copyright (C) 2023 NV Access Limited, Babbage B.V., Leonard de Ruijter """Unit tests for the bdDetect module."""