Gate newkeys problem and other
#4

Quote:
Originally Posted by Mencent
Посмотреть сообщение
Hello!

You must press the key one times. After that you must press it again to close the gate. Don't hold the key.
Hi,

So the second problem has been fixed now i'm able to open/ close both doors,
however even though i press once space button, i still get like 10 messages that gates opens and closes you can see timestamp

Btw, i'm using these #defines, tried removing them, same thing happens

Код:
// PRESSED(keys)
#define PRESSED(%0) \
	(((newkeys & (%0)) == (%0)) && ((oldkeys & (%0)) != (%0)))

	// HOLDING(keys)
#define HOLDING(%0) \
	((newkeys & (%0)) == (%0))
Reply


Messages In This Thread
Gate newkeys problem and other - by Spookis - 02.07.2016, 09:07
Re: Gate newkeys problem and other - by Spookis - 02.07.2016, 10:33
Re: Gate newkeys problem and other - by Mencent - 02.07.2016, 11:03
Re: Gate newkeys problem and other - by Spookis - 02.07.2016, 11:47
Re: Gate newkeys problem and other - by Konstantinos - 02.07.2016, 12:01
Re: Gate newkeys problem and other - by Vince - 02.07.2016, 12:06
Re: Gate newkeys problem and other - by Spookis - 02.07.2016, 12:23
Re: Gate newkeys problem and other - by Konstantinos - 02.07.2016, 12:32
Re: Gate newkeys problem and other - by Spookis - 02.07.2016, 13:32
Re: Gate newkeys problem and other - by Spookis - 02.07.2016, 16:48

Forum Jump:


Users browsing this thread: 1 Guest(s)