Fix blackberry trackball directions.

This commit is contained in:
László Monda
2019-06-13 14:44:13 +02:00
parent b4cd3fab9b
commit 262eb4a695

View File

@@ -11,25 +11,25 @@
#define BLACKBERRY_TRACKBALL_LEFT_GPIO GPIOB #define BLACKBERRY_TRACKBALL_LEFT_GPIO GPIOB
#define BLACKBERRY_TRACKBALL_LEFT_IRQ PORTB_IRQn #define BLACKBERRY_TRACKBALL_LEFT_IRQ PORTB_IRQn
#define BLACKBERRY_TRACKBALL_LEFT_CLOCK kCLOCK_PortB #define BLACKBERRY_TRACKBALL_LEFT_CLOCK kCLOCK_PortB
#define BLACKBERRY_TRACKBALL_LEFT_PIN 6 #define BLACKBERRY_TRACKBALL_LEFT_PIN 0
#define BLACKBERRY_TRACKBALL_RIGHT_PORT PORTA #define BLACKBERRY_TRACKBALL_RIGHT_PORT PORTB
#define BLACKBERRY_TRACKBALL_RIGHT_GPIO GPIOA #define BLACKBERRY_TRACKBALL_RIGHT_GPIO GPIOB
#define BLACKBERRY_TRACKBALL_RIGHT_IRQ PORTA_IRQn #define BLACKBERRY_TRACKBALL_RIGHT_IRQ PORTB_IRQn
#define BLACKBERRY_TRACKBALL_RIGHT_CLOCK kCLOCK_PortA #define BLACKBERRY_TRACKBALL_RIGHT_CLOCK kCLOCK_PortB
#define BLACKBERRY_TRACKBALL_RIGHT_PIN 12 #define BLACKBERRY_TRACKBALL_RIGHT_PIN 2
#define BLACKBERRY_TRACKBALL_UP_PORT PORTB #define BLACKBERRY_TRACKBALL_UP_PORT PORTA
#define BLACKBERRY_TRACKBALL_UP_GPIO GPIOB #define BLACKBERRY_TRACKBALL_UP_GPIO GPIOA
#define BLACKBERRY_TRACKBALL_UP_IRQ PORTB_IRQn #define BLACKBERRY_TRACKBALL_UP_IRQ PORTA_IRQn
#define BLACKBERRY_TRACKBALL_UP_CLOCK kCLOCK_PortB #define BLACKBERRY_TRACKBALL_UP_CLOCK kCLOCK_PortA
#define BLACKBERRY_TRACKBALL_UP_PIN 2 #define BLACKBERRY_TRACKBALL_UP_PIN 12
#define BLACKBERRY_TRACKBALL_DOWN_PORT PORTB #define BLACKBERRY_TRACKBALL_DOWN_PORT PORTB
#define BLACKBERRY_TRACKBALL_DOWN_GPIO GPIOB #define BLACKBERRY_TRACKBALL_DOWN_GPIO GPIOB
#define BLACKBERRY_TRACKBALL_DOWN_IRQ PORTB_IRQn #define BLACKBERRY_TRACKBALL_DOWN_IRQ PORTB_IRQn
#define BLACKBERRY_TRACKBALL_DOWN_CLOCK kCLOCK_PortB #define BLACKBERRY_TRACKBALL_DOWN_CLOCK kCLOCK_PortB
#define BLACKBERRY_TRACKBALL_DOWN_PIN 0 #define BLACKBERRY_TRACKBALL_DOWN_PIN 6
#define BLACKBERRY_TRACKBALL_IRQ_HANDLER1 PORTA_IRQHandler #define BLACKBERRY_TRACKBALL_IRQ_HANDLER1 PORTA_IRQHandler
#define BLACKBERRY_TRACKBALL_IRQ_HANDLER2 PORTB_IRQHandler #define BLACKBERRY_TRACKBALL_IRQ_HANDLER2 PORTB_IRQHandler