Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Move optical sensor code to drivers folder #13044

Merged
merged 5 commits into from
Jun 21, 2021
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
File renamed without changes.
File renamed without changes.
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
#include "spi_master.h"
#include "quantum.h"
#include "adns9800_srom_A6.h"
#include "adns.h"
#include "adns9800.h"

// registers
#define REG_Product_ID 0x00
Expand Down
File renamed without changes.
File renamed without changes.
File renamed without changes.
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@
#include "dactyl_manuform.h"
#include "quantum.h"
#include "spi_master.h"
#include "pmw3360.h"
#include "drivers/sensors/pmw3360.h"
#include "pointing_device.h"


Expand Down
221 changes: 0 additions & 221 deletions keyboards/handwired/dactyl_manuform/5x6_right_trackball/pmw3360.c

This file was deleted.

Original file line number Diff line number Diff line change
Expand Up @@ -27,5 +27,5 @@ MOUSE_SHARED_EP = no
SPLIT_KEYBOARD = yes
SPLIT_TRANSPORT = custom

SRC += pmw3360.c
SRC += drivers/sensors/pmw3360.c
QUANTUM_LIB_SRC += pointer_transport.c serial.c i2c_master.c i2c_slave.c spi_master.c
2 changes: 1 addition & 1 deletion keyboards/oddball/optical_sensor/optical_sensor.h
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
/* common interface for opitcal sensors */

#if defined ADNS_9800
#include "../adns/adns.h"
#include "drivers/sensors/adns9800.h"
#define config_optical_sensor_t config_adns_t
#define report_optical_sensor_t report_adns_t
#define optical_sensor_init adns_init
Expand Down
2 changes: 1 addition & 1 deletion keyboards/oddball/rules.mk
Original file line number Diff line number Diff line change
Expand Up @@ -25,5 +25,5 @@ POINTING_DEVICE_ENABLE = yes
DEFAULT_FOLDER = oddball/v1

SRC += spi_master.c
SRC += adns/adns.c
SRC += drivers/sensors/adns9800.c
SRC += pmw/pmw.c
2 changes: 1 addition & 1 deletion keyboards/ploopyco/mouse/mouse.h
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@

#include "quantum.h"
#include "spi_master.h"
#include "pmw3360.h"
#include "drivers/sensors/pmw3360.h"
#include "analog.h"
#include "opt_encoder.h"
#include "pointing_device.h"
Expand Down
2 changes: 1 addition & 1 deletion keyboards/ploopyco/mouse/rules.mk
Original file line number Diff line number Diff line change
Expand Up @@ -27,4 +27,4 @@ POINTING_DEVICE_ENABLE = yes
MOUSEKEY_ENABLE = yes # Mouse keys

QUANTUM_LIB_SRC += analog.c spi_master.c
SRC += pmw3360.c opt_encoder.c
SRC += drivers/sensors/pmw3360.c opt_encoder.c
103 changes: 0 additions & 103 deletions keyboards/ploopyco/pmw3360.h

This file was deleted.

Loading