Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Keyboard-related updates & addition (Flex / Stax) #202

Merged
merged 1 commit into from
Jul 22, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
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
14 changes: 14 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,20 @@ All notable changes to this project will be documented in this file.
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).

## [1.22.0] - 2024-07-22

### Added

- firmware/flex: Added the suggestion buttons positions (used with keyboard)

### Changed

- firmware/stax: Updated the suggestion buttons positions (used with keyboard)

### Fixed

- firmware/flex: Wrong keyboard position

## [1.21.1] - 2024-07-16

### Fixed
Expand Down
16 changes: 11 additions & 5 deletions src/ragger/firmware/touch/positions.py
Original file line number Diff line number Diff line change
Expand Up @@ -83,10 +83,16 @@ def __iter__(self):
Firmware.STAX: {
# 4 suggestions max, 2 rows of 2
# indexes for left to right, from up to down
1: Position(100, 310),
2: Position(290, 310),
3: Position(110, 380),
4: Position(290, 380),
1: Position(100, 280),
2: Position(290, 280),
3: Position(110, 350),
4: Position(290, 350),
},
Firmware.FLEX: {
# On Flex, suggestions are on a single line, which can be swiped to access the last
# ones. At start, only 2 suggestions are clickable
1: Position(140, 300),
2: Position(350, 300),
},
},
"LetterOnlyKeyboard": {
Expand Down Expand Up @@ -132,7 +138,7 @@ def __iter__(self):
"y": Position(264, 415),
"u": Position(312, 415),
"i": Position(360, 415),
"o": Position(108, 415),
"o": Position(308, 415),
"p": Position(456, 415),
# second line
"a": Position(48, 490),
Expand Down
Loading