Further source code rearrangement

Move auxiliary files to `src/kaleidoscope/plugin/MouseKeys` to not pollute the
`kaleidoscope/plugin` directory with headers not meant to be included directly.

Signed-off-by: Gergely Nagy <algernon@keyboard.io>
pull/365/head
Gergely Nagy 6 years ago
parent cdb5087ec9
commit 4f2ca9f58f
No known key found for this signature in database
GPG Key ID: AC1E90BAC433F68F

@ -16,6 +16,6 @@
#pragma once #pragma once
#warning Please migrate to including "kaleidoscope/plugin/MouseWrapper.h" instead of "MouseWrapper.h", or even consider dropping the include, because <Kaleidoscope-MouseKeys.h> will pull the right header in anyway. #warning The "MouseWrapper.h" header is deprecated, the same functionality is included by default when using <Kaleidoscope-MouseKeys.h>. It can be safely removed.
#include "kaleidoscope/plugin/MouseWrapper.h" #include "kaleidoscope/plugin/MouseKeys/MouseWrapper.h"

@ -16,9 +16,8 @@
#include <Arduino.h> #include <Arduino.h>
#include "Kaleidoscope-MouseKeys.h"
#include "MouseWrapper.h"
#include "Kaleidoscope.h" #include "Kaleidoscope.h"
#include "Kaleidoscope-MouseKeys.h"
namespace kaleidoscope { namespace kaleidoscope {
namespace plugin { namespace plugin {

@ -17,8 +17,9 @@
#pragma once #pragma once
#include "Kaleidoscope.h" #include "Kaleidoscope.h"
#include "MouseKeyDefs.h" #include "kaleidoscope/plugin/MouseKeys/MouseKeyDefs.h"
#include "MouseWarpModes.h" #include "kaleidoscope/plugin/MouseKeys/MouseWarpModes.h"
#include "kaleidoscope/plugin/MouseKeys/MouseWrapper.h"
namespace kaleidoscope { namespace kaleidoscope {
namespace plugin { namespace plugin {

@ -18,7 +18,7 @@
// Mouse-related methods // Mouse-related methods
// //
// //
#include "MouseWrapper.h" #include "kaleidoscope/plugin/MouseKeys/MouseWrapper.h"
#include "kaleidoscope/hid.h" #include "kaleidoscope/hid.h"
namespace kaleidoscope { namespace kaleidoscope {

@ -17,7 +17,7 @@
#pragma once #pragma once
#include "Arduino.h" #include "Arduino.h"
#include "MouseWarpModes.h" #include "kaleidoscope/plugin/MouseKeys/MouseWarpModes.h"
// Warping commands // Warping commands
Loading…
Cancel
Save