mirror of
https://github.com/CrispyPin/ovr-utils.git
synced 2024-11-14 04:20:25 +01:00
add GDVK plugin
This commit is contained in:
parent
ef744db9ae
commit
aaeed533da
8 changed files with 56 additions and 1 deletions
6
src/addons/gdvk/GDVK.tscn
Normal file
6
src/addons/gdvk/GDVK.tscn
Normal file
|
@ -0,0 +1,6 @@
|
||||||
|
[gd_scene load_steps=2 format=2]
|
||||||
|
|
||||||
|
[ext_resource path="res://addons/gdvk/gdvk.gdns" type="Script" id=1]
|
||||||
|
|
||||||
|
[node name="GDVK" type="Node"]
|
||||||
|
script = ExtResource( 1 )
|
2
src/addons/gdvk/bin/win64/.gitignore
vendored
Normal file
2
src/addons/gdvk/bin/win64/.gitignore
vendored
Normal file
|
@ -0,0 +1,2 @@
|
||||||
|
*
|
||||||
|
!.gitignore
|
2
src/addons/gdvk/bin/x11/.gitignore
vendored
Normal file
2
src/addons/gdvk/bin/x11/.gitignore
vendored
Normal file
|
@ -0,0 +1,2 @@
|
||||||
|
*
|
||||||
|
!.gitignore
|
17
src/addons/gdvk/gdvk.gdnlib
Normal file
17
src/addons/gdvk/gdvk.gdnlib
Normal file
|
@ -0,0 +1,17 @@
|
||||||
|
[general]
|
||||||
|
|
||||||
|
singleton=false
|
||||||
|
load_once=true
|
||||||
|
symbol_prefix="gdvk_"
|
||||||
|
reloadable=true
|
||||||
|
|
||||||
|
[entry]
|
||||||
|
|
||||||
|
X11.64="res://addons/gdvk/bin/x11/libgdvk.so"
|
||||||
|
Windows.64="res://addons/gdvk/bin/win64/libgdvk.dll"
|
||||||
|
|
||||||
|
[dependencies]
|
||||||
|
|
||||||
|
X11.64=[ ]
|
||||||
|
Windows.64=[ ]
|
||||||
|
OSX.64=[ ]
|
8
src/addons/gdvk/gdvk.gdns
Normal file
8
src/addons/gdvk/gdvk.gdns
Normal file
|
@ -0,0 +1,8 @@
|
||||||
|
[gd_resource type="NativeScript" load_steps=2 format=2]
|
||||||
|
|
||||||
|
[ext_resource path="res://addons/gdvk/gdvk.gdnlib" type="GDNativeLibrary" id=1]
|
||||||
|
|
||||||
|
[resource]
|
||||||
|
resource_name = "gdvk"
|
||||||
|
class_name = "GDVK"
|
||||||
|
library = ExtResource( 1 )
|
10
src/addons/gdvk/gdvk_plugin.gd
Normal file
10
src/addons/gdvk/gdvk_plugin.gd
Normal file
|
@ -0,0 +1,10 @@
|
||||||
|
tool
|
||||||
|
extends EditorPlugin
|
||||||
|
|
||||||
|
|
||||||
|
func _enter_tree() -> void:
|
||||||
|
add_autoload_singleton("GDVK", "res://addons/gdvk/GDVK.tscn")
|
||||||
|
|
||||||
|
|
||||||
|
func _exit_tree() -> void:
|
||||||
|
remove_autoload_singleton("GDVK")
|
9
src/addons/gdvk/plugin.cfg
Normal file
9
src/addons/gdvk/plugin.cfg
Normal file
|
@ -0,0 +1,9 @@
|
||||||
|
[plugin]
|
||||||
|
|
||||||
|
name="GDVK"
|
||||||
|
description="Godot virtual keyboard plugin
|
||||||
|
|
||||||
|
see https://github.com/CrispyPin/gdvk"
|
||||||
|
author="CrispyPin"
|
||||||
|
version="0.1.0"
|
||||||
|
script="gdvk_plugin.gd"
|
|
@ -22,6 +22,7 @@ Settings="*res://addons/settings-manager/Settings.tscn"
|
||||||
OverlayInit="*res://addons/openvr_overlay/overlay_init.gd"
|
OverlayInit="*res://addons/openvr_overlay/overlay_init.gd"
|
||||||
OverlayInteractionRoot="*res://addons/openvr_overlay/OverlayInteractionRoot.tscn"
|
OverlayInteractionRoot="*res://addons/openvr_overlay/OverlayInteractionRoot.tscn"
|
||||||
OverlayManager="*res://OverlayManager.tscn"
|
OverlayManager="*res://OverlayManager.tscn"
|
||||||
|
GDVK="*res://addons/gdvk/GDVK.tscn"
|
||||||
|
|
||||||
[debug]
|
[debug]
|
||||||
|
|
||||||
|
@ -35,7 +36,7 @@ window/size/height=2048
|
||||||
|
|
||||||
[editor_plugins]
|
[editor_plugins]
|
||||||
|
|
||||||
enabled=PoolStringArray( "res://addons/godot-openvr/plugin.cfg", "res://addons/openvr_overlay/plugin.cfg", "res://addons/ovr_utils/plugin.cfg", "res://addons/settings-manager/plugin.cfg" )
|
enabled=PoolStringArray( "res://addons/gdvk/plugin.cfg", "res://addons/godot-openvr/plugin.cfg", "res://addons/openvr_overlay/plugin.cfg", "res://addons/ovr_utils/plugin.cfg", "res://addons/settings-manager/plugin.cfg" )
|
||||||
|
|
||||||
[gdnative]
|
[gdnative]
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue