AxWin2 - Debugging and misc
[tpg/acess2.git] / Usermode / Applications / axwin2_src / WM / input.c
index cb6a03c..c75e0a0 100644 (file)
@@ -18,7 +18,12 @@ void Input_HandleSelect(fd_set *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))

UCC git Repository :: git.ucc.asn.au