~fcitx-team/fcitx/debian-fbterm

« back to all changes in this revision

Viewing changes to src/keycode.h

  • Committer: Aron Xu
  • Date: 2012-01-24 19:56:53 UTC
  • Revision ID: git-v1:a91a895d0c8a053b92ad484fc73b3732ad2d2e68
Tags: upstream/0.1.1
Imported Upstream version 0.1.1

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
/*
 
2
 *   Copyright © 2008-2010 dragchan <zgchan317@gmail.com>
 
3
 *   This file is part of FbTerm.
 
4
 *
 
5
 *   This program is free software; you can redistribute it and/or
 
6
 *   modify it under the terms of the GNU General Public License
 
7
 *   as published by the Free Software Foundation; either version 2
 
8
 *   of the License, or (at your option) any later version.
 
9
 *
 
10
 *   This program is distributed in the hope that it will be useful,
 
11
 *   but WITHOUT ANY WARRANTY; without even the implied warranty of
 
12
 *   MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
 
13
 *   GNU General Public License for more details.
 
14
 *
 
15
 *   You should have received a copy of the GNU General Public License
 
16
 *   along with this program; if not, write to the Free Software
 
17
 *   Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
 
18
 *
 
19
 */
 
20
 
 
21
#ifndef KEYCODE_H
 
22
#define KEYCODE_H
 
23
 
 
24
#ifdef __cplusplus
 
25
extern "C" {
 
26
#endif
 
27
 
 
28
void init_keycode_state();
 
29
 
 
30
void update_term_mode(char crlf, char appkey, char curo);
 
31
 
 
32
unsigned short keycode_to_keysym(unsigned short keycode, char down);
 
33
 
 
34
unsigned short keypad_keysym_redirect(unsigned short keysym);
 
35
 
 
36
char *keysym_to_term_string(unsigned short keysym, char down);
 
37
 
 
38
#ifdef __cplusplus
 
39
}
 
40
#endif
 
41
 
 
42
#endif