Pete Johanson
2a69f31eb0
refactor(core): Move away from deprecated DT API.
...
* Move to `DEVICE_DT_INST_DEFINE` everywhere.
See: https://docs.zephyrproject.org/2.5.0/releases/release-notes-2.5.html#deprecated-in-this-release
PR: https://github.com/zmkfirmware/zmk/pull/736
3 years ago
innovaker
842aa5a842
refactor: replace filename hyphens with underscores
...
Aligns *.h and *.c to underscore naming convention.
These were kept (with warnings) for backwards compatibility with external boards/shields:
- kscan-mock.h
- matrix-transform.h
They should be removed in the future.
PR: #523
4 years ago
innovaker
00ca0d2f1c
refactor(app): replace `struct device *` with `const struct device *`
...
Replaced with RegExp: /(?<!const )(struct device \*)/g
See: https://docs.zephyrproject.org/latest/releases/release-notes-2.4.html
PR: #467
4 years ago
innovaker
1411092a7b
refactor(app): replace `driver_data` with `data`
...
See: https://docs.zephyrproject.org/latest/releases/release-notes-2.4.html
PR: #467
4 years ago
innovaker
3d7376d2e5
refactor(app): replace `config_info` with `config`
...
See: https://docs.zephyrproject.org/latest/releases/release-notes-2.4.html
PR: #467
4 years ago
innovaker
bac1f17cf6
refactor(app): replace Zephyr integer types with C99 integer types
...
u8_t → uint8_t
u16_t → uint16_t
u32_t → uint32_t
u64_t → uint64_t
s8_t → int8_t
s16_t → int16_t
s32_t → int32_t
s64_t → int64_t
Prerequisite for #223
See: https://github.com/zephyrproject-rtos/zephyr/releases/tag/zephyr-v2.4.0
PR: #467
4 years ago
Pete Johanson
e6a27b15c1
fix(kscan): Fix building kscan for tests.
4 years ago
innovaker
9c4b766bc6
feat(kscan_mock): Increase max number of events
...
This is necessary for testing a large number of events (e.g. every key code) within a single build/pass.
The u8_t limitation became apparent during end-to-end testing of #21 .
4 years ago
Pete Johanson
191a2d755a
chore: clang-format the codebase.
...
* Use the LLVM style
* Override indent width (8) and column limit (100)
* Fixes #142 .
4 years ago
Pete Johanson
68e72f9275
fix: Switch to single AUTHORS file.* Closes #164
4 years ago
Cody McGinnis
5b21f15a0a
fix(test): off by one error with kscan processing
4 years ago
Cody McGinnis
f02fa01e9a
fix(test): change the layout
4 years ago
Pete Johanson
d65629b9a0
Lots more pieces toward HID working again.
4 years ago
Pete Johanson
38f1dbd984
Move Zephyr app into subdirectory.
4 years ago
Pete Johanson
9a09eb14af
Initial composite kscan driver.
...
* For now, to be used for FrankenKyria, where both
matrix halves will be attached to the same MCU, but
should be a stepping stone to proper split support
once we have a kscan driver over a split transport.
* Implement multiple instances for mock kscan driver.
4 years ago
Pete Johanson
53aadc4f93
Initial exploration of mod tap action.
5 years ago
Pete Johanson
ed5532bf94
Add a mock kscan driver, working native_posix.
...
* Unified logging to one module.
* Mock kscan driver that simulates events.
* Working native_posix board target for testing.
5 years ago