<feed xmlns='http://www.w3.org/2005/Atom'>
<title>raylib/src, branch fix-mouse-released</title>
<subtitle>Forked from https://github.com/raysan5/raylib</subtitle>
<link rel='alternate' type='text/html' href='https://git.otimperi.dev/raylib/'/>
<entry>
<title>Fix `IsMouseButtonReleased()` when press/release events come too fast</title>
<updated>2019-12-04T17:13:43+00:00</updated>
<author>
<name>Oskari Timperi</name>
<email>oskari.timperi@iki.fi</email>
</author>
<published>2019-12-04T17:13:43+00:00</published>
<link rel='alternate' type='text/html' href='https://git.otimperi.dev/raylib/commit/?id=8470767bc9a51ae73b2b70b4a5ed57f666fdc024'/>
<id>8470767bc9a51ae73b2b70b4a5ed57f666fdc024</id>
<content type='text'>
If press/release events for a mouse button come too fast, then using
`IsMouseButtonReleased()` does not work. This has been noticed when
using a touchpad on Linux when tapping with two fingers two emulate
right mouse button click.

The situation looks like this:

```
BeginDrawing           &lt;-- current==released, previous==released
Pressed                &lt;-- current=pressed
Released               &lt;-- current=released
IsMouseButtonReleased  &lt;-- returns false because current==previous
EndDrawing             &lt;-- previous=released
```

The fix is to update the previous mouse button state in addition to
current mouse button state when `MouseButtonCallback()` is called by
glfw. Now the situation is as follows:

```
BeginDrawing           &lt;-- current==released, previous==released
Pressed                &lt;-- current=pressed, previous=released
Released               &lt;-- current=released, previous=pressed
IsMouseButtonReleased  &lt;-- returns true because current!=previous
EndDrawing             &lt;-- previous=released
```
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
If press/release events for a mouse button come too fast, then using
`IsMouseButtonReleased()` does not work. This has been noticed when
using a touchpad on Linux when tapping with two fingers two emulate
right mouse button click.

The situation looks like this:

```
BeginDrawing           &lt;-- current==released, previous==released
Pressed                &lt;-- current=pressed
Released               &lt;-- current=released
IsMouseButtonReleased  &lt;-- returns false because current==previous
EndDrawing             &lt;-- previous=released
```

The fix is to update the previous mouse button state in addition to
current mouse button state when `MouseButtonCallback()` is called by
glfw. Now the situation is as follows:

