|
@ -1,4 +1,7 @@ |
|
|
#include "key_service.hpp"
|
|
|
#include "key_service.hpp"
|
|
|
|
|
|
#include <stdio.h>
|
|
|
|
|
|
#include <string.h>
|
|
|
|
|
|
#include <stdlib.h>
|
|
|
using namespace iflytop; |
|
|
using namespace iflytop; |
|
|
#define TAG "KeyService"
|
|
|
#define TAG "KeyService"
|
|
|
void KeyService::initialize(int keyBufferSize, KeyListener_t listener) { |
|
|
void KeyService::initialize(int keyBufferSize, KeyListener_t listener) { |
|
@ -73,4 +76,4 @@ void KeyService::periodicJob() { |
|
|
for (int i = 0; i < m_numKey; i++) { |
|
|
for (int i = 0; i < m_numKey; i++) { |
|
|
processKey(&m_keys[i]); |
|
|
processKey(&m_keys[i]); |
|
|
} |
|
|
} |
|
|
} |
|
|
|
|
|
|
|
|
} |