git.ucc.asn.au
/
tpg
/
acess2.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
IPStack - Cleaned up userland 'ip' tool, and fixed some little bugs
[tpg/acess2.git]
/
Usermode
/
Applications
/
axwin3_src
/
WM
/
wm_input.c
diff --git
a/Usermode/Applications/axwin3_src/WM/wm_input.c
b/Usermode/Applications/axwin3_src/WM/wm_input.c
index
dc8d8ac
..
3220f77
100644
(file)
--- a/
Usermode/Applications/axwin3_src/WM/wm_input.c
+++ b/
Usermode/Applications/axwin3_src/WM/wm_input.c
@@
-22,7
+22,7
@@
tWindow *gpWM_DownStartWindow[MAX_BUTTONS];
// === CODE ===
tWindow *WM_int_GetWindowAtPos(int X, int Y)
{
// === CODE ===
tWindow *WM_int_GetWindowAtPos(int X, int Y)
{
- tWindow *win, *next_win, *ret;
+ tWindow *win, *next_win, *ret
= NULL
;
next_win = gpWM_RootWindow;
next_win = gpWM_RootWindow;
@@
-122,6
+122,9
@@
void WM_Input_KeyDown(uint32_t Character, uint32_t Scancode)
void WM_Input_KeyFire(uint32_t Character, uint32_t Scancode)
{
struct sWndMsg_KeyAction msg;
void WM_Input_KeyFire(uint32_t Character, uint32_t Scancode)
{
struct sWndMsg_KeyAction msg;
+
+ // TODO: Properly translate into KeySyms and Unicode
+
msg.KeySym = Scancode;
msg.UCS32 = Character;
WM_SendMessage(NULL, gpWM_FocusedWindow, WNDMSG_KEYFIRE, sizeof(msg), &msg);
msg.KeySym = Scancode;
msg.UCS32 = Character;
WM_SendMessage(NULL, gpWM_FocusedWindow, WNDMSG_KEYFIRE, sizeof(msg), &msg);
UCC
git Repository :: git.ucc.asn.au