Wykres commitów

113 Commity (1d4fece1b6f90f45b70b7cd0f83838aa32ecf37c)

Autor SHA1 Wiadomość Data
Bart Cerneels 1d4fece1b6 Allow other Input implementations
This enables alternative implementations that could, for instance, use
ESP touchpads:

```
prv = buttons.touch_0
sel = buttons.touch_1
nxt = buttons.touch_2

class TouchInput:
    def __init__(self, prv, sel, nxt):
        self._prev = Touch(prv, 0)
        self._sel = Touch(sel, 1)
        self._next = Touch(nxt, 2)

        self._prev.press_func(Screen.ctrl_move, (_PPREV,))
        self._sel.release_func(Screen.sel_ctrl)
        self._next.press_func(Screen.ctrl_move, (_NNEXT,))

    def precision(self, val):
        Screen.redraw_co()

    def adj_mode(self, v=None):
        Screen.redraw_co()

    def is_adjust(self):
        return False

disp = Display(ssd, input=TouchInput(prv, sel, nxt))
```
2022-07-17 23:56:12 +02:00
Peter Hinch d65218b402 README.md: Example code illustrates monochrome use. 2022-07-08 14:37:15 +01:00
Peter Hinch d380914cf2 Add images for bitmap and QR code. 2022-06-09 08:33:12 +01:00
Peter Hinch 2aa36fd7b5 README.md fix typos. 2022-06-08 17:18:00 +01:00
Peter Hinch c03ed90796 First pass at bitmap and qrcode widgets. 2022-06-08 17:10:50 +01:00
Peter Hinch 3f7be4ebba README needs updating. 2022-05-21 18:56:04 +01:00
Peter Hinch 447e87bad1 Add bitmap demos. 2022-05-17 16:41:54 +01:00
Peter Hinch ed713ee081 Initial commit of bitmap.py. 2022-05-17 16:38:19 +01:00
Peter Hinch 0d25d5cbb8 README.md: link to list of supported displays. 2022-05-10 11:49:01 +01:00
Peter Hinch cad7a74188 Add working image. 2022-05-05 18:39:05 +01:00
Peter Hinch 5eb9bea20e Add debug images for issue. 2022-04-29 14:35:54 +01:00
Peter Hinch daab0fa859 ssd1351 drivers: remove unused import statement. 2022-04-28 12:57:14 +01:00
Peter Hinch 834ec5503c encoder.py: improve tracking of detents. 2022-04-21 17:55:12 +01:00
Peter Hinch 29ec451ad8 encoder.py: improve tracking of detents. 2022-04-21 13:50:32 +01:00
Peter Hinch 95af8c625f Update encoder examples to advise div ratio of 4. 2022-04-19 13:22:54 +01:00
Peter Hinch cef366f9de encoder.py - update to match master version. 2022-04-17 18:02:38 +01:00
Peter Hinch 982005736a Improve encoder precision. 2022-04-17 14:42:23 +01:00
Peter Hinch 4d98d7aecf Improve encoder precision. 2022-04-17 12:09:28 +01:00
Peter Hinch a248c4277b Label widget: dynamic justify option. 2022-04-09 11:21:04 +01:00
Peter Hinch 9dd7368244 Label widget: add justify option. 2022-04-08 14:37:55 +01:00
Peter Hinch d4fdc2e7f3 ugui.py: Enable user to disable GC. 2022-03-24 18:06:34 +00:00
Peter Hinch 08a8ef3b09 ugui.py: Enable user to disable GC. 2022-03-24 17:27:03 +00:00
Peter Hinch d2a9cf037f ugui.py: Enable user to disable GC. 2022-03-24 16:59:42 +00:00
Peter Hinch c31d465f7a README.md: Update comments on RAM usage. 2022-02-17 17:39:09 +00:00
Peter Hinch 9892922090 Add missing pushbutton.py. 2022-02-17 08:40:22 +00:00
Peter Hinch e289692be1 Add free RAM print and quiet() function. 2022-02-15 17:50:30 +00:00
Peter Hinch 01b00c5e2c 3-button mode: fix double-click on button. 2022-02-07 18:51:16 +00:00
Peter Hinch f7c33cb408 V0.1.5 3-button adjustment mode. 2022-02-06 12:05:38 +00:00
Peter Hinch d2247be40a README: Add image and link re icon fonts. 2022-01-17 13:23:56 +00:00
Peter Hinch 8370ebc752 Add support for popup windows. 2022-01-14 10:29:53 +00:00
Peter Hinch a3dc83f357 Fix window with one active widget closing on pressing button. 2022-01-13 17:47:34 +00:00
Peter Hinch 5ed42f918d Improved setup example pico_lcd_114.py 2021-12-21 16:15:36 +00:00
Peter Hinch 510d24d996 Add support for Waveshare Pico LCD 1.14 2021-12-21 11:54:58 +00:00
Peter Hinch 645abe08b9 Fix FloatAdj bug. 2021-11-20 14:03:17 +00:00
Peter Hinch 8d76bd8cd4 README: add Adjuster images. 2021-11-10 16:59:11 +00:00
Peter Hinch 5f4369fbb3 FloatAdj uses inheritance not composition. 2021-11-09 16:24:15 +00:00
Peter Hinch 5c7d6c96b3 Add FloatAdj to widgets/adjuster.py 2021-11-09 11:46:59 +00:00
Peter Hinch 35064c3501 Add Adjuster widget and demos. 2021-11-08 11:35:06 +00:00
Peter Hinch c2b858e18e Remove audio_monitored demo. 2021-11-06 18:17:29 +00:00
Peter Hinch 77b5c7203e Add realtime synchronisation option. 2021-10-23 09:56:24 +01:00
Peter Hinch dcd907c69b Various tweaks to audio demo. 2021-09-29 17:39:22 +01:00
Peter Hinch fae4c5edc9 Listbox can trim text. 2021-09-29 14:20:15 +01:00
Peter Hinch 58dac4b6a0 Label clips over-long text instead of raising. 2021-09-29 09:08:10 +01:00
Peter Hinch d303184b45 Add audio demo and icon font. 2021-09-22 09:01:14 +01:00
Peter Hinch a931e1a14e Writer and Listbox bug fixes. 2021-09-19 12:02:09 +01:00
Peter Hinch 6f7a9e8914 README.md add Screen usage notes. 2021-09-18 11:54:06 +01:00
Peter Hinch a9fd3492b9 README.md Add note on icon fonts. 2021-09-14 07:28:07 +01:00
Peter Hinch 9761fbe50c Support scrolling in Listbox and Dropdown widgets. 2021-09-12 14:13:41 +01:00
Peter Hinch 6ff7206e72 Smaller, faster writer.py. Requires fw V1.17 or later. 2021-09-07 10:55:37 +01:00
Peter Hinch 7010e931f1 writer.py: Add timing comments. 2021-08-31 08:56:30 +01:00