]> git.gir.st - tmk_keyboard.git/blame_incremental - converter/serialmouse_usb/matrix.c
Update config.h
[tmk_keyboard.git] / converter / serialmouse_usb / matrix.c
... / ...
CommitLineData
1/*
2Copyright 2011 Jun Wako <wakojun@gmail.com>
3
4This program is free software: you can redistribute it and/or modify
5it under the terms of the GNU General Public License as published by
6the Free Software Foundation, either version 2 of the License, or
7(at your option) any later version.
8
9This program is distributed in the hope that it will be useful,
10but WITHOUT ANY WARRANTY; without even the implied warranty of
11MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
12GNU General Public License for more details.
13
14You should have received a copy of the GNU General Public License
15along with this program. If not, see <http://www.gnu.org/licenses/>.
16*/
17
18#include <stdint.h>
19#include <stdbool.h>
20#include <avr/io.h>
21#include <util/delay.h>
22#include "action.h"
23#include "print.h"
24#include "util.h"
25#include "debug.h"
26#include "matrix.h"
27
28
29inline
30uint8_t matrix_rows(void)
31{
32 return MATRIX_ROWS;
33}
34
35inline
36uint8_t matrix_cols(void)
37{
38 return MATRIX_COLS;
39}
40
41void matrix_init(void)
42{
43 debug_enable = true;
44 debug_mouse=true;
45 return;
46}
47
48uint8_t matrix_scan(void)
49{
50 return 0;
51}
52
53bool matrix_is_modified(void)
54{
55 return false;
56}
57
58inline
59bool matrix_has_ghost(void)
60{
61 return false;
62}
63
64inline
65bool matrix_is_on(uint8_t row, uint8_t col)
66{
67 return false;
68}
69
70inline
71uint8_t matrix_get_row(uint8_t row)
72{
73 return 0;
74}
75
76void matrix_print(void)
77{
78}
79
80uint8_t matrix_key_count(void)
81{
82 return 0;
83}
Imprint / Impressum