hi, guys !!
i'm new to linux programming, and trying to write the tetris game. i know that's useless, but that's the way i can learn c under linux.
i need the way to find out if key is down or not at the moment. i don't need to wait for user input (like scanf() or getch() in ncurses). i just need to know if the key is pressed at the moment. i hope you will help me find the solution. thanks any way