forked from morganvenable/qmk_firmware
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request qmk#28 from ilc/dpi
pointing-devices: General work, but mostly on trackball.
- Loading branch information
Showing
17 changed files
with
245 additions
and
65 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,4 @@ | ||
#define SERIAL_USART_TX_PIN GP1 | ||
#define SERIAL_USART_RX_PIN GP0 | ||
#define SERIAL_USART_FULL_DUPLEX | ||
#define SERIAL_PIO_USE_PIO0 | ||
#define SPLIT_POINTING_ENABLE | ||
#define POINTING_DEVICE_AUTO_MOUSE_MH_ENABLE | ||
#define SERIAL_PIO_USE_PIO0 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1,15 @@ | ||
POINTING_DEVICE_ENABLE = yes | ||
# this selects trackball driver | ||
POINTING_DEVICE_DRIVER = pmw3360 | ||
|
||
ifeq ($(strip $(POINTING_DEVICE_DRIVER)), pimoroni_trackball) | ||
OPT_DEFS += -DPOINTING_DEVICE_IS_PIMORONI | ||
endif | ||
|
||
ifeq ($(strip $(POINTING_DEVICE_DRIVER)), pmw3360) | ||
OPT_DEFS += -DPOINTING_DEVICE_IS_PMW3360 | ||
endif | ||
|
||
ifeq ($(strip $(POINTING_DEVICE_DRIVER)), pmw3389) | ||
OPT_DEFS += -DPOINTING_DEVICE_IS_PMW3389 | ||
endif |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,4 @@ | ||
#define SERIAL_USART_TX_PIN GP0 | ||
#define SERIAL_USART_RX_PIN GP1 | ||
#define SERIAL_USART_FULL_DUPLEX | ||
#define SERIAL_PIO_USE_PIO0 | ||
#define SPLIT_POINTING_ENABLE | ||
#define POINTING_DEVICE_AUTO_MOUSE_MH_ENABLE | ||
#define SERIAL_PIO_USE_PIO0 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1,15 @@ | ||
POINTING_DEVICE_ENABLE = yes | ||
# this selects trackball driver | ||
POINTING_DEVICE_DRIVER = pmw3360 | ||
|
||
ifeq ($(strip $(POINTING_DEVICE_DRIVER)), pimoroni_trackball) | ||
OPT_DEFS += -DPOINTING_DEVICE_IS_PIMORONI | ||
endif | ||
|
||
ifeq ($(strip $(POINTING_DEVICE_DRIVER)), pmw3360) | ||
OPT_DEFS += -DPOINTING_DEVICE_IS_PMW3360 | ||
endif | ||
|
||
ifeq ($(strip $(POINTING_DEVICE_DRIVER)), pmw3389) | ||
OPT_DEFS += -DPOINTING_DEVICE_IS_PMW3389 | ||
endif |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
Oops, something went wrong.