Jonathan Keller
eb446605ed
Fix D-pad inputs on macOS
...
Take into account that the minimum element of the range might not be
zero. My Xbox One controller uses 1-based indexing and does not work
without this change
2022-12-23 16:12:45 -08:00
Devin Acker
0aeea0c075
ruby/video/gdi: implement clear()
2021-08-21 00:22:37 -04:00
Devin Acker
a632b50acc
fix up a few long-standing display quirks:
...
- don't clear the display when toggling fullscreen
- clear the overscan area when disabling overscan (for PAL window sizes)
- always actively draw to the display even when no cart is loaded,
rather than relying on the blank canvas widget to always get drawn
correctly
- properly clear some video drivers' buffer (e.g. OpenGL) on startup
2021-08-14 22:21:50 -04:00
jsd1982
f1a1da5bc0
ruby: more Qt portable devicePixelRatio usage, preferring qreal version where available
2021-07-25 19:56:13 -05:00
jsd1982
4bc1032dd6
ruby: scale opengl output by devicePixelRatio; fixes 1/4 surface bug on high-dpi displays such as retina
2021-07-20 09:04:49 -05:00
devinacker
535370af92
update build to Qt5 ( #160 )
2018-06-24 19:37:38 -04:00
David Lindecrantz
f4fb0f7985
Carbon input driver evolved into macOS input driver with mouse and HID gamepad/joystick support
2017-05-24 15:58:23 +02:00
devinacker
e961807f99
account for system state w/r/t/ canvas updates
...
(i.e. so that non-Qt video drivers will let Qt handle painting when the
system isn't actually powered on)
2016-11-20 16:08:30 -05:00
devinacker
33cf22f843
don't sometimes paint BG over hw rendering context
...
(this caused flickering when resizing or changing focus which was a
major problem when emulation is paused due to debugging; should address
#49 )
2016-08-05 23:38:10 -04:00
Alex.W.Jackson@gmail.com
c8a0e84c4b
ruby: on second thought, let's not reallocate the buffer every single frame
...
git-svn-id: http://bsnes-classic.googlecode.com/svn/trunk@49 fe182637-1eec-a322-cce2-af8e45122353
2015-04-26 13:36:53 -04:00
Alex.W.Jackson@gmail.com
88da612d6a
Various fixes for Clang, some of which were genuine bugs as well
...
git-svn-id: http://bsnes-classic.googlecode.com/svn/trunk@45 fe182637-1eec-a322-cce2-af8e45122353
2015-04-26 13:36:11 -04:00
Michał Ziąbkowski
2071856426
Backported possible rawinput build fix.
2015-04-25 23:22:05 +02:00
Michał Ziąbkowski
31399c3b54
Backported "Xorg keyboard polling now uses cached Display variable [Bisqwit]" from bsnes v081.
2015-04-25 23:21:59 +02:00
Michał Ziąbkowski
0d4a273a8f
Ported OpenGL and Direct3D backend changes from bsnes-0.083.
2015-04-25 23:21:48 +02:00
devinacker
cadb9b5483
ruby: remove no longer needed #defines
2015-04-25 14:56:56 -04:00
Alex.W.Jackson@gmail.com
f0cba0d729
Completely untested attempt to fix build on OSX
...
git-svn-id: http://bsnes-classic.googlecode.com/svn/trunk@41 fe182637-1eec-a322-cce2-af8e45122353
2015-04-24 23:22:50 -04:00
Michał Ziąbkowski
8cf98ae7a1
Cast string literals in rawinput as LPCTSTR. Fixes build with mingw-w64.
2015-04-16 20:23:12 +02:00
Alex W. Jackson
dc23eb1d8b
cartridge: reduce duplicated code in XML parsing
2015-04-13 17:19:08 +02:00
devinacker
d88ac78d30
initial commit
2014-11-26 18:35:12 -05:00