```
BeginDrawing           &lt;-- current==released, previous==released
Pressed                &lt;-- current=pressed, previous=released
Released               &lt;-- current=released, previous=pressed
IsMouseButtonReleased  &lt;-- returns true because current!=previous
EndDrawing             &lt;-- previous=released
```
</pre>
</div>
</content>
</entry>
<entry>
<title>Corrected issue #1027</title>
<updated>2019-12-04T10:05:46+00:00</updated>
<author>
<name>raysan5</name>
<email>raysan5@gmail.com</email>
</author>
<published>2019-12-04T10:05:46+00:00</published>
<link rel='alternate' type='text/html' href='https://git.otimperi.dev/raylib/commit/?id=3d936061c8a39e4918399a805aac6b33ed97310a'/>
<id>3d936061c8a39e4918399a805aac6b33ed97310a</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Review VSync on fullscreen mode</title>
<updated>2019-12-01T12:58:29+00:00</updated>
<author>
<name>Ray</name>
<email>raysan5@gmail.com</email>
</author>
<published>2019-12-01T12:58:29+00:00</published>
<link rel='alternate' type='text/html' href='https://git.otimperi.dev/raylib/commit/?id=95f3b6e18e0a407a89ffa30d5e2e518e58ffdd64'/>
<id>95f3b6e18e0a407a89ffa30d5e2e518e58ffdd64</id>
<content type='text'>
It seems to work ok on my old Intel HD Graphics card... it should work anywhere else
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
It seems to work ok on my old Intel HD Graphics card... it should work anywhere else
</pre>
</div>
</content>
</entry>
<entry>
<title>fixes for switching full-screen and v-sync (#963)</title>
<updated>2019-12-01T12:46:09+00:00</updated>
<author>
<name>MasterZean</name>
<email>zean.z2legacy@gmail.com</email>
</author>
<published>2019-12-01T12:46:09+00:00</published>
<link rel='alternate' type='text/html' href='https://git.otimperi.dev/raylib/commit/?id=8eecbbe4aa644bfcce5778b7f077eb01a0665c6f'/>
<id>8eecbbe4aa644bfcce5778b7f077eb01a0665c6f</id>
<content type='text'>
* fixes for switching full-screen and v-sync

* requireVsync flag
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
* fixes for switching full-screen and v-sync

* requireVsync flag
</pre>
</div>
</content>
</entry>
<entry>
<title>Update GLFW to version 3.4</title>
<updated>2019-12-01T12:30:02+00:00</updated>
<author>
<name>Ray</name>
<email>raysan5@gmail.com</email>
</author>
<published>2019-12-01T12:30:02+00:00</published>
<link rel='alternate' type='text/html' href='https://git.otimperi.dev/raylib/commit/?id=ea5cd42e6ccc3c0e520b98a2eb9ebc2c6ce62431'/>
<id>ea5cd42e6ccc3c0e520b98a2eb9ebc2c6ce62431</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>ADDED: DrawTextCodepoint()</title>
<updated>2019-12-01T12:28:14+00:00</updated>
<author>
<name>Ray</name>
<email>raysan5@gmail.com</email>
</author>
<published>2019-12-01T12:28:14+00:00</published>
<link rel='alternate' type='text/html' href='https://git.otimperi.dev/raylib/commit/?id=3ffe34f9bb6452c021dfff0c2b04411542920c22'/>
<id>3ffe34f9bb6452c021dfff0c2b04411542920c22</id>
<content type='text'>
 - Renamed GetGlyphIndex() parameter
 - Review DrawTextEx() implementation
 - Review DrawTextRecEx() implementation
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
 - Renamed GetGlyphIndex() parameter
 - Review DrawTextEx() implementation
 - Review DrawTextRecEx() implementation
</pre>
</div>
</content>
</entry>
<entry>
<title>Minor comments tweak</title>
<updated>2019-12-01T11:55:33+00:00</updated>
<author>
<name>Ray</name>
<email>raysan5@gmail.com</email>
</author>
<published>2019-12-01T11:55:33+00:00</published>
<link rel='alternate' type='text/html' href='https://git.otimperi.dev/raylib/commit/?id=416a52b5bc6b1c0ec0d3acf4b86521a96f017811'/>
<id>416a52b5bc6b1c0ec0d3acf4b86521a96f017811</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Update miniaudio.h to v0.9.8</title>
<updated>2019-11-25T10:42:49+00:00</updated>
<author>
<name>Ray</name>
<email>raysan5@gmail.com</email>
</author>
<published>2019-11-25T10:42:49+00:00</published>
<link rel='alternate' type='text/html' href='https://git.otimperi.dev/raylib/commit/?id=60e851154366d8d3944de0437cf13180dedadb48'/>
<id>60e851154366d8d3944de0437cf13180dedadb48</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Support rlPushMatrix() and rlPopMatrix() on mesh drawing</title>
<updated>2019-11-25T10:29:04+00:00</updated>
<author>
<name>Ray</name>
<email>raysan5@gmail.com</email>
</author>
<published>2019-11-25T10:29:04+00:00</published>
<link rel='alternate' type='text/html' href='https://git.otimperi.dev/raylib/commit/?id=97abaff4c5daad57c50822fb15b790a7241c7775'/>
<id>97abaff4c5daad57c50822fb15b790a7241c7775</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Comments (#1026)</title>
<updated>2019-11-24T23:13:05+00:00</updated>
<author>
<name>Darryl Dixon - Piece Digital</name>
<email>piecedigitalstudios@gmail.com</email>
</author>
<published>2019-11-24T23:13:05+00:00</published>
<link rel='alternate' type='text/html' href='https://git.otimperi.dev/raylib/commit/?id=776304e8e8deb79edb74d145111025eb66e03906'/>
<id>776304e8e8deb79edb74d145111025eb66e03906</id>
<content type='text'>
* swapped comments, expanded comment for clarity

* revert alignments

* adjusted for consistency
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
* swapped comments, expanded comment for clarity

* revert alignments

* adjusted for consistency
</pre>
</div>
</content>
</entry>
</feed>
