[Fuse-for-macosx-devel] [ fuse-for-macosx-Bugs-3435102 ] Cursor diagonals releases shift on first r
Brought to you by:
fredm
From: SourceForge.net <no...@so...> - 2011-11-09 12:04:38
|
Bugs item #3435102, was opened at 2011-11-08 12:17 Message generated for change (Comment added) made by obo You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=893311&aid=3435102&group_id=180469 Please note that this message will contain a full copy of the comment thread, including the initial issue submission, for this request, not just the latest update. Category: None Group: None Status: Open Resolution: None Priority: 5 Private: No Submitted By: Simon Owen (obo) Assigned to: Nobody/Anonymous (nobody) Summary: Cursor diagonals releases shift on first release Initial Comment: It seems I was a bit quick in closing the original issue, and I don't seem to be able to re-open it - sorry! Cursor diagonals do work now, but releasing the first cursor key also releases shift, leaving just the unshifted number pressed. I've attached a test program to show the state of shift/5/6/7/8 keys, which should make it easy to reproduce. If you hold Up and Left it shows "Shift 5 7", and if you release Up it shows just "5", when it should show "Shift 5". ---------------------------------------------------------------------- >Comment By: Simon Owen (obo) Date: 2011-11-09 04:04 Message: Most Spectrum emulators come with the host machine cursor keys mapped to the shifted versions, which is required for the 128K menu to work. I wasn't actually aware that Cursor joystick provded unshifted versions until you mentioned it! Though my test for the originally reported issue was using Cursor joystick in Starquake. I'm relying on the Spectrum cursor key behaviour for my Pac-Man emulator, which supports both Sinclair 1 joystick on 6789 and cursor keys Shift-5678. If the shift state is lost during a brief overlap in key presses, it comes through as a (different) Sinclair direction instead. It took me a little while to work out what was going on! ---------------------------------------------------------------------- Comment By: Fredrick Meunier (fredm) Date: 2011-11-09 03:23 Message: That is correct but I wan't considering it a bug as I was taking the use of the cursor keys in this context to be about using it as a cursor joystick which doesn't use the shift key itself so games seem to work properly nonetheless. How are you using this feature where the shift key state makes a difference? To support this use I think the core Fuse code will need to be modified to support multiple key presses which affect the same modifier key (caps or symbol shift). ---------------------------------------------------------------------- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=893311&aid=3435102&group_id=180469 |