Alex Szpakowski
0752f27bdf
Update copyright year for 2019
2019-01-03 21:09:05 -04:00
Bart van Strien
e80247c191
Happy new year! ✨
2018-01-03 19:47:35 +01:00
Alex Szpakowski
abb72cb813
Happy new year! 🥂
...
--HG--
branch : minor
2017-01-02 01:28:29 -04:00
Alex Szpakowski
b620f32200
Work around SDL issues in Joystick:getGamepadMapping with XInput controllers (issue #1239 ).
...
This doesn’t fix the underlying issues in SDL so there may be other aspects of love.joystick which are still affected.
--HG--
branch : minor
2016-12-10 16:14:14 -04:00
Alex Szpakowski
46a2e7b85c
Happy new year! 🎉
2016-01-01 00:05:06 -04:00
Alex Szpakowski
0f986b10aa
Cleaned up some code, the 'ry' parameter of love.graphics.rectangle now defaults to the value of 'rx' rather than defaulting to 0.
2015-05-27 17:36:27 -03:00
Alex Szpakowski
5932c39c86
Removed some redundant code.
...
--HG--
branch : minor
2015-02-21 21:54:13 -04:00
Alex Szpakowski
c7b45b3505
Updated copyright for the new year
2014-12-31 19:32:43 -04:00
Alex Szpakowski
79b453653a
Added love.joystick.loadGamepadMappings (resolves issue #842 ), and Joystick:saveGamepadMapping.
...
The latter returns a mapping string, and the former loads a newline-separated list of mapping strings.
2014-06-04 15:50:06 -03:00
Alex Szpakowski
036f6eb8cb
Added an optional duration argument to Joystick:setVibration.
2014-05-10 16:52:40 -03:00
Alex Szpakowski
3120a0e650
Goodbye 2013, hello 2014!
2014-01-03 17:28:58 -04:00
Alex Szpakowski
71dd15838e
Workaround for SDL_HAPTIC_INFINITY failing in Windows is no longer needed (patched in SDL as of 2 months ago)
2013-12-17 04:03:04 -04:00
Alex Szpakowski
25caa188ba
Fixed Joystick:getName to be more consistent
2013-10-05 04:07:39 -03:00
Alex Szpakowski
8b7f151a4d
Added joystick vibration support for most common controllers (resolves issue #159 ).
...
Added Joystick:setVibration(left, right), Joystick:getVibration, and Joystick:isVibrationSupported.
left and right are numbers between 0 and 1 which correspond to the strength of the gamepad's left and right rumble motors, if it has them.
2013-10-05 01:54:41 -03:00
Alex Szpakowski
3ac0710544
Renamed Joystick:getProductGUID back to Joystick:getGUID
2013-08-30 23:50:29 -03:00
Alex Szpakowski
deba2926ce
Prefer the Joystick name rather than the GameController name for Joystick:getName
2013-08-29 01:39:21 -03:00
Alex Szpakowski
4fcf47a427
Renamed Joystick:getGUID to Joystick:getProductGUID for greater clarity
2013-08-28 04:21:08 -03:00
Alex Szpakowski
113ed1cfe7
Merged SDL2 changes from bartbes/love-experiments/SDL2 into default.
...
- Added love.system module, including clipboard functions.
- Added custom hardware cursors (love.mouse.newCursor, love.mouse.setCursor.)
- Revamped love.joystick:
-- added Joystick objects and moved love.joystick functions which operated on individual joysticks to methods on the Joystick objects.
-- Added love.joystick.getJoystick and love.joystick.getJoystickCount.
-- Added events for when joysticks are connected and disconnected.
-- Added 'Gamepad' methods to Joystick objects: Joystick:isGamepad, Joystick:getGamepadAxis, and Joystick:isGamepadDown. They're a common abstraction for xbox controller-like joystick across operating systems.
- Added monitor choosing support and "fullscreen desktop" mode to love.window.
- Moved unicode text input events to their own callback function (love.textinput), removed the key repeat functions from love.keyboard and made the second argument of love.keypressed a boolean saying whether the keypress was a repeat.
- liblove now works with love.window and love.graphics in OS X
2013-08-25 16:51:42 -03:00
Alex Szpakowski
3b3c5c3711
Removed love.joystick.getBall and love.joystick.getBallCount (issue #648 )
2013-06-30 16:59:28 -03:00
Alex Szpakowski
63404f7097
Added love.graphics.getRendererInfo(infotype). Useful for creating more informative error reports and advanced debugging.
...
Returned string can be highly system-dependent, so don't rely on its output!
infotype can be "name", "version", "vendor", or "device"
2013-05-05 16:47:42 -03:00
Alex Szpakowski
4c616e409b
Renamed ParticleSystem:count, Channel:count, and all getNum* functions to get*Count (issue #602 )
2013-05-03 04:04:44 -03:00
Alex Szpakowski
4ae126ac44
Fixed some potential instability or crash issues
2013-03-03 20:23:40 -04:00
Alex Szpakowski
96161c66f6
Updated copyright text for the new year
2013-02-05 05:32:49 -04:00
Bart van Strien
7793e7f02f
CRLF to LF
2012-07-04 14:40:24 +02:00
rude
81c38e22d0
Applied the new style guidelines.
...
Well, sort of. Lot's more to be done, but this is a start.
2012-06-28 23:52:33 +02:00
Bart van Strien
8211b8f93f
Add love.joystick.reload, remove love.joystick.open and friends. (issue #392 )
...
Reload originates from love-experiments, as noted in the ticket.
2012-05-18 19:42:46 +02:00
Bart van Strien
07bd386d4e
Apply the 1-indexed joysticks patch from issue #391 .
...
Submitted by: Alexander Szpakowski
2012-03-10 14:11:20 +01:00
Bill Meltsner
be55579a22
Happy New Year, have an enormous diff
2012-01-09 02:41:11 -06:00
Bart van Strien
0aae9684b3
Automated formatting fix
2011-11-16 11:32:41 +01:00
Bart van Strien
bf9ad64559
Prevent negative joystick button indices from being used by isDown. (as mentioned in issue #121 )
2011-04-23 19:12:52 +02:00
Bart van Strien
529530c198
love.joystick.isDown gets multiple arguments too
2011-04-07 19:06:36 +02:00
Bart van Strien
98406370eb
Gracefully handle negative indexes in love.joystick (bug #172 )
2011-01-17 11:04:02 +01:00
Bill Meltsner
fde708160e
bringing in the new year by changing every 2010 to 2011
2011-01-15 14:40:27 -06:00
rude
aa01c984b9
Updated all dates to 2010.
2010-01-31 16:54:47 +01:00
rude
87e3c4131c
Finally abstracted constants properly. Changed how the event module works; wasn't really abstract before. Removed libs we're not going to use: native, signal.
2009-10-10 11:11:04 +02:00
rude
dcb3dfd83d
Initial Mercurial commit.
2009-07-26 15:46:49 +02:00