|
|
@ -22,13 +22,12 @@
|
|
|
|
#include "kaleidoscope/Runtime.h"
|
|
|
|
#include "kaleidoscope/Runtime.h"
|
|
|
|
#include "kaleidoscope/driver/keyscanner/Base_Impl.h"
|
|
|
|
#include "kaleidoscope/driver/keyscanner/Base_Impl.h"
|
|
|
|
|
|
|
|
|
|
|
|
// We're using the `kaleidoscope::device::keyboardio` namespace, and set up the
|
|
|
|
|
|
|
|
// aliases here, so that they're in the global namespace, within the scope of
|
|
|
|
// Here, we set up aliases to the device's KeyScanner and KeyScannerProps
|
|
|
|
// this file. We do that, because of how templates are resolved and evaluated,
|
|
|
|
// in the global namespace within the scope of this file. We'll use these
|
|
|
|
// see more just down below!
|
|
|
|
// aliases to simplify some template initialization code below.
|
|
|
|
using namespace kaleidoscope::device::keyboardio;
|
|
|
|
using KeyScannerProps = typename kaleidoscope::device::keyboardio::AtreusProps::KeyScannerProps;
|
|
|
|
using KeyScannerProps = typename AtreusProps::KeyScannerProps;
|
|
|
|
using KeyScanner = typename kaleidoscope::device::keyboardio::AtreusProps::KeyScanner;
|
|
|
|
using KeyScanner = typename AtreusProps::KeyScanner;
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
namespace kaleidoscope {
|
|
|
|
namespace kaleidoscope {
|
|
|
|
namespace device {
|
|
|
|
namespace device {
|
|
|
|