Skip to content

Commit 6a7bfd9

Browse files
committed
Merge branch 'release/1.8.0'
2 parents 2a3d7cd + e08642c commit 6a7bfd9

File tree

5 files changed

+305
-104
lines changed

5 files changed

+305
-104
lines changed

CHANGELOG.md

Lines changed: 30 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,30 @@
1+
## Version 1.8.0 ( 2016-01-30 )
2+
- Add gamepad and joystick callbacks
3+
- Add love.threaderror
4+
- Add varargs to ScreenManager.init
5+
6+
## Version 1.7.0 ( 2016-01-12 )
7+
- Add textedited callback
8+
- Fix parameters for keypressed, keyreleased, mousepressed and mousereleased
9+
10+
## Version 1.6.0 ( 2015-10-29 )
11+
- Add filedropped and directorydropped callbacks
12+
13+
## Version 1.5.0 ( 2015-10-25 )
14+
- Add more callbacks
15+
16+
## Version 1.4.1 ( 2015-04-14 )
17+
- Allow passing of varargs to new Screens
18+
19+
## Version 1.3.1 ( 2015-03-24 )
20+
- Update library information
21+
22+
## Version 1.3.0 ( 2015-02-20 )
23+
- Add mousemoved callback
24+
25+
## Version 1.2.1 ( 2015-02-03 )
26+
- Add library information
27+
- Remove redundant code
28+
29+
## Version 1.2.0 ( 2015-01-18 )
30+
- Initial Release

LICENSE.md

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
Copyright (c) 2014 - 2016 Robert Machmer
2+
3+
This software is provided 'as-is', without any express or implied
4+
warranty. In no event will the authors be held liable for any damages
5+
arising from the use of this software.
6+
7+
Permission is granted to anyone to use this software for any purpose,
8+
including commercial applications, and to alter it and redistribute it
9+
freely, subject to the following restrictions:
10+
11+
1. The origin of this software must not be misrepresented; you must not
12+
claim that you wrote the original software. If you use this software
13+
in a product, an acknowledgment in the product documentation would be
14+
appreciated but is not required.
15+
2. Altered source versions must be plainly marked as such, and must not be
16+
misrepresented as being the original software.
17+
3. This notice may not be removed or altered from any source distribution.

Readme.md renamed to README.md

Lines changed: 3 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -6,10 +6,9 @@ It also offers hooks for most of LÖVE's callback functions. Based on the type o
66

77
## Example
88

9-
This is a simple example of how the ScreenManager should be used (note: You will have to change the paths in the example to fit your setup).
9+
This is a simple example of how the ScreenManager should be used (note: You will have to change the paths in the example to fit your setup).
1010

11-
```
12-
#!lua
11+
```lua
1312
-- main.lua
1413

1514
local ScreenManager = require('lib/ScreenManager');
@@ -32,8 +31,7 @@ end
3231
```
3332
Note how MainScreen inherits from Screen.lua. This isn't mandatory, but recommended since Screen.lua already has templates for most of the callback functions.
3433

35-
```
36-
#!lua
34+
```lua
3735
-- MainScreen.lua
3836

3937
local Screen = require('lib/Screen');

Screen.lua

Lines changed: 21 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -78,9 +78,11 @@ function Screen.new()
7878
function self:resize() end
7979

8080
function self:textedited() end
81-
81+
8282
function self:textinput() end
8383

84+
function self:threaderror() end
85+
8486
function self:touchmoved() end
8587

8688
function self:touchpressed() end
@@ -93,6 +95,24 @@ function Screen.new()
9395

9496
function self:wheelmoved() end
9597

98+
function self:gamepadaxis() end
99+
100+
function self:gamepadpressed() end
101+
102+
function self:gamepadreleased() end
103+
104+
function self:joystickadded() end
105+
106+
function self:joystickaxis() end
107+
108+
function self:joystickhat() end
109+
110+
function self:joystickpressed() end
111+
112+
function self:joystickreleased() end
113+
114+
function self:joystickremoved() end
115+
96116
return self;
97117
end
98118

0 commit comments

Comments
 (0)