ViewVC Help
View File | Revision Log | Show Annotations | Download File
/cvs/rxvt-unicode/src/keyboard.h
(Generate patch)

Comparing rxvt-unicode/src/keyboard.h (file contents):
Revision 1.4 by root, Fri Apr 22 02:09:39 2005 UTC vs.
Revision 1.5 by root, Mon Jan 2 15:35:43 2006 UTC

1#ifndef KEYBOARD_H_ 1#ifndef KEYBOARD_H_
2#define KEYBOARD_H_ 2#define KEYBOARD_H_
3
4#ifdef KEYSYM_RESOURCE
3 5
4#include <inttypes.h> 6#include <inttypes.h>
5 7
6#include "feature.h" 8#include "feature.h"
7#include "rxvtutil.h" 9#include "rxvtutil.h"
8
9#ifdef KEYSYM_RESOURCE
10 10
11#define KEYSYM_HASH_BITS 4 /* lowest #bits of keysym is used as hash key */ 11#define KEYSYM_HASH_BITS 4 /* lowest #bits of keysym is used as hash key */
12#define KEYSYM_HASH_BUDGETS (1<<KEYSYM_HASH_BITS) 12#define KEYSYM_HASH_BUDGETS (1<<KEYSYM_HASH_BITS)
13#define KEYSYM_HASH_MASK (KEYSYM_HASH_BUDGETS-1) 13#define KEYSYM_HASH_MASK (KEYSYM_HASH_BUDGETS-1)
14 14
74 vector<keysym_t *> user_keymap; 74 vector<keysym_t *> user_keymap;
75 vector<const char *> user_translations; 75 vector<const char *> user_translations;
76}; 76};
77 77
78#endif /* KEYSYM_RESOURCE */ 78#endif /* KEYSYM_RESOURCE */
79
79#endif /* KEYBOARD_H_ */ 80#endif /* KEYBOARD_H_ */
80// vim:et:sw=2

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines