Adam Martini
|
7a10b700e2
|
Remove use of tick_elaspe
|
2020-07-05 13:21:54 -07:00 |
|
Adam Martini
|
aea84d8d79
|
Cache timestamp for slew rate limit interation
|
2020-07-05 13:18:08 -07:00 |
|
Adam Martini
|
e3f4c11500
|
Remove previous thresholding and add creation defaults. Move angle caching to set value to cache last angel for type changes and external value setters.
|
2020-07-05 12:49:27 -07:00 |
|
Adam Martini
|
e256a27b5a
|
Add slew rate limited angle delta based on threshold of degress/sec
|
2020-07-05 12:25:44 -07:00 |
|
Gabor Kiss-Vamosi
|
3aa35a77cb
|
rotary: minor fixes on dragging
|
2020-06-28 22:03:20 +02:00 |
|
Adam Martini
|
3af55796d9
|
Remove uneeded point manupulaton
|
2020-06-26 19:39:10 -07:00 |
|
Adam Martini
|
200c1e788f
|
Second pass at angle based drag. Working with proper threshold setting with knowledge of rotary range.
|
2020-06-26 16:54:36 -07:00 |
|
Adam Martini
|
d271fd6108
|
Adjust click area extension
|
2020-06-26 12:35:41 -07:00 |
|
Adam Martini
|
7e4b8aa49b
|
Second attempt arc drag
|
2020-06-26 09:46:55 -07:00 |
|
Adam Martini
|
c36f731316
|
Only drag in one dimension because its too jumpy
|
2020-06-26 08:50:24 -07:00 |
|
Adam Martini
|
849d3d3255
|
Use point as last point
|
2020-06-26 08:48:12 -07:00 |
|
Adam Martini
|
ec4cc14bf9
|
Remove unsec x setter
|
2020-06-26 08:46:56 -07:00 |
|
Adam Martini
|
7de60867ef
|
Set last drag point based on diffs
|
2020-06-26 08:45:41 -07:00 |
|
Adam Martini
|
4011d54668
|
Use the max x and y drag diff to control drag
|
2020-06-26 08:40:30 -07:00 |
|
Adam Martini
|
8bcbceef08
|
Send event on if the value really does change
|
2020-06-25 23:05:48 -07:00 |
|
Adam Martini
|
7ce9a969c8
|
Rever drag limit integration as it makes rotary control too granular
|
2020-06-25 22:43:54 -07:00 |
|
Adam Martini
|
f836e90869
|
Account for indev drag limit
|
2020-06-25 22:40:03 -07:00 |
|
Adam Martini
|
6d07effbc3
|
Revert arc tracking
|
2020-06-25 21:39:19 -07:00 |
|
Adam Martini
|
a73b316681
|
Remove undeclared
|
2020-06-25 21:27:18 -07:00 |
|
Adam Martini
|
70a2287568
|
Remove undeclared
|
2020-06-25 21:24:19 -07:00 |
|
Adam Martini
|
9e3d8c9090
|
Remove undeclared
|
2020-06-25 21:23:14 -07:00 |
|
Adam Martini
|
2d4c709a88
|
Get area width using pointer
|
2020-06-25 21:22:37 -07:00 |
|
Adam Martini
|
92ecff3fc0
|
WIP: dragging on ring only using lv_atan
|
2020-06-25 21:18:42 -07:00 |
|
Adam Martini
|
f75428e52b
|
Match rotary_bg line width to indicator width
|
2020-06-23 23:06:56 -07:00 |
|
Adam Martini
|
b414aa755d
|
int32 fix to mapping logic
|
2020-06-23 13:33:25 -07:00 |
|
Adam Martini
|
5961800fe0
|
Fix map contract
|
2020-06-23 12:56:07 -07:00 |
|
Adam Martini
|
663af3dfb3
|
Shift mapping math out of floating point
|
2020-06-23 12:54:06 -07:00 |
|
Adam Martini
|
0aeb49d28a
|
Fix Set sym end angle
|
2020-06-22 22:53:58 -07:00 |
|
Adam Martini
|
83d05f945f
|
Fix bg_end init
|
2020-06-22 22:49:23 -07:00 |
|
Adam Martini
|
f0cae00574
|
Rearrange type call for clarity. Fix symmetric arc setters
|
2020-06-22 22:47:01 -07:00 |
|
Adam Martini
|
46f7dff9e2
|
Fix statement declaration
|
2020-06-22 21:56:31 -07:00 |
|
Adam Martini
|
9ede4ba707
|
typo
|
2020-06-22 21:54:47 -07:00 |
|
Adam Martini
|
1c071530ad
|
Remove sym references
|
2020-06-22 21:54:03 -07:00 |
|
Adam Martini
|
ba10671b2b
|
Rotary types. Add symmetric value setter
|
2020-06-22 21:50:21 -07:00 |
|
Adam Martini
|
af7134269e
|
Force set_value handling in reverse
|
2020-06-21 11:15:48 -07:00 |
|
Adam Martini
|
19a1afbd89
|
Fix reverse mapping
|
2020-06-21 11:05:24 -07:00 |
|
Adam Martini
|
5359a762b8
|
Reverse min and max in mapping reverse
|
2020-06-21 10:59:41 -07:00 |
|
Adam Martini
|
0d6b8a86d4
|
Try reverse mapping
|
2020-06-21 00:36:39 -07:00 |
|
Adam Martini
|
6c01490372
|
Use value setter for reverse start angle setting
|
2020-06-21 00:34:08 -07:00 |
|
Adam Martini
|
4ab8520bfb
|
Use lv math abs
|
2020-06-21 00:29:03 -07:00 |
|
Adam Martini
|
d60a6cbc76
|
Add reverse value mapping and arc tracking
|
2020-06-21 00:26:20 -07:00 |
|
Adam Martini
|
4bedc57b7d
|
Add setter for threshold
|
2020-06-21 00:08:49 -07:00 |
|
Adam Martini
|
e1761d50a1
|
Test threshold for value jupming
|
2020-06-21 00:05:09 -07:00 |
|
Adam Martini
|
856368284e
|
Test sensitivity threshold for value jumping
|
2020-06-20 23:58:03 -07:00 |
|
Adam Martini
|
ad990994d0
|
Fix release drag hoping better checking for -1 last drag x
|
2020-06-20 23:54:25 -07:00 |
|
Adam Martini
|
247b5b6f0c
|
Fix drag diff calc
|
2020-06-20 23:43:40 -07:00 |
|
Adam Martini
|
6836947e67
|
typo
|
2020-06-20 23:33:50 -07:00 |
|
Adam Martini
|
dc873966e9
|
Make sensitivity an int
|
2020-06-20 23:33:18 -07:00 |
|
Adam Martini
|
fe483e8e21
|
Add sensitivity default explicit
|
2020-06-20 23:26:22 -07:00 |
|
Adam Martini
|
3a31577592
|
Add sesitivty setter
|
2020-06-20 23:20:12 -07:00 |
|