Skip to content

Commit

Permalink
Tweak Experimental
Browse files Browse the repository at this point in the history
Closes #1
  • Loading branch information
Comma Device committed May 5, 2024
1 parent 422140a commit 5d10b46
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 2 deletions.
11 changes: 11 additions & 0 deletions notes.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,8 @@
# Comma 3 touch points

bottom left = 0,0
top right = 1080,2160

## Bookmark Button
110/108

Expand All @@ -8,7 +11,15 @@

## Experimental Toggle Button

### First version
911/2003

911/1080
2003/2160

### Second Version

875/2030

hex(int(875/1080*10000))
hex(int(2030/2160*10000))
4 changes: 2 additions & 2 deletions touch.c
Original file line number Diff line number Diff line change
Expand Up @@ -70,8 +70,8 @@ void main(void) {
0x03, // Contact Identifier
0x03, // Tip Switch and In Range
0x7F, // Pressure
0xf3, 0x20, // x / 10000
0x39, 0x24, // y / 10000
0xa5, 0x1f, // x / 10000
0xb6, 0x24, // y / 10000
};

__xdata unsigned char touchUpReport3[] = {
Expand Down

0 comments on commit 5d10b46

Please sign in to comment.