Commit graph

218 commits

Author SHA1 Message Date
Dario Manesku
9ea92d4a47 Added char events for entry-sdl. 2015-03-09 03:53:08 +01:00
Dario Manesku
205fa041e9 Cleanup. 2015-03-09 03:53:08 +01:00
Dario Manesku
633ea3f211 Added missing toggleFullscreen() in entry_windows.cpp. 2015-03-08 06:36:44 +01:00
Branimir Karadžić
6683df3a8c SDL: Fixed compile error. 2015-03-07 22:25:06 -08:00
Dario Manesku
ccb95fc3d9 Fixup for previous commit. 2015-03-08 03:10:25 +01:00
Dario Manesku
f9750906c0 Fixing mouse input in fullscreen mode. 2015-03-08 03:03:55 +01:00
Dario Manesku
b46aadcaf7 Init window in the center of the screen. 2015-03-08 02:59:16 +01:00
Dario Manesku
2443718b9f Fixup for previous commit. 2015-03-08 01:17:49 +01:00
Dario Manesku
81b9086de5 If some key modifiers are pressed other than shift, send postKeyEvent(). 2015-03-08 01:03:51 +01:00
Dario Manesku
7bc7b9f329 Changed mouse modifier from shift to command. 2015-03-08 00:29:52 +01:00
Dario Manesku
6935ead3e6 Implemented existing OSX window commands + added toggleFullscreen(). 2015-03-07 23:39:04 +01:00
Dario Manesku
52008569ef Get mouse position only once and store it. 2015-03-06 02:35:04 +01:00
Dario Manesku
c5943ded12 Make sure mouse button state is 'up' after window resize. 2015-03-06 02:35:04 +01:00
Dario Manesku
f47bd56d52 Fixing content display on window resize. 2015-03-06 02:35:04 +01:00
Dario Manesku
382c0b685b Calling postExitEvent() for Meta+Q as in other entries. 2015-03-06 02:35:03 +01:00
Dario Manesku
701cd3b3c9 Adding postCharEvent() to OSX entry. 2015-03-06 02:35:03 +01:00
Dario Manesku
97e9d2db6c Temporary solution for middle click. 2015-03-06 02:35:03 +01:00
Dario Manesku
9a23cf7b42 OSX prefers scroll be implemented this way. 2015-03-06 02:35:03 +01:00
Dario Manesku
ef9c989c14 Added mouse scroll support for OSX. 2015-03-05 03:37:20 +01:00
Dario Manesku
5453b2cf40 Fixed mouse scroll value on Windows. 2015-03-02 16:08:01 +01:00
Dario Manesku
2d7b134b3b Added support for mouse scroll. 2015-03-02 16:08:01 +01:00
Branimir Karadžić
0ff1d7df0c Better way to configure entry allocator. 2015-02-13 09:43:46 -08:00
Branimir Karadžić
804a460d75 Added ability to configure entry allocator. 2015-02-12 21:52:34 -08:00
Branimir Karadžić
7019edd20f Cleanup. 2015-02-11 19:42:20 -08:00
Dario Manesku
269a676421 Cleanup. 2015-02-12 02:50:18 +01:00
Branimir Karadžić
3b2c0dc001 Fixed static initializer order. 2015-02-09 20:12:46 -08:00
Branimir Karadžić
6d2d04cad5 Cleanup. 2015-02-08 10:25:53 -08:00
Dario Manesku
122129b351 Moving TinyStlCustomAllocator inside entry. 2015-02-08 12:34:06 +01:00
Dario Manesku
112b53b116 Added possibility to override default tinystl allocator for 'example-common' project. 2015-02-08 12:34:05 +01:00
Branimir Karadžić
1d4eb335a7 Removed X11 include in bgfxplatform.h. 2015-02-06 16:49:04 -08:00
Branimir Karadžić
877fa25d5b cleanup. 2015-02-03 22:24:40 -08:00
Branimir Karadžić
0516b5603b Added max anisotropy reset flag. 2015-01-21 20:39:42 -08:00
Attila Kocsis
d3d304e008 Fix issue #229: Mouse movement does not work on OSX/Macbook Pro properly 2015-01-15 19:58:33 +01:00
Attila Kocsis
1fac08f3ef added separate ios/osx Xcode project generation
added ios/osx bundle resource loading
added info.plist for iOS Xcode examples
Xcode now uses only Universal target ( should use 'Standard' as it is default in Xcode projects - this will require modification of genie)
2015-01-14 19:50:45 +01:00
Branimir Karadžić
7db31fc7fa Cleanup. 2015-01-07 22:36:36 -08:00
Branimir Karadžić
4b1b62e6bd Fixed MinGW build from Linux. 2015-01-04 16:23:00 -08:00
Branimir Karadžić
649d7f74d2 Updated copyright year. 2015-01-02 14:43:11 -08:00
Branimir Karadžić
c25dd466be Updated copyright year. 2015-01-01 15:04:46 -08:00
Branimir Karadžić
527adf3c28 Android: Added gamepad support. 2014-12-29 13:53:44 -08:00
Branimir Karadžić
0a594cdb91 Android: Added input handling. 2014-12-25 18:27:27 -08:00
Branimir Karadzic
c8a112d71e X11: Relax polling input. 2014-12-25 09:27:51 -08:00
Branimir Karadžić
857a2b18f1 Android: Fixed GLES3+ build. 2014-12-23 23:32:36 -08:00
Branimir Karadzic
9b2ca73de4 x11: Added gamepad support. 2014-12-21 13:35:11 -08:00
Branimir Karadžić
e1a7daf38a Win: Capture mouse when mouse button is down. 2014-12-20 19:07:01 -08:00
Branimir Karadzic
0d20d7e6c8 Added gamepad guide button. 2014-12-20 10:38:40 -08:00
Branimir Karadžić
3de8b63457 Fixed crash when xinput is not present. 2014-12-19 22:37:31 -08:00
Branimir Karadžić
f46b91db84 Cleanup. 2014-12-18 21:39:38 -08:00
Branimir Karadžić
6315743251 SDL: Added connect/disconnect gamepad events. 2014-12-17 21:25:00 -08:00
Branimir Karadžić
cdc0c01503 Added XInput support. 2014-12-17 21:07:40 -08:00
Branimir Karadzic
510bc9e344 Cleanup. 2014-12-15 21:08:55 -08:00
Branimir Karadžić
73a227cefd SDL2: Added gamepad support. 2014-12-15 20:58:54 -08:00
Attila Kocsis
4a7a9bc4a3 fixed crash on iOS 2014-12-10 22:38:50 +01:00
Branimir Karadžić
ff44d73480 Updated NanoVG and Blendish. 2014-11-16 18:59:17 -08:00
Branimir Karadžić
307b0df945 Updated README. 2014-11-15 15:48:24 -08:00
Mike Popoloski
893035af65 Merge branch 'master' of https://github.com/bkaradzic/bgfx 2014-11-15 13:32:22 -05:00
Mike Popoloski
2148c54572 Adding WinRT entrypoint for examples. 2014-11-14 08:23:31 -05:00
Branimir Karadžić
545978d661 Cleanup. 2014-11-12 22:16:19 -08:00
Branimir Karadžić
e147e7b2e6 OVR: Added rendering without distortion. 2014-11-12 21:26:28 -08:00
Dario Manesku
9cc92fd2e1 Cleanup unused code. 2014-11-11 02:27:13 +01:00
Dario Manesku
aa6c92ff40 Fixing inputGetChar(). 2014-11-11 02:09:39 +01:00
Branimir Karadzic
43b9802b48 Fixed Linux build. 2014-11-10 09:08:26 -08:00
Branimir Karadžić
31efb2991f Updated to OVR 0.4.3. Added support for event char to read keyboard text input. 2014-11-08 20:57:47 -08:00
Branimir Karadžić
a2153729be Added HMD recenter support. Updated examples to support HMD. 2014-11-02 00:06:18 -07:00
Branimir Karadžić
f6cf4df3d3 Added OculusVR support. 2014-10-28 22:08:55 -07:00
Branimir Karadžić
3947174959 Android: Removed status bar. 2014-10-24 20:33:56 -07:00
Branimir Karadzic
46ec4e390c Fixed clang build. 2014-10-17 09:45:45 -07:00
Branimir Karadžić
5e39e3b16a clang on VS201x. 2014-10-16 19:54:29 -07:00
Branimir Karadžić
8f6495be0b SDL2: Fixed args. 2014-10-12 16:41:15 -07:00
Branimir Karadžić
8dc34db44a SDL2: Fixed mouse button. 2014-10-12 14:04:06 -07:00
Branimir Karadžić
cd2d643522 Cleanup. 2014-10-12 11:51:58 -07:00
Branimir Karadzic
42c9dafd03 Cleanup. 2014-10-12 11:41:04 -07:00
Branimir Karadžić
8abed27c0c Added SDL2_DIR when using --with-sdl GENie config. 2014-10-12 09:58:06 -07:00
Branimir Karadzic
e063661e95 SDL2: Moved renderer to main thread. Added --with-sdl GENie option. 2014-10-11 21:55:24 -07:00
Branimir Karadzic
12c3508aa2 Fixed clang warning. 2014-10-11 20:59:46 -07:00
Branimir Karadžić
757df73eb5 SDL2: Added multiwindow support to entry_sdl. 2014-10-11 20:42:42 -07:00
Branimir Karadzic
b9d509763e Fixed compile error. 2014-10-02 20:10:12 -07:00
Branimir Karadzic
0aba867510 x11: Create/destroy window code. 2014-10-02 19:52:43 -07:00
Branimir Karadzic
8dab207b36 OSX: Fixed window resize. 2014-10-01 20:25:56 -07:00
Branimir Karadžić
1b5454bd51 Fixed 22-windows example. 2014-09-30 22:20:16 -07:00
Branimir Karadžić
bb9a35e809 Win: Don't let OS destroy window. Fixes issue #162. 2014-09-30 19:04:24 -07:00
Branimir Karadzic
2850924e95 Merge branch 'master' of github.com:bkaradzic/bgfx 2014-09-28 13:36:30 -07:00
Branimir Karadzic
af86d1b02d OSX: Added more key translation. 2014-09-28 13:36:23 -07:00
Branimir Karadžić
80f2044a7c Cleanup. 2014-09-28 11:03:47 -07:00
Branimir Karadzic
22614cf946 x11: Post size event when initializing window. 2014-09-24 21:05:48 -07:00
bkaradzic
e60863e301 Fixed warning: array subscript is of type 'char' [-Wchar-subscripts]. 2014-09-24 16:06:11 -07:00
Daniel Collin
874790838c Added inital mouse and keyboard support for OSX 2014-09-24 22:25:16 +02:00
Branimir Karadžić
f4c7f69ed7 Added swap chain caps. 2014-09-23 20:35:39 -07:00
bkaradzic
dd5492c29a OSX: Clear window after initialization. 2014-09-23 08:11:25 -07:00
Branimir Karadžić
3d3a725812 DX9: Fixed swap chain depth creation. 2014-09-22 23:00:42 -07:00
Branimir Karadžić
59ba895727 Windows: Clear window after initialization. 2014-09-22 22:03:41 -07:00
Branimir Karadzic
e0ab81d387 x11: Clear window after initialization. 2014-09-22 20:37:49 -07:00
Branimir Karadžić
de3d152b9c Added multiple windows example. 2014-09-22 19:34:10 -07:00
bkaradzic
205b2a37ab Fixed SDL2 entry. 2014-09-21 09:52:55 -07:00
bkaradzic
98c62f2687 Fixed iOS entry. 2014-09-19 10:37:52 -07:00
bkaradzic
5ae9de7482 Fixed OSX entry. 2014-09-19 10:33:13 -07:00
Branimir Karadzic
72892c7179 Fixed x11. 2014-09-19 08:57:35 -07:00
Branimir Karadžić
2111974c80 Multiple window support WIP. 2014-09-18 22:32:33 -07:00
Branimir Karadzic
8cadf56148 Cleanup. 2014-08-24 18:55:18 -07:00
Branimir Karadžić
140e990ab4 Added RaspberryPi platform. 2014-08-24 17:41:41 -07:00
bkaradzic
660f86065f Fixed compile errors. 2014-08-22 19:29:54 -07:00