bjorn
fb1447503b
Fix gcc warnings;
2021-02-19 23:44:23 -07:00
bjorn
ccc53a10aa
Cleanup;
2021-02-08 16:08:29 -07:00
bjorn
68f5bb3095
Fix style issues;
2021-02-08 16:08:29 -07:00
Nevyn Bengtsson
5e66ecf000
lovrPlatformRequest{AudioCapture->Permission}(Perm) + platform stubs
2021-02-08 16:08:29 -07:00
Nevyn Bengtsson
0265babef4
Android: Ask for permissions on demand
...
By looking for failed start and requesting then;
and then emitting a new event type when
permission has been granted or rejected;
and then using that event in the default
boot.lua to re-start capture.
2021-02-08 16:08:29 -07:00
bjornbytes
a81cd0d731
KeyCode -> KeyboardKey because X11 conflict;
2020-11-12 18:08:04 -07:00
bjorn
4f730a89a7
android: fix t.graphics.debug;
2020-09-16 20:40:39 -07:00
bjorn
99cb04f55b
Clean up JNI references/arrays in lovrPlatformGetBundlePath;
2020-09-16 19:39:27 -07:00
bjorn
8f581df33c
Properly cleanup local KeyEvent JNI references;
2020-09-16 19:36:32 -07:00
Josip Miskovic
62c4235448
Fix definition of HOME key on Android
...
There are two HOME keys defined in keycodes.h, the previously used
doesn't work and is labeled with the following comment: "This key
is handled by the framework and is never delivered to applications."
2020-09-08 17:23:17 +02:00
bjorn
5d659d0ac2
os_android: Add missing lovrPlatformSetSwapInterval;
2020-08-29 16:59:26 -06:00
bjorn
161a14adc9
Reorganize keynums;
...
This is slightly easier on the eyes.
2020-08-29 15:27:16 -06:00
bjorn
4a8e8ae2a9
Rename SUPER key to OS internally;
2020-08-19 14:03:06 -06:00
bjorn
17ce02d429
Fix OpenXR compile errors and add some android support;
2020-08-18 21:10:06 -06:00
bjorn
810086e1ba
Make WindowFlags const in createWindow;
2020-08-17 00:55:12 -06:00
bjorn
438f7ef0d6
Add more Android keycodes;
2020-08-10 20:52:30 -06:00
bjorn
40594317c3
Android textinput event;
2020-08-08 12:36:09 -06:00
bjorn
682633d98b
Add scancode and key repeat arguments to key events;
2020-08-07 14:15:45 -06:00
bjorn
1e30c0d93c
Android key events;
2020-08-06 19:42:12 -06:00
bjorn
4160743b77
Fix desktop game packaging issue;
...
Accidentally hardcoded it to "assets" when updating Android.
2020-07-29 16:30:14 -06:00
bjorn
29f8365eed
Clean up os_android and fix event polling issues;
2020-07-03 20:17:39 -06:00
bjorn
9777306b70
rm oculus mobile;
2020-07-02 10:46:10 -06:00
bjorn
d8f7325bc7
lovr-oculus-mobile fixes;
2020-06-29 17:40:57 -06:00
bjorn
afaae2febb
Remaining android filesystem work;
2020-06-25 18:18:44 -06:00
bjorn
b77276fd1f
Android: make printf and print work;
2020-06-25 16:42:19 -06:00
bjorn
2042010b5b
Move core/fs paths to core/os;
...
Usually these are more of a platform-specific concept, and they
don't really interact with files or do any io.
There is a little bit of duplication among the *nix platforms since
they're similar, but overall this organization feels a bit better.
2020-06-25 13:28:40 -06:00
bjorn
8b281d56e3
Android: Organize tup rules; Fix manifest;
2020-06-25 13:27:18 -06:00
bjorn
a1aa3c8ae8
Finish vrapi driver;
2020-06-09 18:02:03 -06:00
bjorn
b34c03bcc8
Tup build system for android;
2020-06-09 18:02:03 -06:00
bjorn
4a545e4d04
EGL context creation fixes;
2020-02-04 16:48:03 -08:00
bjorn
3c2154c824
Add unused EGL context creation;
2020-01-28 21:42:44 -08:00
bjorn
c9a06a37cb
Refactor main; Add unused android entrypoint;
2020-01-28 21:38:44 -08:00
bjorn
b19a391c32
desktop: emit focus events;
2020-01-27 21:10:27 -08:00
mcc
c563787f7d
Android fixes. Major change is lovrMain() {} is now lovrMain {}
...
The oculus drivers choke on #define lovrMain()
2019-12-17 20:20:09 -05:00
bjorn
bb279b451c
Fix remaining platform references;
2019-12-13 19:58:22 -08:00
bjorn
e2d8f8c645
platform -> os;
...
The function names are staying the same for now.
2019-12-13 19:55:46 -08:00