source: tags/arb_5.0/WINDOW/aw_xkey.hxx

Last change on this file was 4940, checked in by westram, 16 years ago
  • added new keymap defining all MOD-flavors of contained keys
  • changed typename
  • Property svn:eol-style set to native
  • Property svn:keywords set to Author Date Id Revision
File size: 518 bytes
Line 
1#ifndef AW_XKEY_HXX
2#define AW_XKEY_HXX
3
4struct awXKeymap {
5    int          xmod;
6    int          xkey;
7    const char  *xstr;
8    AW_key_mod   awmod;
9    AW_key_code  awkey;
10    char        *awstr;
11};
12
13struct awXKeymap_modfree { // automatically defines key with SHIFT, ALT(META) and CTRL
14    int          xkey;
15    const char  *xstr_suffix;
16    AW_key_code  awkey;
17};
18
19void aw_install_xkeys(Display *display);
20const awXKeymap* aw_xkey_2_awkey(XKeyEvent *xkeyevent);
21
22#else
23#error aw_xkey.hxx included twice
24#endif
Note: See TracBrowser for help on using the repository browser.