Gergely Nagy
4f1929b043
keyboardio/Atreus: Simplify the hardware plugin a bit
...
The `kaleidoscope::Device` aliases are there for use-cases that need to be
device agnostic, we do not need to use them in the hardware plugin itself,
because that plugin _is_ very much tied to the device. We can just use the
device specific original names.
To make things shorter, we can also set up a pair of aliases for
`KeyScannerProps` and `KeyScanner`, to make the declarations even shorter.
Signed-off-by: Gergely Nagy <algernon@keyboard.io>
4 years ago
Jesse Vincent
b9d5d75c98
Fix links in some of the plugin docs, thanks to @llamaland.
...
Fixes #866
4 years ago
Jesse Vincent
ded77f8b52
Update "Leader" doc to catch up with an API change
4 years ago
Jesse Vincent
128bbfc38a
Merge pull request #862 from keyboardio/driver/atmega-scanner-adjust-scan-cycle-time
...
keyscanner::ATmega: Allow setting the scan cycle time at run-time
4 years ago
Jesse Vincent
058ce5c42c
astyle
4 years ago
Jesse Vincent
6b44b4ff8d
Remove use of ATMEGA_KEYSCANNER_BOILERPLATE for Atreus2
4 years ago
Jesse Vincent
499f0fca3a
Atreus2: remove use of ATMEGA_KEYSCANNER_PROPS
4 years ago
Jesse Vincent
4f45ec13d7
Remove use of ATMEGA32U4_DEVICE_PROPS for Atreus
4 years ago
Jesse Vincent
521fea77ee
Atreus: remove use of ATMEGA32U4_DEVICE macro
4 years ago
Jesse Vincent
90b086137c
Remove use of ATMEGA32U4_KEYBOARD macro for the Atreus
...
Trying to get back to code rather than macros
4 years ago
Jesse Vincent
05aa59186a
Merge branch 'master' of ssh://github.com/keyboardio/Kaleidoscope
4 years ago
Jesse Vincent
5520799105
* Use a more distro-agnostic way to reload udev rules
...
* remove outdated guidance about groups the user should be in
4 years ago
Jesse Vincent
23736a9309
Update toolchain setup docs to match current udev rule file name and functionality
4 years ago
Jesse Vincent
1ef6bad6b0
Merge pull request #863 from keyboardio/udev/rule-updates
...
Update the udev rules to tag devices as uaccess and seat
4 years ago
Gergely Nagy
bbcdff6f67
Update the udev rules to tag devices as uaccess and seat
...
In order to be able to access the devices as the at-seat user, without having to
fiddle with distro-specific permissions and groups, we need to tag it both
`uaccess` and `seat`, and have the rule sorted before the one that applies
permissions based on these tags. As such, the file had to be renamed as well.
Signed-off-by: Gergely Nagy <algernon@keyboard.io>
4 years ago
Gergely Nagy
2f35c25cd0
keyscanner::ATmega: Allow setting the scan cycle time at run-time
...
With this, it is possible to set the time (in milliseconds) between scans. The
aim is to make it possible to change this setting in one's `setup()` in their
own sketch.
One can do that as follows:
`Kaleidoscope.device().keyscanner().setScanCycleTime(2000);`
This is currently only implemented for the ATmega keyscanner.
Signed-off-by: Gergely Nagy <algernon@keyboard.io>
4 years ago
Gergely Nagy
25272629ab
Merge pull request #860 from keyboardio/wip/reduce-macros
...
Remove a couple macros that didn't really reduce implementation complexity
4 years ago
Jesse Vincent
ba9913e029
remove KEYSCANNER_PROPS macro
4 years ago
Jesse Vincent
a5081b1b38
Remove KEYSCANNER_PROPS_BOILERPLATE macro, which was only used in one place right now
4 years ago
Jesse Vincent
0a9441334c
Merge pull request #859 from keyboardio/device/dygma/i2c-tuning
...
dygma/Raise: Decrease the I2C clock to 100kHZ
4 years ago
Gergely Nagy
14cb9aa908
dygma/Raise: Decrease the I2C clock to 100kHZ
...
We use 100kHZ for flashing, because that's more reliable. Use the same for
normal operation, for similar reasons. This appears to fix a frequent crash
issue.
Signed-off-by: Gergely Nagy <algernon@keyboard.io>
4 years ago
Jesse Vincent
06fdae832a
add missing doc dep
4 years ago
Jesse Vincent
2c9d3747ec
Working toward being able to have a coherent organization of our docs
4 years ago
Jesse Vincent
d7e0f49fef
Small cleanup to the hardware device readmes
4 years ago
Jesse Vincent
96e91e9274
try to fix a hyperlink
4 years ago
Jesse Vincent
f7aa647cf3
link another doc into the quick start
4 years ago
Jesse Vincent
6c97eabc70
link the new docs into quick start
4 years ago
Jesse Vincent
7547afdc7b
fix a link
4 years ago
Jesse Vincent
3beedd596a
fix a link to the next page
4 years ago
Jesse Vincent
ebbc616695
split out the ide setup instructions from the build instructions
4 years ago
Jesse Vincent
d7bcb68214
Add more toolchain setup documentation
4 years ago
Jesse Vincent
e72f7d434f
improve tooolchain setup headings
4 years ago
Jesse Vincent
f9b5342d42
bring in the "add keyboard support" docs from the wiki unedited
4 years ago
Jesse Vincent
53f7d73c9e
starting to migrate the Arduino setup documentation over from the wiki
4 years ago
Jesse Vincent
da103d42c2
Start to move the Arduino setup documentation from the wiki
4 years ago
Jesse Vincent
2fb84f4daf
add a title to a doc page
4 years ago
Jesse Vincent
9aa74dbdda
moving "overviews" to "customization"
4 years ago
Jesse Vincent
fcffbf0f64
Moving the keycode customization reference from the wiki
4 years ago
Jesse Vincent
281b808a96
Merge pull request #856 from cscorley/fix-spacecadet-multikey-drop
...
SpaceCadet: Fix key injection when many pressed at once
4 years ago
Jesse Vincent
c1a54a6bc7
Merge pull request #858 from alfalfasprossen/ledcontrol/guard-against-nullptr-access
...
Guard against nullptr access in LEDControl
4 years ago
Johannes Becker
9ec48d0a4b
Guard against nullptr access in LEDControl
...
If LEDControl is used without any LEDMode plugin, `cur_led_mode_` is
an unitialized pointer. This initializes it to `nullptr` and guards
against accessing it.
Signed-off-by: Johannes Becker <alfalfasprossen@gmail.com>
4 years ago
Christopher S. Corley
918c09fa15
More indention fixes for linter
...
Signed-off-by: Christopher S. Corley <cscorley@gmail.com>
4 years ago
Christopher S. Corley
3242af3ce0
Adjust indentation & brace to follow lint rules
...
Signed-off-by: Christopher S. Corley <cscorley@gmail.com>
4 years ago
Christopher S. Corley
2ec84fe2d8
Fix key injection when many pressed at once
...
Signed-off-by: Christopher S. Corley <cscorley@gmail.com>
4 years ago
Jesse Vincent
d98dd72e17
Merge pull request #854 from tnorthcutt/patch-2
...
Update link to key layout diagram
4 years ago
Travis Northcutt
2846de25dc
Update link to key layout diagram
...
Link was broken with this change https://github.com/keyboardio/Kaleidoscope/commit/a60651054a5a2fb28b3aac517e67cbe4#diff-0f4002969730fe05379377f79815fef8
Signed-off-by: Travis Northcutt <travis@travisnorthcutt.com>
4 years ago
Jesse Vincent
7d60ddfd28
Merge pull request #853 from keyboardio/deprecations/removal-2020-june
...
Deprecations & removals, 2020 June
4 years ago
Gergely Nagy
54331c1ed9
docs/UPGRADING.md: Breaking changes update
...
Add a removal date for the removal of the `Key` property direct access, and also
document the deprecation of the HID facade, with the same removal date of the
old APIs.
Signed-off-by: Gergely Nagy <algernon@keyboard.io>
4 years ago
Gergely Nagy
f760431b2b
Remove the deprecated row/col-based indexing APIs
...
They were originally scheduled for removal in March, lets drop them now.
Signed-off-by: Gergely Nagy <algernon@keyboard.io>
4 years ago
Gergely Nagy
cfe4bb3dce
Remove the deprecated `Kaleidoscope_` class
...
Signed-off-by: Gergely Nagy <algernon@keyboard.io>
4 years ago