Compare commits
2 Commits
73ab18e457
...
086ad19d13
Author | SHA1 | Date |
---|---|---|
Lephe | 086ad19d13 | |
Lephe | 57531e63bf |
|
@ -281,9 +281,9 @@ getkey_profile_t getkey_repeat_profile(void);
|
|||
@count Number of previous repeats (0 on the first call)
|
||||
|
||||
The profile function must either return a positive number of microseconds to
|
||||
wait until the next repeat, or 0 to block the repeat indefinitely. Note that
|
||||
the keyboard device typically updates every 7-8 ms, timings are tracked in
|
||||
microseconds only to limit deviations.
|
||||
wait until the next repeat, or -1 to block the repeat indefinitely. Note
|
||||
that the keyboard device typically updates every 7-8 ms, timings are tracked
|
||||
in microseconds only to limit deviations.
|
||||
|
||||
Setting a repeat profile overrides GETKEY_REP_ARROWS, GETKEY_REP_ALL, and
|
||||
the repeat delays. Calling with profile=NULL restores this behavior.
|
||||
|
|
|
@ -203,7 +203,7 @@ void bopti_render(bopti_image_t const *img, struct rbox *rbox, uint32_t *v1,
|
|||
.columns = rbox->columns,
|
||||
.masks = masks + 2 * left_origin,
|
||||
.real_start = (left_origin > 0),
|
||||
.real_end = (rbox->x & 31) && (left_origin + img_columns < 5),
|
||||
.real_end = (rbox->x & 31) && (left_origin + rbox->columns < 5),
|
||||
.vram_stride = 4 - rbox->columns,
|
||||
.data_stride = ((img_columns - rbox->columns) << 2) * layers,
|
||||
.gray = (v2 != NULL),
|
||||
|
|
Loading…
Reference in New Issue