#include "htkeyb.h"
#include <windows.h>
#include <stdio.h>
#include <stdlib.h>
Go to the source code of this file.
Classes | |
struct | ht_key_keycode |
Defines | |
#define | WIN32_LEAN_AND_MEAN |
#define | HT_VK 0x300 |
#define | HT_VK_ALT (0x1000) |
#define | HT_VK_SHIFT (0x2000) |
#define | HT_VK_CTRL (0x3000) |
Functions | |
bool | ht_keypressed () |
int | ht_key_meta (bool shift, bool alt) |
int | ht_raw_getkey () |
ht_key | ht_getkey () |
bool | init_keyb () |
void | done_keyb () |
Variables | |
HANDLE | input_handle |
INPUT_RECORD | key_event_record |
bool | key_pending = false |
bool | k_shift_state = false |
bool | k_ctrl_state = false |
bool | k_alt_state = false |
ht_key_keycode | ht_win32_key_defs [] |
|
Definition at line 47 of file win32/htkeyb.cc. Referenced by ht_raw_getkey(). |
|
Definition at line 48 of file win32/htkeyb.cc. Referenced by ht_key_meta(). |
|
Definition at line 50 of file win32/htkeyb.cc. Referenced by ht_key_meta(). |
|
Definition at line 49 of file win32/htkeyb.cc. Referenced by ht_key_meta(). |
|
Definition at line 23 of file win32/htkeyb.cc. |
|
Definition at line 338 of file win32/htkeyb.cc. |
|
Definition at line 309 of file win32/htkeyb.cc. References ht_key, ht_raw_getkey(), ht_rawkey2key(), K_INVALID, and UINT. |
|
Definition at line 265 of file win32/htkeyb.cc. References HT_VK_ALT, HT_VK_CTRL, HT_VK_SHIFT, and key_event_record. Referenced by ht_raw_getkey(). |
|
Definition at line 240 of file win32/htkeyb.cc. References input_handle, k_alt_state, k_ctrl_state, key_event_record, and key_pending. |
|
Definition at line 272 of file win32/htkeyb.cc. References ht_key_meta(), ht_keypressed(), ht_shift_pressed(), HT_VK, k_alt_state, k_ctrl_state, k_shift_state, key_event_record, key_pending, and SHIFT_KEY. |
|
Definition at line 317 of file win32/htkeyb.cc. References ht_dj_key_defs, ht_key, ht_set_key(), ht_win32_key_defs, input_handle, K_COUNT, K_INVALID, ht_key_keycode::key, and UINT. |
|
Definition at line 52 of file win32/htkeyb.cc. Referenced by init_keyb(). |
|
Definition at line 29 of file win32/htkeyb.cc. Referenced by ht_keypressed(), and init_keyb(). |
|
Definition at line 34 of file win32/htkeyb.cc. Referenced by ht_keypressed(), and ht_raw_getkey(). |
|
Definition at line 33 of file win32/htkeyb.cc. Referenced by ht_keypressed(), and ht_raw_getkey(). |
|
Definition at line 32 of file win32/htkeyb.cc. Referenced by ht_raw_getkey(). |
|
Definition at line 30 of file win32/htkeyb.cc. Referenced by ht_key_meta(), ht_keypressed(), and ht_raw_getkey(). |
|
Definition at line 31 of file win32/htkeyb.cc. Referenced by ht_keypressed(), and ht_raw_getkey(). |