R/input.r

Defines functions keyboard_handler

keyboard_handler <- function(ch)
{
  if (ch == 113)
  {
    return( NULL )
  }
  else if (ch == "")
  {
    cat(".")
  }
  else
  {
    cat(paste(": ", ch, "\n", sep=""))
  }
  
  return(0)
}
wrathematics/kbhit documentation built on May 28, 2017, 5:18 a.m.