1
0
Fork 0
forked from suyu/suyu
suyu/src/yuzu_cmd
NeatNit 4f24343f32 implemented touch in Qt and SDL
change TouchToPixelPos to return std::pair<int, int>

static_cast (SDL)

various minor style and code improvements

style - PascalCase for function names

made touch events private

const pointer arg in touch events

make TouchToPixelPos a const member function

did I do this right?

braces on barely-multiline if

remove question comment (confirmed in Discord)

fixed consts

remove unused parameter from TouchEndEvent

DRY - High-DPI scaled touch put in separate function

also fixes a bug where if you start touching (with either mouse or touchscreen) and drag the mouse to the LEFT of the emulator window, the touch point jumps to the RIGHT side of the touchscreen; draggin to above the window would make it jump to the bottom.

implicit conversion from QPoint to QPointF, apparently

I have no idea what const even means but I'll put it here anyway

remove unused or used-once variables

make touch scaling functions const, and put their implementations together

removed unused FingerID parameters

QTouchEvent forward declaration; add comment to TouchBegin that was lost in an edit

better DRY in SDL

To do -> TODO(NeatNit)

remove unused include
2018-10-09 20:26:57 +02:00
..
emu_window implemented touch in Qt and SDL 2018-10-09 20:26:57 +02:00
CMakeLists.txt CMakeLists: Derive the source directory grouping from targets themselves 2018-01-17 21:51:43 -05:00
config.cpp cmd: Support passing game arguments from command line 2018-10-07 14:32:32 -04:00
config.h Massive removal of unused modules 2018-01-12 19:11:03 -07:00
default_ini.h Review comments - part 3 2018-10-02 15:30:48 +02:00
resource.h Massive removal of unused modules 2018-01-12 19:11:03 -07:00
yuzu.cpp cmd: Support passing game arguments from command line 2018-10-07 14:32:32 -04:00
yuzu.rc CITRA_ICON -> YUZU_ICON 2018-03-23 16:56:59 +01:00