B
B
Blunker2016-04-30 09:00:10
linux
Blunker, 2016-04-30 09:00:10

How to organize keyboard input?

The program has a separate thread in which you need to enter a certain combination without pressing Enter. Just press 4 keys and the program should close. How can I do that?
OS - Debian

Answer the question

In order to leave comments, you need to log in

2 answer(s)
S
Sergey, 2016-04-30
@gangstarcj

Well, count the number of characters entered and how it will be 4 - make an event

A
AtomKrieg, 2016-04-30
@AtomKrieg

forum.shelek.ru/index.php/topic,9792.0.html cboard.cprogramming.com/faq-board/27714-faq-there
-...

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question