Skip to content
Merged
Changes from 1 commit
Commits
Show all changes
20 commits
Select commit Hold shift + click to select a range
f31c249
Add a package called 'tactile' which provides utilities and classes t…
michaelDCurran Aug 15, 2024
30ed73c
Add a braille display driver for the Dot Pad tactile graphics braille…
michaelDCurran Aug 15, 2024
2879521
Pre-commit auto-fix
pre-commit-ci[bot] Aug 15, 2024
752fe1c
Add translator comments.
michaelDCurran Aug 15, 2024
9b19353
dotPad braille driver: save braille destination in config, and correc…
michaelDCurran Aug 15, 2024
73cca03
Update user guide.
michaelDCurran Aug 15, 2024
bbeb180
Update what's new
michaelDCurran Aug 15, 2024
a719902
Pre-commit auto-fix
pre-commit-ci[bot] Aug 15, 2024
1c320b6
drawBrailleCells: pass in desired cell padding. Update docstrings.
michaelDCurran Aug 15, 2024
470c866
Apply suggestions from code review
michaelDCurran Aug 18, 2024
efb0e29
Remove incorrect comment.
michaelDCurran Aug 18, 2024
cf5a144
Verify bounds when setting dots in drawBrailleCell
michaelDCurran Aug 18, 2024
56d2e46
Correct case of BrailleDestination constants.
michaelDCurran Aug 18, 2024
6fc04e6
Add type information.
michaelDCurran Aug 18, 2024
85b7095
dotPad: move Dot Pad device enums and constants into defs.py, move dr…
michaelDCurran Aug 18, 2024
2042d07
Update source/tactile/braille.py
michaelDCurran Aug 19, 2024
bdea59d
Pre-commit auto-fix
pre-commit-ci[bot] Aug 19, 2024
6928fef
setup.py include dotPad braille display driver package.
michaelDCurran Aug 19, 2024
f9d391f
Update user_docs/en/userGuide.md
seanbudd Aug 19, 2024
fe53dd8
Merge branch 'master' into dotPad
michaelDCurran Aug 27, 2024
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Add type information.
  • Loading branch information
michaelDCurran committed Aug 18, 2024
commit 6fc04e6d36debed46e7e8b9f361aced243cac316
4 changes: 2 additions & 2 deletions source/brailleDisplayDrivers/dotPad.py
Original file line number Diff line number Diff line change
Expand Up @@ -269,7 +269,7 @@ def _requestBoardInformation(self) -> DP_BoardInformation:
data = self._sendCommand(DP_Command.REQ_BOARD_INFORMATION, rspCmd=DP_Command.RSP_BOARD_INFORMATION)
return DP_BoardInformation.from_buffer_copy(data)

_displayLineCache = {}
_displayLineCache: dict[int, bytes] = {}

def _requestDisplayLine(self, dest: int, data: bytes, seqNum: int = 0):
oldData = self._displayLineCache.get(dest)
Expand Down Expand Up @@ -393,7 +393,7 @@ def _get_numCols(self) -> int:
return self._boardInformation.text.columnCount

_inDisplay = False
_pendingCells = None
_pendingCells: list[int] | None = None

def display(self, cells: list[int]):
if self._boardInformation is None:
Expand Down