aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJack Humbert <jack.humb@gmail.com>2016-11-26 10:46:29 -0500
committerGitHub <noreply@github.com>2016-11-26 10:46:29 -0500
commitfbd4c34c0fdf9aa43130a90500b566e029dbb5b8 (patch)
tree63221d022fd0488f937576a809043e7e58fbcd1f
parent7a1eca784fee10ed77fdc719f7715cc76facbcf0 (diff)
parentf2214ce1cb6cfe7a0efabe870a2c00fb8451ee80 (diff)
downloadfirmware-fbd4c34c0fdf9aa43130a90500b566e029dbb5b8.tar.gz
firmware-fbd4c34c0fdf9aa43130a90500b566e029dbb5b8.tar.bz2
firmware-fbd4c34c0fdf9aa43130a90500b566e029dbb5b8.zip
Merge pull request #904 from priyadi/ps2_remove_hardcoded_pins
PS2 pins configuration belongs to each keyboards config.h
-rw-r--r--quantum/config_common.h46
1 files changed, 1 insertions, 45 deletions
diff --git a/quantum/config_common.h b/quantum/config_common.h
index 6b525fe1c..4d3939dae 100644
--- a/quantum/config_common.h
+++ b/quantum/config_common.h
@@ -79,48 +79,4 @@
# endif
#endif
-/*
- * PS/2 Interrupt configuration
- */
-#ifdef PS2_USE_INT
-/* uses INT1 for clock line(ATMega32U4) */
-#define PS2_CLOCK_PORT PORTD
-#define PS2_CLOCK_PIN PIND
-#define PS2_CLOCK_DDR DDRD
-#define PS2_CLOCK_BIT 1
-
-#define PS2_DATA_PORT PORTD
-#define PS2_DATA_PIN PIND
-#define PS2_DATA_DDR DDRD
-#define PS2_DATA_BIT 0
-
-#define PS2_INT_INIT() do { \
- EICRA |= ((1<<ISC11) | \
- (0<<ISC10)); \
-} while (0)
-#define PS2_INT_ON() do { \
- EIMSK |= (1<<INT1); \
-} while (0)
-#define PS2_INT_OFF() do { \
- EIMSK &= ~(1<<INT1); \
-} while (0)
-#define PS2_INT_VECT INT1_vect
-#endif
-
-/*
- * PS/2 Busywait configuration
- */
-#ifdef PS2_USE_BUSYWAIT
-#define PS2_CLOCK_PORT PORTD
-#define PS2_CLOCK_PIN PIND
-#define PS2_CLOCK_DDR DDRD
-#define PS2_CLOCK_BIT 1
-
-#define PS2_DATA_PORT PORTD
-#define PS2_DATA_PIN PIND
-#define PS2_DATA_DDR DDRD
-#define PS2_DATA_BIT 0
-#endif
-
-#endif
-
+#endif \ No newline at end of file
6' href='#n146'>146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210