guesst
04-10-2008, 08:31 PM
Actually, I'm programming in windows, but since Curses is a linux thing I figure i'd have more luck here. Of courses, if I'm wrong, moderators, feel free to move this message.
Okay, I've made this tetris (http://cboard.cprogramming.com/showthread.php?p=739915) program and I'm trying to click with as few and as simple libraries as I can, so I don't want to load any others, and I'm tired of the TAP-TAP-TAPping to get the pieces into place. I'd prefer if when I depressed the key the left-right moved and when you released it stopped, with some reasonable delay so as to avoid on too-fast computers that far left and far right become the only options.
I've been over the documenataion and I'm not sure it can be done. Am I wrong?
Okay, I've made this tetris (http://cboard.cprogramming.com/showthread.php?p=739915) program and I'm trying to click with as few and as simple libraries as I can, so I don't want to load any others, and I'm tired of the TAP-TAP-TAPping to get the pieces into place. I'd prefer if when I depressed the key the left-right moved and when you released it stopped, with some reasonable delay so as to avoid on too-fast computers that far left and far right become the only options.
I've been over the documenataion and I'm not sure it can be done. Am I wrong?