summaryrefslogtreecommitdiff
path: root/converter
diff options
context:
space:
mode:
authortmk <nobody@nowhere>2012-11-14 15:01:31 +0900
committertmk <nobody@nowhere>2012-11-14 15:01:31 +0900
commit6f253b924ea98dd6d62bbec8e37ed18144519420 (patch)
treea266f31afc92e361ee88b2b841e71b5cfc461e2d /converter
parent2ea4ee0ce6bc29aaadf20b3202838850522f7e14 (diff)
Fix Sony NEWS connector pinout and keymap.
Diffstat (limited to 'converter')
-rw-r--r--converter/news_usb/keymap.c4
-rw-r--r--converter/news_usb/matrix.c4
2 files changed, 6 insertions, 2 deletions
diff --git a/converter/news_usb/keymap.c b/converter/news_usb/keymap.c
index 6f30d59c18..058f2914bd 100644
--- a/converter/news_usb/keymap.c
+++ b/converter/news_usb/keymap.c
@@ -102,9 +102,9 @@ static const uint8_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = {
PWR, F1, F2, F3, F4, F5, F6, F7, F8, F9, F10, F11, F12, PAST,PSLS,PPLS,
ESC, 1, 2, 3, 4, 5, 6, 7, 8, 9, 0, MINS,EQL, BSLS,BSPC, HELP, P7, P8, P9, PMNS,
TAB, Q, W, E, R, T, Y, U, I, O, P, LBRC,RBRC,DEL, INS, P4, P5, P6, PCMM,
- CAPS,A, S, D, F, G, H, J, K, L, SCLN,QUOT,GRV, ENT, CLR, P1, P2, P3, PENT,
+ LCTL,A, S, D, F, G, H, J, K, L, SCLN,QUOT,GRV, ENT, CLR, P1, P2, P3, PENT,
LSFT,Z, X, C, V, B, N, M, COMM,DOT, SLSH,RO, RSFT, PGUP, P0, PDOT,UP,
- LCTL,LGUI,LALT, SPC, ERAS, RALT,RGUI,RCTL, PGDN, TAB, LEFT,DOWN,RGHT
+ LALT,CAPS,LALT, SPC, ERAS, RALT,RGUI,RCTL, PGDN, TAB, LEFT,DOWN,RGHT
),
};
diff --git a/converter/news_usb/matrix.c b/converter/news_usb/matrix.c
index bf363e7d9b..f4e7281fbd 100644
--- a/converter/news_usb/matrix.c
+++ b/converter/news_usb/matrix.c
@@ -23,6 +23,7 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
#include "util.h"
#include "news.h"
#include "matrix.h"
+#include "debug.h"
/*
@@ -63,6 +64,9 @@ uint8_t matrix_cols(void)
void matrix_init(void)
{
+ print_enable = true;
+ debug_enable = true;
+ debug_matrix = true;
news_init();
// initialize matrix state: all keys off