Comments (8)
Keys work OK on my US laptop.
from jsbeeb.
http://bbc.godbolt.org/?disc=%7CAtarisoft%2FAsteroidsDeluxe.zip&autoboot
UK Keyboard, Chrome, Win 8.1
all keys seem OK here (no "sticking"). Shift doesn't do anything. Is he using the same disc image?
Capslock: turn left
Ctrl: turn right
[: Thrust
Space: Shield
Enter: Fire
from jsbeeb.
That's the one he linked, yes -- I wonder what's going on. I'll get his Chrome version.
from jsbeeb.
" MacBook Pro Retina 16GB (Late 2013)
UK keyboard (build-in to MacBook)
System Version: OS X 10.9.5 (13F34)
Kernel Version: Darwin 13.4.0
Safari Version 7.1 (9537.85.10.17.1)
Google Chrome Version 38.0.2125.104
"
from jsbeeb.
For what it's worth, I noticed yesterday that the same thing happens in Zalaga running in Chrome on the Mac, and presumably any other game that uses caps lock to move left. Haven't debugged it, but it's as though jsbeeb 'sees' the key being held down continuously while the system's real caps lock is enabled.
from jsbeeb.
Ah that could well be it! Thanks for the hint; though I'm not quite sure how one might go about fixing it.
My caps lock key is configured as a completely different key so I've not seen the problem :)
from jsbeeb.
Looking around, it seems as though this would be impossible to fix without a change to the browsers. Cocoa simply doesn't issue key up events for caps lock. They'd have to go down to a lower layer (IOHIDManager) and that would be a pain because it wouldn't come through the normal event loop. The Qt and Firefox developers have had the same problem (https://bugzilla.mozilla.org/show_bug.cgi?id=712535, https://bugreports.qt.io/browse/QTBUG-46549).
The 'Gaming' keyboard layout works around the problem in jsbeeb, of course.
from jsbeeb.
Another solution :)
http://bbc.godbolt.org/?autoboot&disc=sth%3AAardvark%2FZalaga.zip&KEY.A=CAPSLOCK&KEY.S=CTRL&keyLayout=physical#
from jsbeeb.
Related Issues (20)
- Parity in tapes is ignored. HOT 1
- Some instructions fail my timing test suite HOT 9
- Fix RMW timings in 65c12
- after hard reset/fiddling with keys, then shift-break
- gdrive support is broken HOT 6
- *fx200,3 not working HOT 5
- support ADFS on the bbc master HOT 3
- Support "save" to tape
- removed
- [removed] HOT 1
- How do we save? HOT 1
- Unable to specify a disc1 image on URL params HOT 4
- Emulate BBC Master's RTC? HOT 4
- Migrate to new google client stuff HOT 2
- Keyboard layout - essential keys missing HOT 2
- Tube reset signals not working as expected HOT 4
- More Tube ULA fun HOT 2
- Loading SSD from local drive HOT 3
- Arrow keys are not mapped HOT 4
- Tube oops! - copy/paste fail
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from jsbeeb.