Closed GoogleCodeExporter closed 8 years ago
Shift releasing is made by this:
if (ev->evt == KEYRELEASE) {
switch (ev->key) {
case VK_SHIFT: shiftkey = 0; break;
}
GSkeyEvent(ev); return;
}
It's mean that if user release shift key, than shiftkey should be setting off,
and
KeyEvent finish. This code allow user to press F2 and Shift simultaneous (but
shift
first). And you suggestion is not very good -- on first time Shift+F2 would
switch
negative, and second one -- positive.
Original comment by Zeydl...@gmail.com
on 21 Jan 2009 at 5:41
I know what it is supposed to mean, official pcsx2 works as you said, but ssspsx
plugin with pcsx2pg doesn't act like that
try and hit shift key once, release it, and then press F2 multiple times. you
will
see the save slots numbers goes down, if you hit shift key again wont make any
difference..
Original comment by RebelliousX
on 21 Jan 2009 at 6:15
@Zeydlitz: Ok Thanks man, I found my mistake.. Apparently I was using old PAD
specifications v0.5 and the newer one is 0.6, besides My code was working but
the
lack of pthread functions made the plugin not capable of sending the correct
keyEvents data to the emu.. All I had to do is lock/unlock the thread to prevent
deadlocks with GS.. didn't notice this since it was mentioned only in the new
ps2def.h
spent hours and hours to debug correct code to no avail.. shoot me now T_T
btw, since this issue is useless now, is there anyway to delete it?
Original comment by RebelliousX
on 24 Jan 2009 at 11:12
Original comment by ramapcsx2
on 24 Jan 2009 at 2:47
Original issue reported on code.google.com by
RebelliousX
on 21 Jan 2009 at 5:34