5cd7611a9a
x11: fix vsync support
2016-06-07 00:19:01 +02:00
942de803f9
temporary fix for vsync call on x11
2016-06-05 22:25:01 -03:00
2420e46b44
vsync support
...
-works on windows
-may not work on X11, if so please fix
-OSX does not seem to support disabling vsync
2016-06-05 19:14:33 -03:00
d31696e3db
Merge pull request #4874 from Hinsbart/x11_dragndrop
...
x11: Add support for filesystem drag & drop using xdnd
2016-05-29 18:40:27 +02:00
2c9b28df13
xdnd: can handle more than 3 different target types
...
Now dropping also works with Nemo and PCManFM(gtk)
2016-05-29 17:40:08 +02:00
3e8eb396d7
Finalized DynamicFont implementation
...
-DynamicFont uses Freetype by default
-Editor fonts are now scalable thanks to this
-Cleaned up documentation browser and added fonts for this
2016-05-29 11:37:52 -03:00
ae0a59731e
x11: Add support for filesystem drag & drop using xdnd
2016-05-28 21:35:42 +02:00
5907a007dc
x11: Flush the X output buffer after changing mouse mode
2016-04-12 16:20:28 +02:00
391095e0ef
memdelete 'joy_thread' + 'joy_mutex' on ::~joystick_linux()
2016-04-03 19:24:39 +02:00
0a5472e697
Remove trailing spaces
2016-04-02 20:26:12 +02:00
4b14c18d13
fix possible crash in platform/x11/joystick_linux.cpp
...
ev may be tainted and out of MAX_KEY range,
which will cause joy->key_map[ev.code] to crash
2016-03-09 00:16:56 +01:00
4a4f247914
remove trailing whitespace
2016-03-09 00:00:52 +01:00
1e54fd142b
x11: fix joysticks not recognizing some buttons
...
dpad on x360 pads with kernel < 4.3 is working now
2016-02-24 12:18:30 +01:00
130f8fa193
Rename KEY_KP_SUBSTRACT to KEY_KP_SUBTRACT
...
The former name was incorrect in English, though for us latin lovers it's an understandable mistake.
Second part of and closes #3626 .
2016-02-17 23:01:27 +01:00
3065187300
include libudev only on udev builds
2016-02-15 15:09:48 +01:00
b350ece864
x11: make dependancy on libudev optional
2016-02-14 15:13:11 +01:00
63fc7ef798
Merge pull request #3615 from Hinsbart/joy_check_fix
...
x11: more verbose checking for joystick capabilities
2016-02-07 00:49:54 -03:00
fef92c0fab
x11: more verbose checking for joystick capabilities
2016-02-07 00:17:16 +01:00
9010a25c01
added option to link libstdc++ statically
2016-02-04 20:47:19 -03:00
cefca4429c
Merge pull request #3575 from Hinsbart/_net_wm_name
...
x11: set _net_wm_name property
2016-02-04 07:19:52 +01:00
61c1b6f60e
x11: set _net_wm_name property
2016-02-04 00:39:53 +01:00
c0aade4ba4
Merge pull request #3493 from Hinsbart/wm_class
...
x11: use different strings for WM_CLASS depending on context
2016-02-03 11:30:22 +01:00
fc65a57ff5
Merge pull request #3538 from Hinsbart/temp
...
remove pc_joystick_map.h
2016-02-03 11:18:43 +01:00
f7b1ab843c
x11: fix non-gamepad devices being detected as joysticks
2016-02-02 23:23:20 +01:00
f4fa74fe28
remove pc_joystick_map.h
2016-02-01 14:28:53 +01:00
2809b31f8c
close file descriptor if ioctls failed
2016-02-01 13:39:50 +01:00
11e4c128ac
x11: use different strings for WM_CLASS depending on context
2016-01-27 21:53:37 +01:00
29353808f0
remove dependancy on libevdev
2016-01-26 23:04:57 +01:00
f4a39692b9
Change default window size for desktop
...
Fix #3149
2016-01-24 17:52:33 -02:00
7393e40452
Merge pull request #3272 from Hinsbart/joy-binding
...
Add some joystick functions to input. Enables manipulation of mapping…
2016-01-12 03:59:19 -03:00
56e65f9e29
Enable ALSA driver in non-linux X11 when available
2016-01-10 17:52:15 +01:00
a6c1a5c6d0
Fix pthread renaming in Open/FreeBSD
2016-01-09 15:56:31 +01:00
c632c13c66
Add some joystick functions to input. Enables manipulation of mappings at runtime
2016-01-08 00:40:41 +01:00
a98aa0bbbe
Make joydev build using udev and evdev opt-out but blocking (linux)
...
It is enabled by default, users have to specifically ask for it if they don't want gamepad support. If libudev or libevdev are missing, the build aborts and tells the user the reason and that they can disable gamepad support with the "gamepad=no" option.
2016-01-06 19:21:37 +01:00
c0e4d8fbfd
fix x11 crash on exit
2016-01-05 23:35:54 +01:00
908f75c23f
having active items is pointless in input map
2016-01-03 18:52:42 -03:00
17d664cf1d
send axis events only once per frame on linux
2016-01-03 02:24:43 +01:00
c60e1648ba
make num_buttons local, no need to keep in joystick struct
2016-01-02 03:52:44 +01:00
5be9ff7b67
Update copyright to 2016 in headers
2016-01-01 11:50:53 -02:00
586e482a98
-Fix parsing of comments in VariantParser, fixes #3175
2015-12-31 10:25:21 -03:00
541c9039c5
Check pkg-config for libudev and enable gamepad code only if found. Linux only for now
2015-12-21 22:39:03 +01:00
46dee92c8e
-fixed build system to use pkg-config for evdev
2015-12-21 10:37:26 -03:00
87dab29f4b
Use tabs instead of spaces for new gamepad code
2015-12-18 19:15:32 +01:00
af633c7941
Better gamepad support
2015-12-18 06:12:53 +01:00
cc7880fba5
-added windowed mode with -w, fixes #3020
...
-changed default windowed resolution to 1280x720
2015-12-12 12:06:53 -03:00
708ff381d6
changed a bit to use system()
2015-12-08 20:36:48 -03:00
78b5404434
improve detection of linux, fixes #3201
2015-12-08 20:35:40 -03:00
ac414c5581
Merge pull request #2849 from a12n/compobsd2
...
Compile on OpenBSD
2015-12-08 17:16:45 -03:00
bd396c5cfa
Enabled debug symbols for x11 when using platform=release_debug and debug_release=yes together
2015-11-29 20:56:27 +01:00
b987d2113b
0theora compilation fixes
2015-11-25 00:28:03 -03:00