Thomas Harte
|
4a2673d757
|
Make a prima facie attempt to adapt the Qt build.
|
2021-06-06 20:47:25 -04:00 |
|
Thomas Harte
|
9af6c0b37a
|
Improves comment.
|
2021-05-06 12:57:32 -04:00 |
|
Thomas Harte
|
ef50967793
|
Limit X11 linkage to Linux.
|
2021-05-05 22:17:24 -04:00 |
|
Thomas Harte
|
5f6c08b7e0
|
Avoid partial struct instantiation.
|
2021-05-05 22:00:50 -04:00 |
|
Thomas Harte
|
6cb23ec5be
|
Tidy up and comment.
|
2021-05-05 21:58:54 -04:00 |
|
Thomas Harte
|
1bae70bcf8
|
Correct capitalisation.
|
2021-05-05 21:49:01 -04:00 |
|
Thomas Harte
|
9820591ba4
|
Corrects enum references.
|
2021-05-05 21:46:34 -04:00 |
|
Thomas Harte
|
77071b3c69
|
Adds KeySym -> key lookup.
|
2021-05-05 21:41:59 -04:00 |
|
Thomas Harte
|
335e839b31
|
Wrangles a single working call to XKeysymToKeycode.
|
2021-05-05 21:35:08 -04:00 |
|
Thomas Harte
|
6fe947b8b9
|
Fix class name, add constructor.
|
2021-05-05 19:17:23 -04:00 |
|
Thomas Harte
|
22b29e77a7
|
Add keyboard.cpp/h to the Qt project.
|
2021-05-05 19:06:25 -04:00 |
|
Thomas Harte
|
4858cfce6b
|
Starts to factor out the keyboard mapper.
The more easily to clarify as to #includes, etc, and to allow for a relevant constructor.
|
2021-05-05 18:56:10 -04:00 |
|
Thomas Harte
|
9196341482
|
Retrenches: it seems nativeVirtualKey does what I want.
Hooray!
|
2021-05-03 21:45:53 -04:00 |
|
Thomas Harte
|
685140a4c2
|
Correct Qt -> QT.
|
2021-05-03 21:18:14 -04:00 |
|
Thomas Harte
|
1465b0ee4d
|
Shunt X11 code to bottom of file, to avoid #include interference.
|
2021-05-03 21:15:20 -04:00 |
|
Thomas Harte
|
0bf6b765d3
|
Further namespace/name corrections.
|
2021-05-03 21:11:47 -04:00 |
|
Thomas Harte
|
4774676e2a
|
Correct keypad symbols, push X11 into a namespace.
|
2021-05-03 21:09:01 -04:00 |
|
Thomas Harte
|
9c29655da2
|
Add x11extras as per use of <QX11Info>.
|
2021-05-03 20:43:22 -04:00 |
|
Thomas Harte
|
70eaa79108
|
Makes an attempt to use X11 KeySyms.
Rather than hard-coding a mapping.
|
2021-05-03 18:51:58 -04:00 |
|
Thomas Harte
|
5b419ca5bf
|
Add State folder to Scons and Qt projects.
|
2021-04-24 23:25:08 -04:00 |
|
Thomas Harte
|
eb99a64b29
|
Adds new Spectrum models to Qt UI.
|
2021-04-15 22:20:34 -04:00 |
|
Thomas Harte
|
21b1dab4a5
|
Adds the ZX Spectrum to Qt's New... menu.
|
2021-03-21 22:35:46 -04:00 |
|
Thomas Harte
|
84774a7910
|
Update Qt and SDL build files.
|
2021-03-19 11:19:10 -04:00 |
|
Thomas Harte
|
5a1bda1d82
|
Performs boilerplate towards a ZX Spectrum class.
|
2021-03-17 23:38:55 -04:00 |
|
Thomas Harte
|
b63ca16ce2
|
Attempts to hatch a Sinclair namespace.
|
2021-03-17 22:40:29 -04:00 |
|
Thomas Harte
|
26ad760904
|
Withdraws the Apple IIgs tab item.
Also makes some Swift style changes while I'm here: I'm pervasively assuming that all these objects exist, might as well be upfront about it.
|
2021-03-06 18:53:09 -05:00 |
|
Thomas Harte
|
2a7ea9f57c
|
Merge branch 'master' into AppleIIgs
|
2021-02-26 21:31:18 -05:00 |
|
Thomas Harte
|
4f5eb4d71b
|
Adds the Mac 128k & 512k as Qt options.
|
2021-02-26 21:25:11 -05:00 |
|
Thomas Harte
|
6ca8aa99fc
|
Commit SDL and Qt project files; improve commenting.
|
2021-02-10 21:28:32 -05:00 |
|
Thomas Harte
|
6526c645a5
|
Merge branch 'master' into AppleIIgs
|
2021-02-02 21:29:38 -05:00 |
|
Thomas Harte
|
53514c7fdc
|
Ensures non-breakage of Qt interface.
|
2021-01-31 21:28:55 -05:00 |
|
Thomas Harte
|
b5ecd5f7ef
|
Merge branch 'master' into AppleIIgs
|
2021-01-31 11:47:40 -05:00 |
|
Thomas Harte
|
41a618c957
|
Adds new Electron configuration options to the Qt UI.
|
2021-01-31 10:13:32 -05:00 |
|
Thomas Harte
|
321e10fffb
|
Adds 'InstructionSets' to the SDL and Qt projects.
|
2021-01-15 22:30:02 -05:00 |
|
Thomas Harte
|
091bce9350
|
Merge branch 'master' into AppleIIgs
|
2020-11-29 00:09:20 -05:00 |
|
Thomas Harte
|
ab3fcb3ea0
|
Qt: don't copy the result of get_keyboard().
|
2020-11-29 00:01:11 -05:00 |
|
Thomas Harte
|
5287c57ee0
|
Adds the IIgs as a user-selectable machine.
Albeit that there is no underlying machine yet.
|
2020-10-20 22:18:11 -04:00 |
|
Thomas Harte
|
68c15bd605
|
Updates Qt project; catches another couple of issues via its compiler.
|
2020-10-15 21:09:22 -04:00 |
|
Thomas Harte
|
38912859e1
|
Adds F8+F12 as an alternative mouse-release combo for Qt.
|
2020-10-02 20:31:47 -04:00 |
|
Thomas Harte
|
b14bedbe29
|
Merge pull request #817 from TomHarte/LockFreeQueue
Fully splits buffering from drawing for the existing OpenGL scan target.
|
2020-07-30 21:42:20 -04:00 |
|
Thomas Harte
|
3db4a8c312
|
Attempts to improve vsync deadline estimation.
Also increases probability of bad estimation being discarded.
|
2020-07-27 21:08:00 -04:00 |
|
Thomas Harte
|
db8e1b0edf
|
Adds feedback on unidentified ROMs.
|
2020-07-27 20:45:47 -04:00 |
|
Thomas Harte
|
71c3f58c99
|
Provides user feedback upon improper command-line usage.
|
2020-07-27 20:40:38 -04:00 |
|
Thomas Harte
|
7c05b1788e
|
Ensures proper thread confinement for updateStatusBarText .
|
2020-07-27 20:25:52 -04:00 |
|
Thomas Harte
|
f9f500c194
|
Merge branch 'master' into LockFreeQueue
|
2020-07-24 22:29:45 -04:00 |
|
Thomas Harte
|
84d5316aa7
|
Add c++1z as a config option, for older versions of Qt.
|
2020-07-24 16:32:59 -04:00 |
|
Thomas Harte
|
84dcf9925b
|
Updates Scons and Qt projects to include new files.
|
2020-07-23 23:14:10 -04:00 |
|
Thomas Harte
|
42f2bf05bf
|
Attempt to load a file if passed on the command line.
|
2020-07-13 21:51:55 -04:00 |
|
Thomas Harte
|
d91cf598be
|
Ensures qmake paths are explicit.
|
2020-07-11 17:46:32 -04:00 |
|
Thomas Harte
|
86737454a0
|
Exposes activity lights in Qt.
As a status bar, which is a bit of a quick fix, but it's better than not displaying this information.
|
2020-07-10 23:18:38 -04:00 |
|
Thomas Harte
|
223a960a06
|
Implements standard keyboard -> joystick mapping.
|
2020-07-10 22:30:43 -04:00 |
|
Thomas Harte
|
f72570386c
|
Installs and removes an 'Input' menu where required.
Also ensures safe shutdown of a second machine.
|
2020-07-09 23:47:38 -04:00 |
|
Thomas Harte
|
56e5491e5c
|
Ensures safe startup.
|
2020-07-09 23:06:32 -04:00 |
|
Thomas Harte
|
be1c3e9136
|
Ensures key state is cleared upon activation changes.
|
2020-07-08 21:31:29 -04:00 |
|
Thomas Harte
|
2d223305eb
|
Correct subject of switch.
|
2020-07-08 00:49:29 -04:00 |
|
Thomas Harte
|
48c2dcf50e
|
Introduce provisional X11 bindings.
|
2020-07-08 00:46:29 -04:00 |
|
Thomas Harte
|
fa26c82273
|
Undoes extra dependency, checks for X11 at runtime.
|
2020-07-08 00:15:44 -04:00 |
|
Thomas Harte
|
0763ae38dd
|
Attempts to add conditional include for non-Mac UNIX only.
|
2020-07-07 23:57:32 -04:00 |
|
Thomas Harte
|
abe1e7f244
|
Provide current thoughts on Qt and the keyboard.
|
2020-07-06 22:27:50 -04:00 |
|
Thomas Harte
|
5a729f92c1
|
Attempts to move the 'Help' menu to the correct place.
|
2020-07-04 19:19:41 -04:00 |
|
Thomas Harte
|
366793498a
|
Ensures ScanTargetWidget doesn't eat irrelevant keypresses.
|
2020-07-04 19:12:34 -04:00 |
|
Thomas Harte
|
cdda3f74ab
|
Attempts mouse event capture.
|
2020-07-04 00:29:37 -04:00 |
|
Thomas Harte
|
d97ebae200
|
Request Qt deprecation warnings.
|
2020-07-03 23:16:49 -04:00 |
|
Thomas Harte
|
2d5e9bf1bb
|
Declines to set up audio output if none is available.
|
2020-07-02 22:58:15 -04:00 |
|
Thomas Harte
|
8bf5ed52ea
|
Ensures keyboard events are restricted to single windows.
|
2020-07-02 22:03:12 -04:00 |
|
Thomas Harte
|
b850183a1e
|
Switches to an alternative to window(), for older Qt support.
|
2020-07-02 21:53:30 -04:00 |
|
Thomas Harte
|
f7e13356c4
|
FunctionThreads no longer automatically start.
Improvements as a result: audio works in a second machine started in an existing window; there is no audio thread footprint if there is no audio.
|
2020-07-01 18:55:42 -04:00 |
|
Thomas Harte
|
55cc3089f9
|
Ensures complete deallocation of the QAudioOutput.
|
2020-06-30 23:33:41 -04:00 |
|
Thomas Harte
|
a096a09c72
|
Trusts Qt to supply a refresh rate, and handles retina <-> non-retina window transitions.
|
2020-06-30 23:03:39 -04:00 |
|
Thomas Harte
|
b9e117cdcf
|
Centralises window title responsibility.
|
2020-06-28 23:08:40 -04:00 |
|
Thomas Harte
|
f6e5a2fb04
|
Resolves duplicative enums.
|
2020-06-28 22:50:24 -04:00 |
|
Thomas Harte
|
404c35feb5
|
Implements Atari 2600 switches menu.
|
2020-06-28 17:57:20 -04:00 |
|
Thomas Harte
|
b5962c58bb
|
Completes ZX80/81-specific menu.
|
2020-06-28 16:23:35 -04:00 |
|
Thomas Harte
|
74da762ae1
|
Starts sketching out the ZX80/81 menu items.
|
2020-06-28 01:04:32 -04:00 |
|
Thomas Harte
|
d87c840b76
|
Adds quick load and quick boot options.
This should leave only the ZX80/81 and 2600 as special cases.
|
2020-06-27 17:08:29 -04:00 |
|
Thomas Harte
|
afb835398f
|
Ensures display selection is preserved in the app settings.
|
2020-06-27 16:26:39 -04:00 |
|
Thomas Harte
|
6925a04088
|
Ensures 'Display' menu is removed if machine is closed.
|
2020-06-26 23:27:14 -04:00 |
|
Thomas Harte
|
a0e534b309
|
Starts towards offering display-type selection.
|
2020-06-26 23:04:45 -04:00 |
|
Thomas Harte
|
74d1ca4fa8
|
Simplifies indentation, correcting flow while there.
|
2020-06-26 21:16:15 -04:00 |
|
Thomas Harte
|
3c896050fb
|
Ensures proper output sizeing on HiDPI displays.
|
2020-06-26 21:14:43 -04:00 |
|
Thomas Harte
|
387500f01a
|
Implements 'Insert...' menu item.
|
2020-06-26 18:25:56 -04:00 |
|
Thomas Harte
|
21c41ed4cb
|
Reduces boilerplate and key repetition.
|
2020-06-26 00:39:30 -04:00 |
|
Thomas Harte
|
293ab25634
|
Ensures complete machine picker state is stored.
|
2020-06-26 00:23:52 -04:00 |
|
Thomas Harte
|
3ddc1a1722
|
Eliminates hard-coded concept of timer jitter.
|
2020-06-25 23:59:44 -04:00 |
|
Thomas Harte
|
478d081095
|
Ensures machines take user-friendly default settings.
|
2020-06-23 23:27:56 -04:00 |
|
Thomas Harte
|
9d4b49bbb5
|
Attempts to be more rigorous in vsync prediction.
|
2020-06-23 22:59:12 -04:00 |
|
Thomas Harte
|
4417f81014
|
Attempts to set a meaningful window title.
|
2020-06-22 22:58:58 -04:00 |
|
Thomas Harte
|
b96f7711e3
|
Corrects attempt at back-to-UI final window SDI behaviour.
Maybe it'll turn out to be not what I want, but at least now it works.
|
2020-06-22 22:36:36 -04:00 |
|
Thomas Harte
|
1875a03757
|
Plugs a per-window memory leak.
While also ensuring proper OpenGL resource destruction.
|
2020-06-22 20:32:44 -04:00 |
|
Thomas Harte
|
13336b8ad5
|
Consolidates and disables failed attempt at final-window close behaviour.
|
2020-06-21 23:52:41 -04:00 |
|
Thomas Harte
|
b17cceaeaf
|
Tidies up and makes a failing attempt at SDI improvements.
|
2020-06-21 23:50:18 -04:00 |
|
Thomas Harte
|
782a62585e
|
Preserves open path between launches.
|
2020-06-21 19:10:06 -04:00 |
|
Thomas Harte
|
c5d8d9127b
|
Rejigs ScanTarget relationship from pull to push, so it can be set whenever it is safe.
|
2020-06-21 18:25:38 -04:00 |
|
Thomas Harte
|
336dffefe0
|
Ensures changes in the framebuffer are passed onward.
|
2020-06-21 17:25:21 -04:00 |
|
Thomas Harte
|
e297d4cced
|
Decouples scan target drawing and lifetime.
|
2020-06-21 17:20:44 -04:00 |
|
Thomas Harte
|
b052ca5ca2
|
Switch to Qt-style member naming.
|
2020-06-21 17:16:11 -04:00 |
|
Thomas Harte
|
68d4d7d10a
|
Ensures no out-of-bounds access for unlabelled keys.
|
2020-06-21 17:11:24 -04:00 |
|
Thomas Harte
|
a03211c410
|
Makes an attempt at the single document interface.
|
2020-06-21 12:30:18 -04:00 |
|
Thomas Harte
|
1fbb733f7f
|
Expands upon comment.
|
2020-06-20 00:05:41 -04:00 |
|
Thomas Harte
|
4f9b3259d5
|
Adds explicit conversions to qint64 .
|
2020-06-19 23:12:18 -04:00 |
|