From: James Edward Gray II Date: 2006-08-01T04:47:09+09:00 Subject: Re: [QUIZ] Chip-8 (#88) On Jul 31, 2006, at 2:43 PM, Sander Land wrote: > On 7/31/06, James Edward Gray II wrote: >> On Jul 30, 2006, at 1:55 PM, Sander Land wrote: >> >> > I used one Win32 function (GetKeyState) as I didn't know a >> compatible >> > way to check if a key is pressed. >> I discuss this a little at the end of this summary: >> http://www.rubyquiz.com/quiz5.html >> You can also use HighLine for this. > > I installed highline and checked the docs as well as the source and > couldn't find anything. > GetKeyState checks if a key is currently held down and not if it was > pressed, so get_character does not do what i want. My apologies. I misunderstood. James Edward Gray II