Commit Graph
36 Commits
Author SHA1 Message Date
ykearaandRTUnreal ca0ec3e07d Qt6 (#669)
* update qt6 upgrade progress

* add flawed addition for QRenderTarget and link needed libs

* update to better logging format

* move many assets and qml files into qrc

* get rid of deprecation messages

* remove additional deprecation notices

* make Qt6 finally render on desktop with some progress on vr

* initialize QRhi with QQuickRenderControl

* use default values to stop SegFaults

* fix compilation on windows

* add windows files for aiding in running exe

* fix formatting of testing qt.conf

* first attempt on using textures instead of files in AudioTabController

* Fix public/private access issue

---------

Co-authored-by: RTUnreal <unreal@rtinf.net>
2024-04-03 22:49:24 -05:00
ykeara 48a7cf4b7f 5.8.3 (#658)
* add delay if interface not found

* adjust initialization behavior

* pushed for debugging reasons for concerned parties

* comment out simple recenter

* remove old style motion, some minor optimizations

* optimize default case check

* optimized default condition

* change manifest install behavior to trigger on desktop mode as well

* add desktop mode binding launch

* add tracker overlay option to utils

* commit to check status

* attempt to fix native LH issues with chaperone when exiting

* add desktop mode toggle and some cleanup

* remove adjust chaperone

* remove clang format from ci, increment version, cleanup

* update circle ci

* fix conversion warning

* add F13-19 to keyboard parser

* add additional logging around failure to initialize

* add unsaved changes

* update version 5.8.1

* fix some collisions in enum declaration

* add controller powers on steamvr, and no HMD to steamvr tab, increment version

* slightly alter drag movement, fix qml issue

* code cleanup

* fix logspam/attempt to delete non existant overlays

* increment version 5.8.3
2024-02-21 12:38:00 -06:00
ykeara 4fb026958e custom keybinds multiple keypress fix. [add backslash to Parser] (#513)
* fixed input sending bug not properly releasing keys

* updated to ovr 1.12.5

* added disable oculus api button experimental

* small refactor and fix float and bool bugs

* added nokeyup events to modifier keys when read in, and adjusted  token send to have proper logic

* fixed literal held issue

* added backslash

* fixed sender token parser

* updated version string to dev whoops

* added backslash to documentation for keyboard input
2020-09-03 11:08:37 -05:00
ykeara 15f5534f69 Added F10-F12 For Custom KeyBinds (#507)
* added F10-F12 keys

* updated version strings to 5.2.2

* updated spec to reflect new keys
2020-08-11 20:02:34 -05:00
ykeara 82a0357748 Keyboard Parse Fix (#467)
* fixed input sending bug not properly releasing keys

* updated to ovr 1.12.5

* added disable oculus api button experimental

* small refactor and fix float and bool bugs
2020-06-05 15:42:10 -05:00
ykeara 8c2af7477c Keyboard Press Feature and Version String Updated (#464)
* added two new keyboard press actions

* added todos to overlay controller for new actions

* added settings for keyboard press and default to f10

* added logic, fixed default value

* added action alias

* fixed center marker rotation count

* updated version strings

* fixed Trigger Condition

* removed literal limitation (character input)

* updated version string

* fixed white space issues
2020-06-04 11:17:58 -05:00
Vasily 2ce911b5d8 Fix keyboard input bugs
Premade keyboard inputs that relied on multiple buttons were broken due
to no TOKEN_NO_KEYUP_NEXT.
2020-05-17 22:36:35 +02:00
Vasily 9412c31e42 Refactor input_sender to have main logic be cross platform
Previously logic was duplicated for Linux/Windows.
Additionally, Linux was
```cpp
if ( isModifier( token ) )
{
    sendKeyPress( token, KeyStatus::Down, display );
    if ( noKeyUp )
    {
        heldInputs.push_back( token );
    }
    continue;
}
```
while Windows was
```cpp
if ( isModifier( token ) )
{
    inputs.push_back( createInputStruct(
                convertToVirtualKeycode( token ), KeyStatus::Down ) );
    if ( !noKeyUp )
    {
        heldInputs.push_back( token );
    }
    continue;
}
```
(notice difference in noKeyUp if statement which was a bug on Linux.
Windows was the correct version and it has been kept.
2020-05-17 22:36:35 +02:00
Kung-vr b4dbbe8857 Add keyboard input RShift, tilde, "no key up" tokens and debug buttons
These are used to add support for vrc debug commands which I personally wanted to add. Because it's a narrow use case the must be enabled manually by adding vrcDebug = true to [utilitiesSettings] in the OpenVRAdvancedSettings.ini file
2019-10-01 10:36:04 +09:00
Vasily 73e1878e59 Remove X11 logging calls 2019-06-15 10:00:46 +02:00
Vasily 97009aa39a Convert KeySym to KeyCode
Previously KeySyms were sent when KeyCodes should have been sent.
2019-06-15 10:00:46 +02:00
Vasily e2f41fce37 Remove unused param for X11 input sender 2019-06-15 10:00:46 +02:00
Vasily 589b759c77 Linux Keyboard Input: Make KeySym conv explicit 2019-06-15 10:00:46 +02:00
Vasily 9703917a19 Fix bug in Linux keyboard input sender
Held modifiers weren't being released again.
2019-06-15 10:00:46 +02:00
Vasily 061509eff6 Add casts to logging calls 2019-06-15 10:00:46 +02:00
Vasily f68413d651 Add logging calls to X11 key sending 2019-06-15 10:00:46 +02:00
Vasily f70e66277b Add dereference to logging call 2019-05-25 18:49:42 +02:00
Vasily 3f8f757ead Add error logging for keyboard input 2019-05-25 18:49:42 +02:00
Vasily 9fe1f3dc50 Separate media keys from keyboard shortcuts
The media keys were only in the keyboard shortcuts file because their
implementation was the same. With Linux support incoming their
implementations are not necessarily the same.
2019-05-25 18:49:42 +02:00
Vasily 55a3830787 Fix keyboard input implementation error and replace old system 2019-05-25 18:49:42 +02:00
Vasily d48f74b314 Fix clang-tidy errors 2019-05-25 18:49:42 +02:00
Vasily 1cd259bf9b Add inline to sendStringAsInput
Definition in function header led to linker errors.
2019-05-25 18:49:42 +02:00
Vasily 2d8f5a1b40 Add Enter button to spec and keyboard_input
It was mistakenly left out.
2019-05-25 18:49:42 +02:00
Vasily eb25656eeb Fix typo in keyboard_input function name 2019-05-25 18:49:42 +02:00
Vasily 6a3a58361d Add Linux keyboard_input support 2019-05-25 18:49:42 +02:00
Vasily 9fa42842cd Add top level stringToInput sender in header
This is the same for all platforms, so thers' no reason to duplicate it
in platform specific sections.
2019-05-25 18:49:42 +02:00
Vasily 0c7c339e3e Add sending inputs for keyboard_input on Windows 2019-05-25 18:49:42 +02:00
Vasily 6290221853 Remove AltGr support from keyboard input
Was removed in spec for being Alt + Ctrl.
2019-05-25 18:49:42 +02:00
Vasily b4cf5d3cb7 Add removing duplicate tokens to input_parser 2019-05-25 18:49:42 +02:00
Vasily bc060bec96 Add removing extra new-sequence tokens 2019-05-25 18:49:42 +02:00
Vasily 2c0f49d8d6 Add noexcept specifiers to keyboard_input functions 2019-05-25 18:49:42 +02:00
Vasily f72e1b2541 Add capital literal parsing and tests 2019-05-25 18:49:42 +02:00
Vasily d5cb19cea1 Add tests for capital literals 2019-05-25 18:49:42 +02:00
Vasily ef0e679344 Add support for space token to keyboard_input 2019-05-25 18:49:42 +02:00
Vasily e40058e58a Fix keyboard_input SEGFAULT 2019-05-25 18:49:42 +02:00
Vasily d6c7b52a47 Add initial keyboard_input parser and tests
The current implementation SEGFAULTs when F characters are followed by
end of string.
2019-05-25 18:49:42 +02:00