diff options
Diffstat (limited to 'keyboards/converter/palm_usb/config.h')
| -rw-r--r-- | keyboards/converter/palm_usb/config.h | 18 |
1 files changed, 9 insertions, 9 deletions
diff --git a/keyboards/converter/palm_usb/config.h b/keyboards/converter/palm_usb/config.h index 4520725a1..4233a53ef 100644 --- a/keyboards/converter/palm_usb/config.h +++ b/keyboards/converter/palm_usb/config.h | |||
| @@ -34,19 +34,19 @@ along with this program. If not, see <http://www.gnu.org/licenses/>. | |||
| 34 | 34 | ||
| 35 | // IO pins to serial | 35 | // IO pins to serial |
| 36 | // https://deskthority.net/wiki/Arduino_Pro_Micro for pin lookup | 36 | // https://deskthority.net/wiki/Arduino_Pro_Micro for pin lookup |
| 37 | #define VCC_PIN D1 // pro micro 2 | 37 | #define VCC_PIN D1 // pro micro 2 |
| 38 | #define RX_PIN D0 //pro micro 3 , was 8 on cy384 | 38 | #define RX_PIN D0 //pro micro 3 , was 8 on cy384 |
| 39 | #define RTS_PIN C6 // 5 //[ was D4 // 4 on the cy384 | 39 | #define RTS_PIN C6 // 5 //[ was D4 // 4 on the cy384 |
| 40 | #define DCD_PIN E6 //7 | 40 | #define DCD_PIN E6 //7 |
| 41 | 41 | ||
| 42 | // if using the particular arduino pinout of CY384 | 42 | // if using the particular arduino pinout of CY384 |
| 43 | #ifdef CY384 | 43 | #ifdef CY384 |
| 44 | #define GND_PIN D7 //6 | 44 | #define GND_PIN D7 //6 |
| 45 | #define PULLDOWN_PIN B1 // 15 | 45 | #define PULLDOWN_PIN B1 // 15 |
| 46 | #endif | 46 | #endif |
| 47 | 47 | ||
| 48 | #ifndef HANDSPRING | 48 | #ifndef HANDSPRING |
| 49 | // Set to 1 for Handspring or to disable RTS/DCD based handshake. | 49 | // Set to 1 for Handspring or to disable RTS/DCD based handshake. |
| 50 | #define HANDSPRING 0 | 50 | #define HANDSPRING 0 |
| 51 | #endif | 51 | #endif |
| 52 | 52 | ||
| @@ -59,9 +59,9 @@ along with this program. If not, see <http://www.gnu.org/licenses/>. | |||
| 59 | 59 | ||
| 60 | /* key combination for command */ | 60 | /* key combination for command */ |
| 61 | #define IS_COMMAND() ( \ | 61 | #define IS_COMMAND() ( \ |
| 62 | keyboard_report->mods == (MOD_BIT(KC_LALT) | MOD_BIT(KC_RALT)) || \ | 62 | get_mods() == (MOD_BIT(KC_LALT) | MOD_BIT(KC_RALT)) || \ |
| 63 | keyboard_report->mods == (MOD_BIT(KC_LGUI) | MOD_BIT(KC_RGUI)) || \ | 63 | get_mods() == (MOD_BIT(KC_LGUI) | MOD_BIT(KC_RGUI)) || \ |
| 64 | keyboard_report->mods == (MOD_BIT(KC_LSHIFT) | MOD_BIT(KC_RSHIFT)) \ | 64 | get_mods() == (MOD_BIT(KC_LSHIFT) | MOD_BIT(KC_RSHIFT)) \ |
| 65 | ) | 65 | ) |
| 66 | 66 | ||
| 67 | 67 | ||
| @@ -74,10 +74,10 @@ along with this program. If not, see <http://www.gnu.org/licenses/>. | |||
| 74 | #define SERIAL_SOFT_BIT_ORDER_LSB | 74 | #define SERIAL_SOFT_BIT_ORDER_LSB |
| 75 | #if (HANDSPRING == 0) | 75 | #if (HANDSPRING == 0) |
| 76 | #define SERIAL_SOFT_LOGIC_NEGATIVE //RS232 logic | 76 | #define SERIAL_SOFT_LOGIC_NEGATIVE //RS232 logic |
| 77 | #endif | 77 | #endif |
| 78 | /* RXD Port */ | 78 | /* RXD Port */ |
| 79 | #define SERIAL_SOFT_RXD_ENABLE | 79 | #define SERIAL_SOFT_RXD_ENABLE |
| 80 | 80 | ||
| 81 | // we are using Pro micro pin 3 / D0 as serial | 81 | // we are using Pro micro pin 3 / D0 as serial |
| 82 | #define SERIAL_SOFT_RXD_DDR DDRD | 82 | #define SERIAL_SOFT_RXD_DDR DDRD |
| 83 | #define SERIAL_SOFT_RXD_PORT PORTD | 83 | #define SERIAL_SOFT_RXD_PORT PORTD |
