Commit Graph

37 Commits (26340b7edb0262f4c22d21cdbd58bc44678cf51f)

Author SHA1 Message Date
Gergely Nagy 26340b7edb
Rename the `command` arg of `onFocusEvent` to `input`
2 years ago
Gergely Nagy 8ac4d9f5c1
A more efficient way to handle onFocusEvent commands
2 years ago
Gergely Nagy a4b84057b0
FocusSerial: Use `.readBytes()` rather than `.read()` for reading a `char`
2 years ago
Taylor Yu af3dc61710 Focus: correctly handle delayed newline
2 years ago
Taylor Yu cf66803288 use CRLF for Focus newlines
2 years ago
Gergely Nagy e52cf5c821
FocusSerial: Add Focus.read(char &c)
2 years ago
Michael Richters 396b4220f2
Update header includes and format code
2 years ago
Michael Richters bce72c4ddc
Convert static variables and functions to members
2 years ago
Michael Richters 403ea4a8ec
Remove unnecessary constructor definitions
2 years ago
Gergely Nagy 6106b9d6b2
FocusSerial: isEOL() should return true when there's no more data
3 years ago
Michael Richters ca0f80d607
Process Kaleidoscope with `iwyu.py`
3 years ago
Michael Richters 418fdcad7e
Add IWYU pragmas where necessary to keep or exclude selected headers
3 years ago
Jesse Vincent 3c3ff1efc8 Last minute hot fix for the GD32 Arduino core not autoflushing once per ms.
3 years ago
Jesse Vincent c208f02715 Workaround for GD32 Serial writes dropping characters when running
3 years ago
Michael Richters e5d67efd58
Format codebase with `clang-format`
3 years ago
Michael Richters cf5c19dd6c
Standardize namespace block closing comments
3 years ago
Michael Richters fd98ea2207 Rearrange plugin headers with `include-what-you-use`
3 years ago
Gergely Nagy 8f58179241
FocusSerial: Implement a `device.reset` command
3 years ago
Jesse Vincent fbfede3566
astyle
3 years ago
Jesse Vincent 54fbb04eb6
Give FocusSerial the ability to build a command string across multiple
3 years ago
Jesse Vincent 46d9f06d77
astyle
3 years ago
Jesse Vincent 5c7ffe6383
explanatory comment
3 years ago
Jesse Vincent 62f668fd25
Don't block waiting for input blindly. Be more efficient about how we check for a newline to end processing. Replace a magic value with what it really means.
3 years ago
Jesse Vincent c9943057f4
Abort processing if there was no command
3 years ago
Jesse Vincent 34e630438b
Use a constant to make code clearer
3 years ago
Jesse Vincent aa34c150d2
Since the array is clean, we don't need to write a \0 after the command
3 years ago
Jesse Vincent 80e7408e03
reinit our command as we start parsing
3 years ago
Jesse Vincent 1d3c7b3399
Replace 'drain' with a slightly more correct implementation
3 years ago
Jesse Vincent 5ca95d0deb
Add an explanatory comment
3 years ago
Michael Richters 3ddd12ea04
Adapt FocusSerial plugin to KeyEvent handlers
4 years ago
Gergely Nagy fc1296395e
New hook: onNameQuery()
4 years ago
Jesse Vincent 81ae19a7ec
Cleanups for typos and broken links across the documentation
4 years ago
Jesse Vincent efeea31589
More library tweaking to comply with arduino requirements
4 years ago
Jesse Vincent 33626a569f
Move most plugin READMEs back into the plugins
4 years ago
Jesse Vincent 46c567c01a
Add generated 'author' lines to plugins based on Copyright statements.
4 years ago
Jesse Vincent 1a5193c443
Add maintainer, sentence, and url to all the plugin libraries
4 years ago
Jesse Vincent ad07aeee97
Migrate Kaleidoscope-FocusSerial to the plugins directory
4 years ago