Gergely Nagy
c05573ea40
Guard the key_is_pressed/key_was_pressed arguments better
...
Instead of using the argument as-is, which could be misinterpreted as a
reference (at least by linkers), wrap them in parens to make it clear they are
not.
Signed-off-by: Gergely Nagy <algernon@madhouse-project.org>
8 years ago
Jesse Vincent
477c426385
remove the kaleidoscope-builder from the Kaleidoscope core,
...
since it's now in the build tools repo
8 years ago
Gergely Nagy
c20732257b
examples/AppSwitcher: Update to use newest HostOS APIs
...
Signed-off-by: Gergely Nagy <algernon@madhouse-project.org>
8 years ago
Jesse Vincent
8c6b8433cc
astyle pass
8 years ago
Jesse Vincent
57ebb17d8f
Revert "switch from one space indent to two space indent before public: and private:"
...
This reverts commit 502bc0b59f
.
Now that we have two space indent, astyle does the right thing
8 years ago
Jesse Vincent
502bc0b59f
switch from one space indent to two space indent before public: and private:
...
This matches what astyle does, so it's one less thing to stress about
8 years ago
Jesse Vincent
9129b8e9a7
Switch up the -libraries order so the local version of a library gets
...
found first
8 years ago
Gergely Nagy
522fcc8c25
doc/CODING_STYLE.html: Fix a small typo
...
Signed-off-by: Gergely Nagy <algernon@madhouse-project.org>
8 years ago
Jesse Vincent
e57cfbc0db
remove a bunch of semicolons that the linter says are superfluous
8 years ago
Jesse Vincent
02b144cff3
Switch to cpplint 1.30 from https://pypi.python.org/pypi/cpplint
...
Unlike the upstream google linter, it understands '#pragma once'
8 years ago
Jesse Vincent
37d0f1cb8c
Switch HIDTables.h to #pragma once to satisfy the linter.
...
This _might_ get us in trouble with duplicate definitions in KeyboardioHID
8 years ago
Jesse Vincent
854a7c73b2
Import google cpplint
8 years ago
Jesse Vincent
554b43c2b5
Remove an unneeded ; caught by cpplint.py
8 years ago
Jesse Vincent
4b27f711f9
Strike through windows-specific stuff
8 years ago
Jesse Vincent
cf4886f653
Add a note about access control. Remove a google-specific note
8 years ago
Jesse Vincent
44d95f050e
We use astyle
8 years ago
Jesse Vincent
7cd1eee07d
our guidance on inline functions is a little bit difference because we're targeting embedded devices
8 years ago
Jesse Vincent
02ea090ac7
We use #pragma once
8 years ago
Jesse Vincent
01bfee48cb
GCC extensions are ok
8 years ago
Jesse Vincent
5873b461ac
we don't use std::hash
8 years ago
Jesse Vincent
b0577d241c
Boost does not make sense in this context
8 years ago
Jesse Vincent
30edd7da2f
64 bit portability is a non-goal
8 years ago
Jesse Vincent
ce595a848e
Switch the style guide to HTML, rather than wasting hours butchering
...
Google's nice semantic HTML to Markdown
8 years ago
Jesse Vincent
f7b071d134
Add notes from @obra and @algernon. As yet not integrated
8 years ago
Jesse Vincent
b33669af45
Checking in a markdown-ified (but otherwise unmodified) version of the
...
Google C++ style guide as of June 2, 2017
8 years ago
Jesse Vincent
813a48a04f
Add the ability to specify CFLAGS through the builder
8 years ago
Jesse Vincent
d75939d456
make astyle
8 years ago
Jesse Vincent
9825e4057a
Attempt to switch to shared build infrastructure for build and test.
...
The one downside to this is that we're now using the version of builder
in Arduino-boards rather than in the current checkout.
8 years ago
Jesse Vincent
c5c361cb3c
"build-all" now works for a top-level sketch
8 years ago
Jesse Vincent
532696abb5
remove recursion into 'the global set of libraries'
8 years ago
Gergely Nagy
e3c90512e9
Merge pull request #133 from keyboardio/lazy-version-calc
...
Only calculate version and filenames as we're building.
8 years ago
Jesse Vincent
da2adaf96d
Remove "Key_" prefix from ConsumerCtl and Sysctl key defs.
...
It was redundant, made things less readable and lest clear
8 years ago
Jesse Vincent
5babb70498
Move a pre-build check to somewhere it won't break on build-all
8 years ago
Jesse Vincent
0025d44f34
Only calculate version and filenames as we're building.
...
This helps unbreak build-all and out of tree builds
8 years ago
Jesse Vincent
e4ecd42d11
Traditional capitialization of PrintScreen
...
Words should be InterCapped
8 years ago
Jesse Vincent
6209290164
Looks like we _do_ have to define this yere to get Keyboard included correctly
8 years ago
Jesse Vincent
6b75519501
Fixing a number of other key definitions in the example
8 years ago
Jesse Vincent
b0e1554af8
Remove unused key layouts from example
8 years ago
Jesse Vincent
a19f9d1b29
Fix Key definitions in Macro example
8 years ago
Jesse Vincent
944a15aa1c
Fixed a couple places where we were using the old key names
8 years ago
Jesse Vincent
ad93cc0a83
Fix spelling of "Control" keys
8 years ago
Jesse Vincent
40a597c9e6
Second attempt at disambiguating key definitions
8 years ago
Jesse Vincent
2418b6a3c3
Prefix Sysctl key definitions to avoid duplicate definitions
8 years ago
Jesse Vincent
a6de8467b8
Embarassing naming issue
8 years ago
Jesse Vincent
c726326c8c
First pass at updating key definitions in examples
8 years ago
Jesse Vincent
1577bd6cec
remove some backcompat key definition names
8 years ago
Jesse Vincent
4293ac533d
Lift HID Tables to Kaleidoscope to make it easier for implementations
...
Not all implementations will use KeyboardioHID. This should make their
lives a bit easier.
8 years ago
Jesse Vincent
af3aeaff4f
First pass at mapping full HID key tables, including back-compat for
...
everything except sysctl
8 years ago
Jesse Vincent
b5a776c341
Add "Menu" key definintiojn
8 years ago
Jesse Vincent
66bf02cb45
Add a print screen macro.
...
(This is the only missing macro for the default keymap. We should be
regenerating the whole list from the hid tables in KeyboardioHID)
8 years ago