Thomas Bernard
|
1b0060caff
|
Fix mouse emulation with X11 and Win32
see http://pulkomandy.tk/projects/GrafX2/ticket/147
|
2019-09-26 21:40:06 +02:00 |
|
Thomas Bernard
|
788d05111a
|
SDL2 / X11 : implement Get_Key_modifiers()
important for function with holding SHIFT during mouse
movements
|
2019-06-10 23:21:31 +02:00 |
|
Thomas Bernard
|
58eaeda164
|
Win32: browse Network Neighborhood
|
2019-06-01 13:15:57 +02:00 |
|
Thomas Bernard
|
562f5acd9a
|
SDL1.x/x11: try to get window state (maximized, etc.)
that might not work perfectly :)
|
2019-05-21 21:51:23 +02:00 |
|
Thomas Bernard
|
2d645edbc0
|
win32: save the "not maximized" window size
also fix the window start up position
see http://pulkomandy.tk/projects/GrafX2/ticket/102
|
2019-05-21 20:45:21 +02:00 |
|
Thomas Bernard
|
31d3719f26
|
SDL2: log SDL_WINDOWEVENT_MINIMIZED / SDL_WINDOWEVENT_MAXIMIZED / SDL_WINDOWEVENT_RESTORED
|
2019-05-21 17:23:40 +02:00 |
|
Thomas Bernard
|
1dc7c746a2
|
SDL/SDL2: log more events
|
2019-05-19 00:06:23 +02:00 |
|
Thomas Bernard
|
583d646b26
|
X11 clipboard paste : support several formats
|
2019-05-11 12:09:15 +02:00 |
|
Thomas Bernard
|
d24dd3e1a9
|
X11 Drag'n'drop: debug log of supported formats
|
2019-05-10 11:59:09 +02:00 |
|
Thomas Bernard
|
70dd6e3efd
|
msvc: _strdup() in input.c
|
2019-05-03 20:10:22 +02:00 |
|
Romain Graillot
|
d36e59ca9c
|
Add Nintendo Switch support (including gitlab-ci, gitlab-pages etc.)
|
2019-04-28 11:18:23 +02:00 |
|
Romain Graillot
|
5d9aa6f969
|
Joystick smooth movement + joystick rework
|
2019-04-27 18:02:52 +02:00 |
|
Thomas Bernard
|
b44225833b
|
input.c: Pass Joystick events by pointer
|
2019-02-22 12:00:01 +01:00 |
|
Thomas Bernard
|
81932d5407
|
fix Handle_joystick_release()
|
2019-02-21 09:54:57 +01:00 |
|
Thomas Bernard
|
e278d0551c
|
fix build with GP2XCROSS
|
2019-02-20 13:55:54 +01:00 |
|
Thomas Bernard
|
a808eaa9bb
|
check for empty X11 clipboard data
|
2019-02-15 13:19:40 +01:00 |
|
Thomas Bernard
|
4283fde82a
|
MOD_CTRL => GFX2_MOD_CTRL, etc.
|
2019-02-13 15:42:51 +01:00 |
|
Thomas Bernard
|
96c6ce2221
|
SDL_CaptureMouse() is available since SDL 2.0.4.
|
2019-02-09 12:16:01 +01:00 |
|
Thomas Bernard
|
a633bd88dd
|
rewrite Move_cursor_with_constraints() to clip negative coordinates
also introduce Handle_mouse_btn_change() so we don't bother to
check everything when only the mouse button state changed
|
2019-02-08 10:32:48 +01:00 |
|
Thomas Bernard
|
546a6fecd2
|
SDL 1.2.x: capture mouse when button is pressed as well
|
2019-02-08 10:23:20 +01:00 |
|
Thomas Bernard
|
73f5f1d214
|
x11: capture pointer when a button is pressed
|
2019-02-05 10:02:10 +01:00 |
|
Thomas Bernard
|
f8bfad2f34
|
Do not block in Get_input() when Quit_is_required is set
|
2019-02-05 09:29:09 +01:00 |
|
Thomas Bernard
|
48b9213da3
|
SDL2: process SDL_TEXTEDITING event
|
2019-02-05 00:26:09 +01:00 |
|
Thomas Bernard
|
b184a75c9e
|
win32 and SDL2: capture the mouse when the button is pressed
|
2019-02-05 00:25:59 +01:00 |
|
Thomas Bernard
|
cb315e4f0c
|
SDL/SDL2: pass SDL event by pointer, not copy...
|
2019-02-05 00:25:59 +01:00 |
|
Thomas Bernard
|
4c7c5bde77
|
SDL2, win32: properly handle negative mouse coordinates
|
2019-02-05 00:25:59 +01:00 |
|
Thomas Bernard
|
206c67e77c
|
move Set_mouse_position() to sdlscreen.c / win32screen.c / etc.
|
2019-02-05 00:25:59 +01:00 |
|
Thomas Bernard
|
1b43b58fdd
|
Error report in SDL 1.2.x Win32 Drag&Drop handling
|
2019-01-25 15:11:29 +01:00 |
|
Thomas Bernard
|
5377b8c9fe
|
enable to build WIN32CROSS=1 API=sdl2
|
2019-01-25 15:11:29 +01:00 |
|
Thomas Bernard
|
e2637097fb
|
X11: handling of keyboard mouse emulation + mouse panning
|
2019-01-20 22:49:06 +01:00 |
|
Thomas Bernard
|
955ebb5932
|
move panning/Mouse emulation key handling to Handle_special_key_press() function
|
2019-01-20 22:48:21 +01:00 |
|
Thomas BERNARD
|
12a775a2b8
|
explicitely ignore SDL2 SDL_FINGERMOTION / SDL_FINGERDOWN / SDL_FINGERUP
|
2019-01-04 22:45:07 +01:00 |
|
Thomas Bernard
|
36bd67f197
|
use XFree() on XGetAtomName() returned strings.
Also imporve Doxygen documentation
|
2019-01-02 01:57:01 +01:00 |
|
Thomas Bernard
|
3e1d6b165d
|
Copy support for X11
|
2019-01-02 01:27:27 +01:00 |
|
Thomas Bernard
|
7331ad9bdf
|
X11 picture paste support (PNG format)
works with what GIMP puts in the X11 CLIPBOARD
|
2018-12-30 10:20:50 +01:00 |
|
Thomas Bernard
|
a68343d2ad
|
X11 : fix crash in Handle_SelectionNotify() when Clipboard cannot be converted to UTF8_STRING
|
2018-12-29 15:57:27 +01:00 |
|
Thomas Bernard
|
b706566f57
|
WIN32: get Unicode filename of Dropped files
|
2018-12-18 17:52:28 +01:00 |
|
Thomas Bernard
|
18d35f5bf0
|
Win32+SDL : consider ALT as not pressed when gaining back keyboard focus
see https://pulkomandy.tk/projects/GrafX2/ticket/63
|
2018-09-21 09:17:50 +02:00 |
|
Thomas Bernard
|
2c9b1b7bb1
|
X11: properly ignore Shift/ctrl/alt/win keystrokes alone
|
2018-09-16 22:02:03 +02:00 |
|
Thomas BERNARD
|
7cf404904c
|
X11: build when GenericEvent is not defined
|
2018-09-14 17:22:02 +02:00 |
|
Thomas Bernard
|
88430bb92f
|
Add NO_X11 option at compiletime to disable X11 specific stuff with SDL driver
just compile with
$ NO_X11=1 make
|
2018-07-20 12:26:52 +02:00 |
|
Thomas Bernard
|
146694d3c1
|
SDL_DROPTEXT, SDL_DROPBEGIN, and SDL_DROPCOMPLETE are available since SDL 2.0.5.
|
2018-07-17 01:09:04 +02:00 |
|
Thomas Bernard
|
d7c6193c21
|
SDL/x11 : make Copy/Paste and Drag&Drop work
|
2018-07-17 01:09:04 +02:00 |
|
Thomas Bernard
|
0843bd6a3c
|
use SDL2 Drop Event when available
Signed-off-by: Thomas Bernard <miniupnp@free.fr>
|
2018-07-17 01:09:04 +02:00 |
|
Thomas Bernard
|
4978a7cfe2
|
convert Warning() and DEBUG() to GFX2_Log()
|
2018-07-12 20:41:49 +02:00 |
|
Thomas Bernard
|
7fb77f85f1
|
Add GFX2_Log() function
|
2018-07-12 19:11:39 +02:00 |
|
Thomas Bernard
|
d0ac732d8e
|
X11: fix for Mac OS X
|
2018-07-04 16:00:01 +02:00 |
|
Thomas Bernard
|
e29b97ffe2
|
X11: decode URI in drag&drop
|
2018-07-04 01:30:31 +02:00 |
|
Thomas Bernard
|
2a15d5f720
|
X11: fix drag&drop
|
2018-07-04 01:08:49 +02:00 |
|
Thomas Bernard
|
1d023c49e2
|
X11: open window on its previous position
Signed-off-by: Thomas Bernard <miniupnp@free.fr>
|
2018-07-04 01:05:32 +02:00 |
|