Skip to content

Commit

Permalink
Show active/inactive state in primary font
Browse files Browse the repository at this point in the history
  • Loading branch information
pbek committed Dec 3, 2022
1 parent 534cf48 commit 7d592af
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 4 deletions.
9 changes: 6 additions & 3 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,10 +1,13 @@
# Changelog

## 0.4
- Show active/inactive state in primary font (bold)

## 0.3
- add a delay between key-presses (with left/right buttons)
- Add a delay between key-presses (with left/right buttons)

## 0.2
- update icon
- Update icon

## 0.1
- initial release of the USB HID Autofire application
- Initial release of the USB HID Autofire application
2 changes: 1 addition & 1 deletion usb_hid_autofire.c
Original file line number Diff line number Diff line change
Expand Up @@ -31,12 +31,12 @@ static void usb_hid_autofire_render_callback(Canvas* canvas, void* ctx) {

canvas_set_font(canvas, FontPrimary);
canvas_draw_str(canvas, 0, 10, "USB HID Autofire");
canvas_draw_str(canvas, 0, 34, btn_left_autofire ? "<active>" : "<inactive>");

canvas_set_font(canvas, FontSecondary);
canvas_draw_str(canvas, 90, 10, "v");
canvas_draw_str(canvas, 96, 10, VERSION);
canvas_draw_str(canvas, 0, 22, "Press [ok] for auto left clicking");
canvas_draw_str(canvas, 0, 34, btn_left_autofire ? "<active>" : "<inactive>");
canvas_draw_str(canvas, 0, 46, "delay [ms]:");
canvas_draw_str(canvas, 50, 46, autofire_delay_str);
canvas_draw_str(canvas, 0, 63, "Press [back] to exit");
Expand Down

0 comments on commit 7d592af

Please sign in to comment.