Advanced Robot Control System  5.1-REV.51SF170515
kbhit.hh
[詳解]
1 // キーボード入力検知 (Unix版)
2 // 2011/02/14 Yuki YOKOKURA
3 //
4 // キーボードのボタンが何か押されたかどうか調べる
5 //
6 // Copyright (C) 2011 Yuki YOKOKURA
7 // This program is free software;
8 // you can redistribute it and/or modify it under the terms of the GNU General Public License
9 // as published by the Free Software Foundation; either version 3 of the License, or any later version.
10 // This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY;
11 // without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
12 // See the GNU General Public License for more details <http://www.gnu.org/licenses/>.
13 // Besides, you can negotiate about other options of licenses instead of GPL.
14 // If you would like to get other licenses, please contact us<yuki@katsura.sd.keio.ac.jp>.
15 
16 #ifndef KBHIT
17 #define KBHIT
18 
19 int kbhit(void); // キー入力があった場合に1を返す なければ0を返す
20 
21 #endif
22 
int kbhit(void)
Definition: kbhit.cc:20