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
AxWin2 - Debugging and misc
[tpg/acess2.git]
/
Usermode
/
Applications
/
axwin2_src
/
WM
/
input.c
diff --git
a/Usermode/Applications/axwin2_src/WM/input.c
b/Usermode/Applications/axwin2_src/WM/input.c
index
cb6a03c
..
c75e0a0
100644
(file)
--- a/
Usermode/Applications/axwin2_src/WM/input.c
+++ b/
Usermode/Applications/axwin2_src/WM/input.c
@@
-18,7
+18,12
@@
void Input_HandleSelect(fd_set *set)
{
if(FD_ISSET(giTerminalFD, set))
{
{
if(FD_ISSET(giTerminalFD, set))
{
- // TODO:
+ uint32_t codepoint;
+ if( read(giTerminalFD, sizeof(codepoint), &codepoint) != sizeof(codepoint) )
+ {
+ // oops, error
+ }
+ // TODO: pass on to message handler
}
if(FD_ISSET(giMouseFD, set))
}
if(FD_ISSET(giMouseFD, set))
UCC
git Repository :: git.ucc.asn.au