Benau
00cb6c2d48
Use SDL2 for better gamepad support and hotplug
2020-04-21 00:14:32 +08:00
Benau
cc671dd710
Allow showing supertuxkart icon in header bar
2019-06-29 14:38:44 +08:00
Benau
1620cbdbd8
Add minimum composition text support in IME
2019-06-26 15:44:55 +08:00
Benau
7184119409
Clean up input method code in windows with better unicode handling
2019-06-26 13:14:52 +08:00
Benau
c337976413
Use unicode windows build with enabling directinput support in mingw
2019-06-26 11:32:18 +08:00
hiker
9ea6e85205
Fix thumb-stick buttons on xbox controller.
2019-01-22 21:25:51 +11:00
Deve
e2c0f83fb0
Move patform specific code from irr_driver to irrlicht devices
2017-09-27 17:37:56 +02:00
hiker
5b68e18df4
Fix cygwin support.
2017-08-11 09:38:58 +10:00
hiker
e03c0849ce
Fixed previous commit - got confused with the #undef :P
2017-08-09 20:30:44 +10:00
hiker
d46b03b317
Hopefully fixed cygwin build problems.
2017-08-09 17:54:29 +10:00
hiker
11a587dd30
Merge branch 'improve-xbox-gamepad-support' of github.com:supertuxkart/stk-code into improve-xbox-gamepad-support
2017-08-09 10:15:35 +10:00
hiker
b440511c95
Fixed incorrect right thumbstick mapping.
2017-08-08 21:55:28 +10:00
hiker
bd5eb89cc0
Use XInput 9.1 which does not need an installer and works on most
...
windows platforms. Move the linking to irrlicht cmake.
2017-08-08 21:44:32 +10:00
hiker
e6c2c3df95
Revert to using guidProduct for all existing code, but the correct guidInstance
...
for detecting XInput devices only.
2017-08-07 09:15:09 +10:00
hiker
891e439264
Remapped XInput to be the same as DirectInput buttons, so that
...
existing configs works as expected. Hard-coded 6 axis for xbox
controller to allow for triggers to be reported as two different
axis (instead of as one axis). Updated gamepad config to use
proper names for triggers.
2017-08-06 22:56:59 +10:00
hiker
68d41a07ba
Now actually use XInput to read the joystick events for all
...
XInput devices.
2017-08-05 00:34:51 +10:00
hiker
f431730278
Fixed recognition of XInput devices.
2017-08-05 00:12:22 +10:00
hiker
d3da93f368
Try to use a Microsoft function to detect XInput devices when using
...
DirectInput - atm not working yet :(
2017-08-03 09:24:50 +10:00
hiker
1e5d2643be
Bugfix: incorrect index.
2017-08-02 08:13:04 +10:00
hiker
cc6a1a3909
Started to add XInput support (to be able to distinguish the two
...
triggers).
2017-08-01 17:48:18 +10:00
hiker
85ee217d77
Converted tab to spaces.
2017-08-01 17:19:52 +10:00
Deve
0dba3c8f67
Add a prefix to irrlicht key codes
2017-07-20 22:58:11 +02:00
Benau
2096532d0e
Make stk more-i18n friendly
...
Now supertuxkart can do:
Windows (fully test in win8 and win7 built with vs2015, mingw not tested):
Input characters using ime (CJK tested).
Fix crashes when try to paste unicode text into editbox in stk.
Linux:
Different keymap can be used in stk now, ie typing russian,hebrew (not bidi-aware) is now possible.
IME not supported.
Mac:
No work has been done, sorry mac fanboys/girls:( Though testing is welcome, esp when pasting words into stk.
Limitation:
No ime box is shown in fullscreen
(Windows)Only the used language in current setting of non-Unicode programs can be typed with its supported IME.
2015-10-27 02:34:46 +08:00
hiker
d725d97314
Fixed coding style.
2014-12-03 08:19:13 +11:00
Timothy Hamlett
263d072c98
Fix some coding conventions
...
Thanks to hiker for the info
2014-12-01 12:49:15 -06:00
Timothy Hamlett
211e698a29
Add some strings for Windows 8 and 8.1
...
And server '12 and server '12 R2
2014-11-30 22:29:28 -06:00
hiker
18bcb92afc
Used better variable name.
2014-11-03 21:36:54 +11:00
hiker
150941aad2
Maintain a flag that indicates if the gamepad device name is 'useful'
...
(on windows we might get a dummy name, identical for all gamepads).
Only add a number to the gamepad if the device has a useless default
name.
2014-11-03 16:37:19 +11:00
hiker
d8cb6e1069
Moved #include to the top.
2014-10-25 10:32:28 +11:00
hiker
759182bb68
Used SDL's joystick name detection on windows.
2014-10-25 10:18:27 +11:00
hikerstk
7a953dff7d
Update to rrlicht 1.8 branch r4357.
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@11853 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2012-11-02 01:34:43 +00:00
hikerstk
974deca5e1
Added our own irrlicht version - not used atm.
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@11846 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2012-11-01 02:00:02 +00:00