Compare commits

...
756 Commits
Author SHA1 Message Date
Mamadou Babaei 0f6fa475a9 bump the plugin version to v2.9.2 2026-07-21 19:05:44 +02:00
Mamadou Babaei 70f3bc69dc update the fakeshm module tuning utilities to the v2.400.5-0e7a41d01 builds 2026-07-21 19:04:30 +02:00
Mamadou Babaei 4d4a41613a bump senseglove libraries to v2.400.5-0e7a41d01 2026-07-21 18:44:27 +02:00
Mamadou Babaei 667137baf4 another attempt at fixing fab store submission build issues for ue 5.8 which also changes msvc third-binary selection behavior on windows 2026-07-21 17:31:57 +02:00
Mamadou Babaei 057ba5024a bump the plugin version to v2.9.1 2026-07-17 09:59:09 +02:00
Mamadou Babaei 5f5e2e92c1 fix ThirdParty/SGBleThirdPartyLibs's module warnings 2026-07-17 09:58:58 +02:00
Mamadou Babaei 15f5f100a1 update the fakeshm module tuning utilities for microsoft windows to the latest v2.400.3-28889647d builds 2026-07-17 09:43:31 +02:00
Mamadou Babaei 0629bc1799 bump senseglove libraries to v2.400.3-28889647d 2026-07-17 09:40:09 +02:00
Mamadou Babaei b6c352b351 bump the plugin version to v2.9.0 2026-07-13 20:12:06 +02:00
Mamadou Babaei ca3a6334a3 fix the platform support matrix 2026-07-13 20:09:20 +02:00
Mamadou Babaei 825082178f list senseglove-unreal-openxr-hand-from-scratch-bp-demo in extra resources section 2026-07-13 20:06:24 +02:00
Mamadou Babaei cb765ddb39 bump senseglove libraries to v2.400.1-302a8aa67 2026-07-13 18:24:21 +02:00
Mamadou Babaei bef2b47294 update the fakeshm module tuning utilities for microsoft windows to the latest v2.400.1-302a8aa67 builds 2026-07-13 18:20:30 +02:00
Mamadou Babaei 7d3eb9bca4 minor markdown formatting fixes 2026-07-13 18:19:15 +02:00
Mamadou Babaei feda16869f update the fakeshm module tuning utilities for gnu/linux to the latest v2.400.1-302a8aa67 builds 2026-07-13 17:51:12 +02:00
Mamadou Babaei ccbf7c1a55 complete the initial draft of getting-started/sensecom/fakeshm-tuning handbook section 2026-07-13 17:34:09 +02:00
Mamadou Babaei 63cde847e0 bump mdbook and mdbook-epub to v0.5.4 2026-07-13 13:38:30 +02:00
Mamadou Babaei 8ee8babe88 bump the rust toolchain to v1.96.1 2026-07-13 13:31:04 +02:00
Mamadou Babaei a3615ba5f5 fix a typo inside the changelog 2026-07-13 13:09:34 +02:00
Mamadou Babaei ced4433d43 changelog fixes and updates: mention biojppm/rapidyaml added binaries 2026-07-13 13:08:02 +02:00
Mamadou Babaei 8f78c4a686 bump senseglove libraries to v2.400.0-023e6b23c 2026-07-13 12:52:20 +02:00
Mamadou Babaei 84d51edf79 update the fakeshm module tuning utilities to the latest v2.400.0-023e6b23c builds 2026-07-13 12:24:49 +02:00
Mamadou Babaei 86180240c4 add the missing third-party licenses urls to the overview and summary menus 2026-07-10 19:44:39 +02:00
Mamadou Babaei 409fe6a4b9 add the fakeshm module tuning utilities and ininitial draft of its documentation and its third-party dependencies licenses 2026-07-12 18:39:20 +02:00
Mamadou Babaei e9eb7a47d2 fix a broken url 2026-07-10 18:27:20 +02:00
Mamadou Babaei 26e4a211a9 fix runuat build issues 2026-07-10 16:19:01 +02:00
Mamadou Babaei 305bebfedb whitespace fix 2026-07-10 16:17:52 +02:00
Mamadou Babaei eb3bbecc95 list ue 5.8 inside the sgum-packager configuration file 2026-07-10 15:42:11 +02:00
Mamadou Babaei b101f9687b bump senseglove libraries to the latest experimental release of v2.400.x and introduce ThirdParty/SGRapidYamlThirdPartyLibs 2026-07-12 16:14:38 +02:00
Mamadou Babaei 697722a450 update sgblel and sgblexx rust dependencies licenses 2026-07-06 16:26:57 +02:00
Mamadou Babaei f9613f5f17 add new license sections utilized by the senseglove libraries v2.400.x series 2026-07-06 14:23:40 +02:00
Mamadou Babaei db1ef75d9d bump senseglove libraries to the latest experimental release of v2.400.x 2026-07-03 11:47:50 +02:00
Mamadou Babaei 586ffd0dd3 bump senseglove libraries to the latest experimental release of v2.400.x 2026-07-02 11:00:42 +02:00
Mamadou Babaei d6abbf3ac2 apply breaking Blueprint API fixes and some other minor fixes 2026-06-24 12:55:28 +02:00
Mamadou Babaei 41a1a06975 mark ue 5.5 support as deprecated and introduce ue 5.8 and update the platform support matrix and planned features accordingly 2026-06-24 12:19:13 +02:00
Mamadou Babaei 98d754f9fc bump senseglove libraries to the latest experimental release of v2.400.x 2026-06-23 13:34:10 +02:00
Mamadou Babaei aa6b1838a3 fix a ue 5.8 deperecation warning on android builds 2026-06-17 16:08:05 +02:00
Mamadou Babaei 14b150fbd8 bump senseglove libraries to the latest experimental release of v2.400.x 2026-06-16 15:22:46 +02:00
Mamadou Babaei 23b75ecb37 implement sgcore ue api functions that are required for the underlying library and sgfakeshm initialization/termination 2026-06-16 14:14:00 +02:00
Mamadou Babaei 478163de69 add missing bp function USGLibraryKismetLibrary::GetBackendType & ESGBackendType::AndroidStrings enumerator 2026-06-16 14:03:16 +02:00
Mamadou Babaei e65889cd35 make the plugin build with the upcoming ue 5.8, msvc 2026, and upcoming senseglove libraries v2.400.x 2026-06-07 11:27:09 +02:00
Mamadou Babaei 5778d97bd5 bump xq to v0.5.x 2026-05-12 11:22:15 +02:00
Mamadou Babaei 0bd8bb77eb bump the rust toolchain to v1.95.0 2026-05-12 11:22:12 +02:00
Mamadou Babaei a0790077be bump the plugin version to v2.8.1 2026-05-11 22:23:55 +02:00
Mamadou Babaei 30be2e58b7 fix inconsistent blueprint ufunction category paths in nova and nova2 Kismet libraries 2026-05-11 22:12:49 +02:00
Mamadou Babaei 9c054eacd3 bump the plugin version to v2.8.0 2026-02-24 11:27:11 +01:00
Mamadou Babaei 6f53eaf5dd fix a changelog entry with correct information 2026-02-24 11:26:58 +01:00
Mamadou Babaei bf972bfb21 bump senseglove ue marketplace packager to v0.6.2-b675bab 2026-02-24 10:58:25 +01:00
Mamadou Babaei d223ab7b0a add a caution alert regarding calling send haptics repeatedly in rapid succession 2026-02-24 10:26:41 +01:00
Mamadou Babaei 0dfd8ef784 minor docs wording fix 2026-02-23 17:20:06 +01:00
Mamadou Babaei 63adf76548 SGHapticsComponent docs: fix functions screenshots 2026-02-23 17:18:30 +01:00
Mamadou Babaei ba44d0a09f docs formatting fixes 2026-02-23 17:08:46 +01:00
Mamadou Babaei a24e9985be add a caution regarding bSendImmediate and batching SendHaptics 2026-02-23 17:06:09 +01:00
Mamadou Babaei 0167485caf SGHapticsComponent docs: add practical blueprint examples 2026-02-23 16:57:13 +01:00
Mamadou Babaei d0ee82d789 fix a blueprint ufunction specifier type 2026-02-23 16:28:10 +01:00
Mamadou Babaei 870b9e29d9 SGHapticsComponent docs: document individual haptics functions 2026-02-23 15:35:35 +01:00
Mamadou Babaei 4afc06478f add a missing blueprint ufunction specifier 2026-02-23 13:35:40 +01:00
Mamadou Babaei 8144bc4ec1 add more screenshots to SGHapticsComponent docs section 2026-02-23 13:20:54 +01:00
Mamadou Babaei e64cf90cd0 add more screenshots to SGHandTrackerComponent docs section 2026-02-23 13:20:39 +01:00
Mamadou Babaei 6b3ab8c676 add almost complete draft for docs section: SGHapticsComponent 2026-02-23 12:42:28 +01:00
Mamadou Babaei 2c0750db5b minor docs fix 2026-02-23 12:20:45 +01:00
Mamadou Babaei 00554505fd improve docs by mentioning some more details 2026-02-23 12:04:23 +01:00
Mamadou Babaei eb0c3a7e30 add the final draft for docs section: SGHandTrackerComponent 2026-02-22 15:36:08 +01:00
Mamadou Babaei d8274338e1 fix version number's formatting and links 2026-02-20 16:02:13 +01:00
Mamadou Babaei 178a4d59a4 add initial images for the SGHapticsComponent docs section 2026-02-20 15:42:11 +01:00
Mamadou Babaei 17115e356d add initial images for the SGHandTrackerComponent docs section 2026-02-20 15:38:13 +01:00
Mamadou Babaei 06a25ef59c fix uproperty specifiers 2026-02-20 15:02:26 +01:00
Mamadou Babaei 0f2b648578 add the full final draft for docs section: SGPawn Events: The Puppeteer (Controller) / Puppet (Pawn) Architecture 2026-02-20 14:41:59 +01:00
Mamadou Babaei 589a16460b add the new documentation sections place holders 2026-02-20 12:55:34 +01:00
Mamadou Babaei f2c3dde29d add more openxr documentation fixes including how to calculate wrist offsets 2026-02-20 12:08:08 +01:00
Mamadou Babaei b960cfda82 add a new FSGHandLayer::GetWristLocation() overload which allows passing FRotator instead of FQuat as input or output parameters 2026-02-20 12:08:08 +01:00
Mamadou Babaei ba11f7bd23 add missing bAutoStopAllHaptics initialization 2026-02-20 12:08:08 +01:00
Mamadou Babaei 71e4a21096 clarify v2.7.0 changelog error: SenseComRunning rename actually landed in v2.8.0 (ABI/API break) 2026-02-20 12:08:08 +01:00
Mamadou Babaei 8007f212ce remove FXRMotionControllerData or replace its usage with FXRHandTrackingState as we fully dropped support for it 2026-02-18 19:38:02 +01:00
Mamadou Babaei c712fb428a replace all mentions of FXRMotionControllerData with FXRHandTrackingState in code comments 2026-02-19 10:14:58 +01:00
Mamadou Babaei 8b44f70332 fix a build issue caught by runuat 2026-02-18 11:42:23 +01:00
Mamadou Babaei eb7ec1773f drop support for unreal engine 5.4 2026-02-17 16:03:02 +01:00
Mamadou Babaei b01ce25abe remove ue 5.4 and epic native/cross toolchains v22 support from the build system for third-party libs 2026-02-17 15:31:01 +01:00
Mamadou Babaei 098dc0d6b8 bump the plugin version to v2.7.3 2026-02-17 13:50:18 +01:00
Mamadou Babaei b7ee6df9be bump the plugin version to v2.7.2 2026-02-17 13:09:29 +01:00
Mamadou Babaei 389fe6223b fix incorrect toolchain linkage for ue 5.7 linux arm64 builds 2026-02-17 13:06:32 +01:00
Mamadou Babaei 76de922656 update the changelog 2026-02-10 11:37:00 +01:00
Mamadou Babaei 62050fc62f add support for wrist squeeze to the haptics component 2026-02-10 11:35:28 +01:00
Mamadou Babaei b565e79375 add an exact overload to haptics component SendCustomWaveform similar to hand layer or haptic glove classes 2026-02-10 11:34:09 +01:00
Mamadou Babaei a14d8c9abe whitespace fixes 2026-02-10 11:21:07 +01:00
Mamadou Babaei 016e6d3cd0 implement a USGHapticsComponent to allow sending a variety of haptic feedbacks to the gloves without touching senseglove's low-level api 2026-02-09 17:12:30 +01:00
Mamadou Babaei 278dbf0ecc remove redundant code 2026-02-09 17:01:33 +01:00
Mamadou Babaei dfff45f559 minor player controller fixes 2026-02-09 16:40:03 +01:00
Mamadou Babaei 0c307e894c update the changelog 2026-02-09 15:19:24 +01:00
Mamadou Babaei 3894ddd3e1 force stop all haptics when handedness changes 2026-02-09 15:03:39 +01:00
Mamadou Babaei 407e4479e7 update the changelog 2026-02-09 14:56:14 +01:00
Mamadou Babaei ce98d0e9c1 move reusable code to its own pimpl method 2026-02-09 14:55:27 +01:00
Mamadou Babaei f6077b97d3 implement USGHandTrackerComponent to allow easy retrieval or visualization of FXRHandTrackingState 2026-02-09 14:41:12 +01:00
Mamadou Babaei 59a378705a add a new overload to FSGDebugVirtualHand::Draw() to allow visualizing any FSGDebugGizmoSettings instance directly 2026-02-09 14:34:23 +01:00
Mamadou Babaei 67590ea23f force USGVirtualHandComponent and USGWristTrackerComponent update their xr hand-tracking data when their handedness is updated 2026-02-09 14:27:17 +01:00
Mamadou Babaei 1fb318cc7a remove redundant headers and perform whitespace fixes 2026-02-09 14:22:35 +01:00
Mamadou Babaei 93e84192bf list existing senseglove components under SenseGlove class group in ue editor 2026-02-09 14:21:10 +01:00
Mamadou Babaei 0b560655f9 whitespace fix 2026-02-09 14:14:42 +01:00
Mamadou Babaei e9bfe03414 ensure deterministic dependency builds by pinning rust toolchain 2026-02-09 12:09:14 +01:00
Mamadou Babaei 21fe791b5d bump mdBook to v0.5.2 2026-02-04 17:28:12 +01:00
Mamadou Babaei 44178a8b61 some changelog errata fixes 2026-02-04 16:48:02 +01:00
Mamadou Babaei 35529bfac6 bump senseglove ue marketplace packager to v0.6.1-85c5a6e 2026-02-04 16:46:39 +01:00
Mamadou Babaei bc79795eca bump the copyright years 2026-02-04 16:07:33 +01:00
Mamadou Babaei 929b1bc2b8 minor changelog formatting fix 2025-12-09 15:05:53 +01:00
Mamadou Babaei 0f4fe2e7e5 bump the plugin version to v2.7.1 2025-12-09 13:55:28 +01:00
Mamadou Babaei 18018ccc9c work around a panick during handbook's pdf generation 2025-12-09 13:55:24 +01:00
Mamadou Babaei 55aabf554f work around a ue 5.5 regression (UE-212224) while sensecom is running and gloves are connected 2025-12-09 13:18:56 +01:00
Mamadou Babaei 7b80fc685e bump the plugin version to v2.7.0 2025-11-18 03:59:05 +01:00
Mamadou Babaei 0e87c005d1 fix a runuat build issues on ue 5.4 2025-11-18 03:58:39 +01:00
Mamadou Babaei 8e870cb23f add a new android deployment third-party tutorial for ue 5.7 2025-11-18 03:07:17 +01:00
Mamadou Babaei 94007c3edf list ue 5.7 in the sgum-packager configuration file and update ndk paths for ue 5.6.1 2025-11-14 13:50:45 +01:00
Mamadou Babaei d5b3294039 update the platform support matrix to refelect the latest support status 2025-11-13 19:39:02 +01:00
Mamadou Babaei c0c649cad1 add htc standalone mode deprecation warnings to the upcoming v2.7.x changelog and the relevant htc standalone mode sections in the docs 2025-11-13 19:03:51 +01:00
Mamadou Babaei 644280b32a keep removed 5.7 changes inside SGXRTracker implementation file conditionally, in order to reduce maintenance burden 2025-11-13 11:04:37 +01:00
Mamadou Babaei b08808085e revert offloading senseglove glove data retrieval api calls to timers and restore calls from tickcomponent functions 2025-11-13 11:00:46 +01:00
Mamadou Babaei 01eed16fbf Revert "get rid of SGPawn::Tick, introduce SGPawn::HandVelocitySamplerFramerate, and make hand velocity sampler timer-based instead of tick-based"
This reverts commit 8dea65ed40.
2025-11-13 10:20:27 +01:00
Mamadou Babaei ec032cc184 remove support for FXRMotionControllerData on UE 5.7 as it has been obliterated by the upstream and apply necessary changes to make XR_EXT_hand_tracking work again on 5.7 2025-11-13 01:45:55 +01:00
Mamadou Babaei 84c0a25304 bump senseglove libraries to v2.305.3-17a820b6e with support for Android NDK r27c and Epic Native/Cross Toolchains v26 2025-11-13 00:41:51 +01:00
Mamadou Babaei 3592d1b7a6 set default VibrotactileFrequency to 180 for optimal vibrotactile feedback 2025-10-06 14:15:50 +02:00
Mamadou Babaei 7c7051a110 bump senseglove libraries to v2.304.1-fb2a464d6 2025-09-17 09:04:17 +02:00
Mamadou Babaei ec39fedf70 bump senseglove libraries to v2.304.0-ebcb93fc1 2025-09-17 08:22:40 +02:00
Mamadou Babaei cfde08d744 replace QueueVibroLevels with SendCustomWaveform 2025-09-17 08:02:22 +02:00
Mamadou Babaei 3819c6e62a whitespace fix 2025-09-17 08:01:47 +02:00
Mamadou Babaei bbb3595147 avoid calling senseglove glove data retrieval api from tickcomponent functions and instead offload those to background timers 2025-09-09 11:32:44 +02:00
Mamadou Babaei 3c77ca516b return when ensure statements fail 2025-09-09 11:15:07 +02:00
Mamadou Babaei 8dea65ed40 get rid of SGPawn::Tick, introduce SGPawn::HandVelocitySamplerFramerate, and make hand velocity sampler timer-based instead of tick-based 2025-09-09 09:30:42 +02:00
Mamadou Babaei f3eccd6fe1 rename FSGGloveTrackingSettings::GloveConnectivityCheckInterval to FSGGloveTrackingSettings::DataRetrievalRefreshRate 2025-09-09 09:24:24 +02:00
Mamadou Babaei 81a7af9f52 apply third-party modules fixes 2025-09-08 08:04:58 +02:00
Mamadou Babaei 4e22b32182 bump senseglove libraries to v2.303.0-4a2a57376 2025-09-08 06:33:04 +02:00
Mamadou Babaei adc3b08723 integrate sensglove libraries v2.301.0-c70bce637 and the required refactor to make it build/work 2025-08-27 14:38:47 +02:00
Mamadou Babaei a0f74e64b6 drop ue 5.3 and msvc 2019 support and bump the senseglove libraries to v2.205.1-cb26979ed 2025-07-07 19:09:35 +02:00
Mamadou Babaei 2d8306a064 remove remnants of the long-removed Unreal Engine 5.2 from various *.Build.cs files 2025-07-07 19:02:14 +02:00
Mamadou Babaei edb986e6e1 remove remnants of the long-removed Unreal Engine 5.2 from SenseGloveTracking module 2025-07-07 19:02:13 +02:00
Mamadou Babaei 51868a4021 remove remnants of long removed unreal 5.2 from third-party modules *.Build.cs files 2025-07-07 19:02:05 +02:00
Mamadou Babaei 9bcd555e7a re-add Source/ThirdParty/**/*.Build.cs to get tracked under git rather than lfs 2025-07-07 18:17:16 +02:00
Mamadou Babaei 5be48df336 delete Source/ThirdParty/**/*.Build.cs from lfs 2025-07-07 18:15:52 +02:00
Mamadou Babaei 663ea6a2e7 fix a typo in function name SGDeviceList::SenseCommRunning() 2025-07-02 16:17:01 +02:00
Mamadou Babaei 5d9cebeeb2 bump the plugin version to v2.6.3 2025-06-27 18:33:02 +02:00
Mamadou Babaei a3d4098ae3 add third-party openxr integration documentation section 2025-06-27 17:37:38 +02:00
Mamadou Babaei a242906b78 bump the plugin version to v2.6.2 2025-06-10 09:13:03 +02:00
Mamadou Babaei f7d2debce6 add a vr optimization third-party tutorial 2025-06-10 09:01:52 +02:00
Mamadou Babaei c49ec83c94 bump the plugin version to v2.6.1 2025-06-05 13:18:37 +02:00
Mamadou Babaei 20f7061f83 changelog fixes 2025-06-05 12:33:31 +02:00
Mamadou Babaei 18a3890958 bump senseglove libraries to v2.204.0-3a37b1977 2025-06-05 12:27:20 +02:00
Mamadou Babaei a4cc15f2c4 fix a changelog typo 2025-06-04 04:59:26 +02:00
Mamadou Babaei 5245e7a790 bump the plugin version to v2.6.0 2025-06-04 02:30:58 +02:00
Mamadou Babaei 2812c15b3f fix a runuat build issue due to a missing header providing engine version macros 2025-06-04 02:30:21 +02:00
Mamadou Babaei 450962a227 deprecate ue 5.3 support 2025-06-04 01:59:46 +02:00
Mamadou Babaei 8d8a49e32b reoder changelog's last entry sections 2025-06-04 01:58:01 +02:00
Mamadou Babaei c6cb20dac1 revamp the ubt third-party dependency system 2025-06-04 01:38:13 +02:00
Mamadou Babaei eb610208b9 fix build issue with sgbackend by deleting the impl struct copy constructor and copy assignment operator 2025-06-04 00:48:21 +02:00
Mamadou Babaei 3fb52fa066 fix a closing #endif directive comment 2025-06-03 08:31:21 +02:00
Mamadou Babaei 502c10e51e minor code formatting fix 2025-06-03 07:14:53 +02:00
Mamadou Babaei 769559f535 thread-safe sgbackend initialization 2025-06-03 07:14:37 +02:00
Mamadou Babaei 6daca65cd5 thread-safe sglog initialization 2025-06-03 07:11:32 +02:00
Mamadou Babaei e74a664312 revamp sglog to use unreal's tuniqueptr instead of std::unique_ptr 2025-06-03 07:04:40 +02:00
Mamadou Babaei 85dbeb3f9e fix critical deadlock between render and game threads in UE 5.6 when invoking IHeadMountedDisplay::GetHMDMonitorInfo() 2025-06-03 06:06:37 +02:00
Mamadou Babaei e93a97ba38 fix sglog windows/msvc build issues caused by the recent sglog refactor 2025-06-03 04:42:48 +02:00
Mamadou Babaei 59939e0f24 update the changelog 2025-06-02 12:24:08 +02:00
Mamadou Babaei 62c5e58dcf add a missing header that causes build issues on linux aarch64 due to incomplete uaniminstance type 2025-06-02 12:24:08 +02:00
Mamadou Babaei 4f88590ac8 fix type conversion safety and consistency issues across all sglog formatters 2025-06-02 12:24:03 +02:00
Mamadou Babaei 2b9ca4b121 fix unreal engine 5.6 string conversion build issues on linux 2025-06-02 09:46:26 +02:00
Mamadou Babaei e244a9d1d9 Revert "bump embedded winpython distribution to v3.12.10"
This reverts commit 4fe067cf9a.
2025-06-02 09:06:44 +02:00
Mamadou Babaei 4dc847a40f Revert "attempt at fixing handbook's broken make pack on windows by upgrading mdbook-pdf-outline"
This reverts commit 1be45f2cba.
2025-06-02 09:06:04 +02:00
Mamadou Babaei 1be45f2cba attempt at fixing handbook's broken make pack on windows by upgrading mdbook-pdf-outline 2025-06-02 09:03:13 +02:00
Mamadou Babaei d487b47710 bump the SenseGlove Unreal Engine Marketplace Packager to v0.6.0-4108c6f 2025-06-02 08:37:13 +02:00
Mamadou Babaei 84f2c81940 bump senseglove libraries to v2.203.0-f3d3e676 which migrates to C++20 2025-05-30 20:17:23 +02:00
Mamadou Babaei 4fe067cf9a bump embedded winpython distribution to v3.12.10 2025-05-23 23:23:54 +02:00
Mamadou Babaei be214a67ee lock the mdbook crate version to v0.49.0 2025-05-23 22:59:29 +02:00
Mamadou Babaei bf15b9b11e bump senseglove libraries to v2.202.0-5d54da32 which fixes linux build issues for ue 5.5/5.6 by linking against libc++ instead of libstdc++ 2025-05-23 22:48:14 +02:00
Mamadou Babaei 58ca82b972 update the outdated directory structure section inside the handbook with the latest changes 2025-05-22 13:02:44 +02:00
Mamadou Babaei a4cb4ea167 bump the senseglove libraries to libraries to v2.201.0-edef7655 and replace epic native toolchain v24 with v25 2025-05-22 12:44:44 +02:00
Mamadou Babaei 3bbddf8b82 bump the plugin version to v2.5.0 2025-05-09 16:45:57 +02:00
Mamadou Babaei b2fb95ec79 fix bad warning emoji character inside the platform support matrix 2025-05-09 16:44:13 +02:00
Mamadou Babaei e6cc888609 improve the changelog formatting as much as possible 2025-05-09 16:27:30 +02:00
Mamadou Babaei 18919b03cb mention ue 5.2 and epic native toolchain v21 removal in the changelog 2025-05-09 15:37:13 +02:00
Mamadou Babaei d6f85ad9cb minor punctuation fix 2025-05-09 15:27:18 +02:00
Mamadou Babaei 5f164aab24 update the planned featured completion status with regards to the latest changes 2025-05-09 15:22:46 +02:00
Mamadou Babaei d80aabc901 update the changelog 2025-05-09 15:09:43 +02:00
Mamadou Babaei 2b3afc5c94 bump the SenseGlove libraries to the v2.200.0-0cb715d0 release with BLE (Bluetooth Low Energy) support 2025-05-09 14:57:18 +02:00
Mamadou Babaei 2b26affebf remove ue 5.2 deployment from sgum-packager 2025-05-09 14:53:54 +02:00
Mamadou Babaei 65d58f1513 list the third-party tutorials inside the extra resources section in a categorized manner 2025-05-08 14:13:02 +02:00
Mamadou Babaei 596db8b27e minor handbook fixes 2025-05-07 14:25:59 +02:00
Mamadou Babaei 10d7ff0f2a downgrade mdbook-epub crate to cac03b7f4b151f106f7f05b13da4c33fc098dd2c 2025-05-02 19:13:26 +02:00
Mamadou Babaei 2cb9294706 fix a broken handbook url 2025-05-03 23:47:06 +02:00
Mamadou Babaei 7d019bf9d6 revamp the sensecom instructions and divide it into ble and btserial sections 2025-05-03 23:47:06 +02:00
Mamadou Babaei 7eaa9e8b92 bump mdbook-epub crate to the latest v0.4.x 2025-05-03 23:47:01 +02:00
Mamadou Babaei 80208a47bf code formatting fix 2025-04-30 20:06:59 +02:00
Mamadou Babaei 748652a336 fix a critical deadlock issue (UE-212224) in UE 5.5/5.6 during PipelinedFrameState acquisition 2025-04-30 20:06:52 +02:00
Mamadou Babaei 7e8a59539f bump the SenseGlove libraries to the v2.199.1-8de3deb9 experimental release with BLE (Bluetooth Low Energy) support 2025-04-24 16:11:40 +02:00
Mamadou Babaei 74f40853c5 bump the SenseGlove libraries to the v2.199.0-b35c8158 experimental release with BLE (Bluetooth Low Energy) support 2025-04-23 14:36:37 +02:00
Mamadou Babaei e9d736e965 mark ue 5.2 as out of support in the platform support matrix 2025-04-23 14:20:50 +02:00
Mamadou Babaei 6604762638 bump the senseglove libraries to the latest experimental ble builds 2025-04-23 13:08:05 +02:00
Mamadou Babaei db2e1ead13 add missing changelogs from the previous commit 2025-04-23 13:07:24 +02:00
Mamadou Babaei 496d46f39e revamp android backend initialization error handling and bump the senseglove libraries to the latest experimental ble builds 2025-04-22 13:48:11 +02:00
Mamadou Babaei 0afcd29041 list the license section inside the overview section as well 2025-04-18 11:50:42 +02:00
Mamadou Babaei 1a7e15b4c4 fix a main menu title missing keyword 2025-04-18 11:49:23 +02:00
Mamadou Babaei 64d1536164 a minor punctuation fix in the changelog 2025-04-18 11:48:51 +02:00
Mamadou Babaei 26b6b01d73 add sgble and sgblexx rust dependency licenses 2025-04-18 11:48:08 +02:00
Mamadou Babaei d507b2d8ca bump the senseglove libraries to a ble-aware version that resolves android build issues 2025-04-18 11:25:22 +02:00
Mamadou Babaei 4504e92a9f bump sgconnect for android to an experimental unreleased ble-aware implementation 2025-04-16 11:13:51 +02:00
Mamadou Babaei 9e2045b1cd bump senseglove libraries to a yet to be versioned, experimental release, with ble support 2025-04-15 17:19:04 +02:00
Mamadou Babaei e2e7602dc2 add initial support for epic native toolchain v24 2025-04-15 17:13:14 +02:00
Mamadou Babaei aaad19cd53 bump the senseglove libraries to v2.106.0-d5361a48 2025-02-21 18:31:27 +01:00
Mamadou Babaei c0dafb1478 bump the plugin version to v2.4.2 2025-02-17 13:25:49 +01:00
Mamadou Babaei 055b29e073 list the third-party tutorials with a description in their corresponding parent sections 2025-02-17 13:24:27 +01:00
Mamadou Babaei f1df0826bc bump the plugin version to v2.4.1 2025-02-14 15:09:45 +01:00
Mamadou Babaei 37ae66bbb0 fix a bug that breaks the custom styles on the release urls 2025-02-14 15:00:12 +01:00
Mamadou Babaei 57330fafdb apply a minor handbook makefile fix 2025-02-14 14:42:00 +01:00
Mamadou Babaei fe2be7369e bump the plugin version to v2.4.0 2025-02-14 12:19:14 +01:00
Mamadou Babaei 20b88b9ffa update the list of supported hmds in the planned features completion status 2025-02-14 11:46:13 +01:00
Mamadou Babaei 8f9f5680a6 remove meta xr plugin compatibility from the planned features completion status 2025-02-14 11:43:29 +01:00
Mamadou Babaei 383f6c8044 fix documentation errors and confusions 2025-02-14 11:40:15 +01:00
Mamadou Babaei cc8541b9ee list the vrexpansion plugin demo in the extra resources section 2025-02-13 17:48:47 +01:00
Mamadou Babaei 131b076f74 Revert "experiment with a hacky approach to make metaxr work"
This reverts commit f3bc6502e4.
2025-02-12 16:08:33 +01:00
Mamadou Babaei 06c71d6a9e Revert "add SetupMetaXRAvailability during the build time to define WITH_METAXR"
This reverts commit e2c50e9c77.
2025-02-12 16:07:51 +01:00
Mamadou Babaei 6a3434c983 remove metaxr compatibility from the documentation along with its assets and replace it with a caution incompatibility note 2025-02-12 16:04:25 +01:00
Mamadou Babaei aee71e2b05 remove metaxr compatibility notes from the changelog for this release 2025-02-12 16:02:27 +01:00
Mamadou Babaei 8691d93d46 minor changelog fixes 2025-02-12 15:53:48 +01:00
Mamadou Babaei 6f4cdceea9 minor documentation fixes 2025-02-12 15:51:28 +01:00
Mamadou Babaei 439076c91c add notes in regards to pcvr and standlone modes support for vive and meta hmds 2025-02-12 15:51:04 +01:00
Mamadou Babaei 078e96dc4a fix the platform support matrix formatting 2025-02-12 15:50:37 +01:00
Mamadou Babaei ecea2a9d06 add a deprecation note for ue 5.2 2025-02-12 15:30:31 +01:00
Mamadou Babaei 0d3a55ab8e mark ue 5.5 meta quest standalone mode as supported 2025-02-12 15:30:18 +01:00
Mamadou Babaei 7910c525de add a few third-party tutorials 2025-02-12 15:24:06 +01:00
Mamadou Babaei d796300cd7 minor url fix 2025-02-12 15:22:44 +01:00
Mamadou Babaei f3bc6502e4 experiment with a hacky approach to make metaxr work 2025-02-12 13:23:11 +01:00
Mamadou Babaei e2c50e9c77 add SetupMetaXRAvailability during the build time to define WITH_METAXR 2025-02-11 17:17:32 +01:00
Mamadou Babaei 649241f560 fix the changelog's grammatical issues and typos 2025-02-10 14:21:04 +01:00
Mamadou Babaei d094e59d7a add missing headers to solve runuat build issues 2025-02-10 14:13:44 +01:00
Mamadou Babaei 6804e7416e add htc vive optimal rendering settings 2025-02-07 13:56:15 +01:00
Mamadou Babaei a439a3d9dc add htc vive specific optimization tips for running in standalone mode 2025-02-07 13:56:15 +01:00
Mamadou Babaei 3789393c47 update viveopenxr XR_EXT_hand_tracking and wrist-tracking documentation with more accurate details 2025-02-07 13:56:14 +01:00
Mamadou Babaei 93c8e57633 add initial ultimate tracker and OpenXRXrTracker support which is not fully functional 2025-02-07 10:19:15 +01:00
Mamadou Babaei a764d4dcf5 bring the wrist-tracking hardware setup and XR_EXT_hand_tracking documentation on par with the recent changes 2025-02-05 14:27:45 +01:00
Mamadou Babaei c92de36107 clear up debug logs 2025-02-05 14:27:37 +01:00
Mamadou Babaei 8f8600cdc6 add support for htc vive wrist trackers on android 2025-02-04 17:38:07 +01:00
Mamadou Babaei 257b48bcb9 fix a comment formatting 2025-02-04 17:38:00 +01:00
Mamadou Babaei 43b7b7393c fix a typo 2025-02-04 17:37:53 +01:00
Mamadou Babaei 6bc982d45b add support for htc vive focus vision hmd auto-detection and various htc hmds auto-detection support on android 2025-02-04 17:37:46 +01:00
Mamadou Babaei f5a61eb84e optimize FSGArrayUtils by pre-allocating memory instead of growing by every emplace_back or add 2025-01-29 12:49:13 +01:00
Mamadou Babaei f401327d90 fix a comment 2025-01-29 10:10:47 +01:00
Mamadou Babaei 223c0ff686 use fixed-width integers 2025-01-29 04:26:02 +01:00
Mamadou Babaei b2afbf51f4 clarify how to setup the VIVE Wrist Trackers in various configurations 2025-01-28 16:54:26 +01:00
Mamadou Babaei e874cd8ce1 add ue 5.2 deprectation notes to the changelog 2025-01-28 16:34:08 +01:00
Mamadou Babaei d4c3c7d20d minor comment fixes 2025-01-28 15:27:58 +01:00
Mamadou Babaei d2c2d317ff remove redundant sgxrtracker code 2025-01-28 15:27:58 +01:00
Mamadou Babaei 30f8f016c5 use engine api to set the tracking motion source 2025-01-28 15:27:58 +01:00
Mamadou Babaei e4f8b82c8a fix the non-editor build issues caused by the recent motion sources refactor 2025-01-28 15:27:58 +01:00
Mamadou Babaei 564254e573 refactor the way we populate and utilize motion sources for viveopenxr compatibility 2025-01-28 15:27:57 +01:00
Mamadou Babaei 350c7f32d2 remove redundant dependency module 2025-01-28 15:27:57 +01:00
Mamadou Babaei 71cc939123 add the FSGPluginUtils utility class for other plugins or modules availability detection such as Meta XR and ViveOpenXR 2025-01-28 15:27:57 +01:00
Mamadou Babaei 0403d7aa3b bump the plugin version to v2.3.2 2025-01-28 14:30:02 +01:00
Mamadou Babaei 6444336269 fix a critical issue where HandStates->GetTransform(KeyPoint) was incorrectly resolving to (&HandStates[0])->GetTransform(KeyPoint), causing both hands to use the left hand's wrist transform under specific conditions 2025-01-28 14:18:48 +01:00
Mamadou Babaei 0291155631 mention meta xr and viveopenxr plugins compatibility in the planned features completion status 2025-01-24 16:43:21 +01:00
Mamadou Babaei e00fdcec4c revamp the Enabling XR_EXT_hand_tracking OpenXR Extension on VR Headsets and Deploying to Android (Standalone) documentation and the Meta XR-compatibile and ViveOpenXR-compatibile instructions 2025-01-24 16:31:02 +01:00
Mamadou Babaei 1204e36876 add FSGConnectJNI::Initialize() and FSGCoreJNI::Initialize() return codes to Android logs for detailed debugging purposes through adb logcat 2025-01-24 12:21:25 +01:00
Mamadou Babaei cf3606943b add a missing url 2025-01-22 13:31:03 +01:00
Mamadou Babaei a83222f801 apply some minor changelog fixes 2025-01-17 15:18:25 +01:00
Mamadou Babaei d6d4831b66 update the changelog with the unreleased changes 2025-01-17 14:18:12 +01:00
Mamadou Babaei 40d4a5e4e9 use ue 5.5 header github links in the fxrmotioncontrollerdata page since its removal is likey in ue 5.6 2025-01-17 14:17:32 +01:00
Mamadou Babaei 0c1fd4b369 fixed a few broken URLs caused by bad markdown formatting 2025-01-17 14:12:39 +01:00
Mamadou Babaei ced0ccd513 update the changelog with the unreleased changes 2025-01-17 14:02:18 +01:00
Mamadou Babaei f57cb9e255 bump the SenseGlove Unreal Engine Marketplace Packager v0.5.0-7df1183 2025-01-17 13:54:57 +01:00
Mamadou Babaei a841a6a1a8 make the handbook scp operations safer by utilizing quotes 2025-01-17 13:40:00 +01:00
Mamadou Babaei b6aaa08ff8 reintroduce Michael-F-Bryan/mdbook-epub backend for the handbook as its issue #115 have been solved 2025-01-17 13:38:19 +01:00
Mamadou Babaei 5910eeecb1 make the handbook makefile safer by wrapping files/folder navigations/operations in quotes 2025-01-17 13:33:32 +01:00
Mamadou Babaei 61829d6887 remove a redundant copy from the handbook makefile 2025-01-17 13:31:18 +01:00
Mamadou Babaei db4d9e10ad remove redundant steps from the handbook makefile 2025-01-17 13:30:36 +01:00
Mamadou Babaei 895a1abd7f remove unused variable SG_DOCUMENTATION_EPUB_DIR from the handbook makefile 2025-01-17 13:29:58 +01:00
Mamadou Babaei 8ff2f54d05 migrate the documentation changelogs for the next unreleased version to its own section 2025-01-17 12:07:08 +01:00
Mamadou Babaei c9a81b30c5 bump the mdbook-alerts crate to v0.7.x 2025-01-17 12:01:57 +01:00
Mamadou Babaei d1f0ded07e bump the SenseGlove libraries to v2.105.3-97ea18cb 2025-01-17 11:35:33 +01:00
Mamadou Babaei a2065de1fb update the changelog with unreleased changes 2025-01-17 11:28:25 +01:00
Mamadou Babaei a701bf0f2d bump the SenseGlove Unreal Engine Marketplace Packager v0.4.1-e39a4f4 2025-01-17 11:14:30 +01:00
Mamadou Babaei c03bb29157 fix the changelog formatting 2025-01-17 11:12:39 +01:00
Mamadou Babaei a9196bc997 bump the copyright years 2025-01-17 11:08:45 +01:00
Mamadou Babaei 5b2c93b406 clarify htc vive stand-alone support status in the platform support matrix 2024-12-13 10:10:33 +01:00
Mamadou Babaei 282f7ab2f2 bump the plugin version to v2.3.1 2024-11-27 10:10:19 +01:00
Mamadou Babaei f72bcb3e5f do an ensure check instead of silently ignoring the non-existent joint 2024-11-25 09:08:10 +01:00
Mamadou Babaei 9b2bdfc80c calculate the bone ref transforms using the current mesh rather than the reference mesh 2024-11-25 08:44:51 +01:00
Mamadou Babaei a90fd774b8 white space and code formatting fixes 2024-11-25 08:43:20 +01:00
Mamadou Babaei fa11e5a9fb bump the plugin version to v2.3.0 2024-11-14 00:29:25 +01:00
Mamadou Babaei 37ad3941b9 fix ue 5.5 deprecation warnings inside USGVirtualHandComponent 2024-11-13 15:56:37 +01:00
Mamadou Babaei d6d3944280 fix rocket build issues by adding missing the headers 2024-11-13 15:29:51 +01:00
Mamadou Babaei ad18415d01 list AndroidPermission plugin as a dependency 2024-11-13 15:13:27 +01:00
Mamadou Babaei 400bf3c138 remove comments that probably pasted by mistake 2024-11-13 14:59:58 +01:00
Mamadou Babaei 7792cacdca revamp the way the plugin requests permisions on Android by showing a pop-up to the user rather than silently crashing if those permisions were not already given 2024-11-13 14:35:39 +01:00
Mamadou Babaei 8bd04bd3ba implement the android permissions singleton responsible for requesting android permissions and checking those 2024-11-13 22:42:45 +01:00
Mamadou Babaei 02358e850b re-order the required permissions alphabetically inside the android upl file 2024-11-13 22:42:29 +01:00
Mamadou Babaei c2ab7c59c8 make the USGBackend constructor private 2024-11-13 14:31:40 +01:00
Mamadou Babaei a465a75e95 remove USGBackend class config specifier 2024-11-13 14:31:00 +01:00
Mamadou Babaei 936e87fb58 apply a minor formatting fix to the changelog 2024-11-08 13:03:37 +01:00
Mamadou Babaei f8e881585b bump the plugin version to v2.2.2 2024-11-08 12:23:08 +01:00
Mamadou Babaei e66ba7d9f9 fix a chain of glove and hand-tracking bugs that render the hand-tracking state invalid at certain times 2024-11-08 11:50:53 +01:00
Mamadou Babaei 79b0470b06 bump the plugin version to v2.2.1 2024-10-23 14:45:56 +02:00
Mamadou Babaei ace227cfe2 revise documentation to point to fab instead of ue marketplace 2024-10-23 14:43:59 +02:00
Mamadou Babaei cfc2db2a65 bump the plugin version to v2.2.0 2024-10-22 06:40:15 +02:00
Mamadou Babaei 2c85766532 list ue 5.5 in the sgum-packager configuration file 2024-10-22 06:40:15 +02:00
Mamadou Babaei 6b4251b479 include Runtime/Launch/Resources/Version.h only where it matters 2024-10-22 06:40:15 +02:00
Mamadou Babaei 1d5f12aa29 add the documentation on consuming the FXRHandTrackingState struct in both Blueprint and C++ 2024-10-22 06:40:15 +02:00
Mamadou Babaei adb27aa752 bump the plugin version to v2.1.4 2024-10-22 06:40:15 +02:00
Mamadou Babaei d33365ab5f add the missing release title to the v2.1.3 changelog entry 2024-10-22 06:40:15 +02:00
Mamadou Babaei fb5d166e89 update the documentation on consuming the FXRMotionControllerData struct 2024-10-22 06:40:15 +02:00
Mamadou Babaei 4477e64839 minor formatting fix 2024-10-22 06:40:15 +02:00
Mamadou Babaei d65db3f947 change SG_BROWSER_BINARY_PATH_LINUX binary path 2024-10-22 06:40:15 +02:00
Mamadou Babaei 29026c5d65 migrate away from the deprecated FXRMotionControllerData in favor of FXRMotionControllerState and FXRHandTrackingState on UE 5.5+ 2024-10-22 06:40:08 +02:00
Mamadou Babaei c290b87f44 bump the plugin version to v2.1.3 2024-10-11 12:23:55 +02:00
Mamadou Babaei a343cb9b8e update the platform support matrix and also add a note in regards to fab and ue marketplace transition 2024-10-11 12:16:55 +02:00
Mamadou Babaei 4e3393a685 add the planned features for the v2.2.x release series 2024-10-11 12:15:58 +02:00
Mamadou Babaei 2a62e1c1a9 silence another ue 5.5 deprecation warning with a temporary workaround for the time being 2024-10-11 12:14:50 +02:00
Mamadou Babaei 922de02294 avoid mentioning the patch releases in the planned features completion status page 2024-10-11 11:25:54 +02:00
Mamadou Babaei cf57bdeb8e address a few ue 5.5 deprecation warnings 2024-10-11 11:03:44 +02:00
Mamadou Babaei 905999e6a1 add a missing header 2024-10-11 11:02:37 +02:00
Mamadou Babaei d9c2d03c83 add support for epic native toolchain v23 2024-10-11 11:02:03 +02:00
Mamadou Babaei 3f8de0eb99 bump the senseglove libraries to v2.105.2-f2de4b89 2024-10-11 11:01:03 +02:00
Mamadou Babaei 0f04d2b8c0 fix code formatting 2024-10-11 10:33:00 +02:00
Mamadou Babaei 95752b6fb3 remove a redundant header 2024-10-11 10:29:52 +02:00
Mamadou Babaei a317fff13a fix a bug inside USGVirtualHandComponent::PostEditChangeProperty() where the get member name check happens against the wrong class and member names 2024-10-11 10:28:44 +02:00
Mamadou Babaei 4bcefad1fb fix a grammatical typo in a comment 2024-10-11 10:16:56 +02:00
Mamadou Babaei dd0a957e51 bump the plugin version to v2.1.2 2024-09-02 19:33:46 +02:00
Mamadou Babaei ef70e1ed95 update the changelog 2024-09-02 19:33:25 +02:00
Mamadou Babaei a6b10fdfba update the changelog 2024-09-02 19:27:42 +02:00
Mamadou Babaei 5039631404 fix a few virtual hand component visibility issues 2024-09-02 19:27:26 +02:00
Mamadou Babaei c1a3f7fedf fix the non-existent default hand-mesh warnings polluting the logs when packaging the game 2024-09-02 18:53:21 +02:00
Mamadou Babaei 7c3b0f4a3c update the changelog 2024-09-02 18:12:36 +02:00
Mamadou Babaei 938738cd49 fix the wrong script name for USXRTrackerKismetLibrary 2024-09-02 18:10:41 +02:00
Mamadou Babaei 9f8d32eca2 fix the wrong script name for USGHMDTrackerKismetLibrary 2024-09-02 18:09:27 +02:00
Mamadou Babaei 3db59b0271 expand the clickable area on the handbook index page revision buttons 2024-08-19 10:49:36 +02:00
Mamadou Babaei 32f6247479 an overview title fix to match the summary file 2024-08-19 07:26:29 +02:00
Mamadou Babaei 8c39ba0c38 bump the SenseGlove Unreal Engine Plugin to v2.1.1 2024-08-18 01:45:41 +02:00
Mamadou Babaei de401b56fe fix documentation typos 2024-08-18 01:44:56 +02:00
Mamadou Babaei 3f4c509d63 fix a bug where SG_GIT_IS_SHALLOW_CLONE while building the handbook is always set to yes even if it's not a shadow clone 2024-08-18 01:30:45 +02:00
Mamadou Babaei a39e363a94 fix a bug that causes a handbook revision mismatch when deploying the handbook from the dev branch 2024-08-18 00:25:23 +02:00
Mamadou Babaei 1647dabad8 bump the plugin version to v2.1.0 2024-08-16 19:52:33 +02:00
Mamadou Babaei 5a0798482a extract the git version from the remote repo when it's a shallow clone to allow the sgum-packager work with release branches 2024-08-16 19:08:20 +02:00
Mamadou Babaei 674f6c4f59 determine the value of mdbook site-url from the makefile instead of hardcoding it per branch 2024-08-16 15:12:12 +02:00
Mamadou Babaei d40ace3c58 fix ue 5.4 runuat build issues inside the sggrabcomponent caused by missing headers 2024-08-16 13:02:59 +02:00
Mamadou Babaei 83eae9a481 fix a broken url 2024-08-16 12:54:58 +02:00
Mamadou Babaei 675bfb0691 add make pack to the output of make help 2024-08-16 12:48:43 +02:00
Mamadou Babaei 1d22602bca fix a broken url 2024-08-16 12:35:16 +02:00
Mamadou Babaei d4946aa8af fix a url 2024-08-16 12:33:40 +02:00
Mamadou Babaei be8e97f265 add topic: Upgrade Guide 2024-08-16 12:30:28 +02:00
Mamadou Babaei 9cdd544d61 add the sub-topic: Optimizing Unreal Projects for Mobile 2024-08-16 11:05:57 +02:00
Mamadou Babaei e347e6fc7b formatting fixes 2024-08-15 16:35:28 +02:00
Mamadou Babaei 7d202ca0c0 add topic: Optimizing Your Project for Higher FPS 2024-08-15 16:22:01 +02:00
Mamadou Babaei bb4d8669f0 lock cargo dependencies for the hadbook to pecific major/minor releases and not patch releases 2024-08-14 19:04:46 +02:00
Mamadou Babaei bcf3c413c4 clarify the note about how the separation of the real and virtual hand rendering is broken 2024-08-14 18:58:55 +02:00
Mamadou Babaei 9f325b2b5d fix a typo 2024-08-14 17:58:15 +02:00
Mamadou Babaei 4c5d083d6a remove troublesome inline keywords added by jetbrains rider 2024-08-14 17:51:23 +02:00
Mamadou Babaei 51efe0c411 mark the separation of the real and virtual hand rendering as broken and a note to the known issues section 2024-08-14 16:53:04 +02:00
Mamadou Babaei 5d4a2be8ee fix a few bugs that does affect the real hand collision events because of SetVisibility and redundant checking against grabbed actor 2024-08-14 16:10:47 +02:00
Mamadou Babaei e078e74273 replace SGPawn::FImpl::EnableActorPhysics() and SGPawn::FImpl::DisableActorPhysics() with USGGrabComponent::SimulatePhysics() 2024-08-14 15:26:42 +02:00
Mamadou Babaei 4047a9ac32 enable bGravityEnabled, bSimulatePhysics, and call WakeRigidBody on grab component's owning actor at BeginPlay() if bAffectPhysicsState is enabled 2024-08-14 15:13:13 +02:00
Mamadou Babaei 9fffbf5937 document Configuring the SGPawn and Plugin Virtual Hand Mesh Settings as the final step in setting up the virtual hand meshes 2024-08-14 14:22:58 +02:00
Mamadou Babaei 45fe8f29a0 fix a typo 2024-08-14 13:46:23 +02:00
Mamadou Babaei 676db38715 use the value of GrabAttachPointSocketName from the plugin settings as default for USGGrabComponent's AttachmentSocketName uproperty 2024-08-14 13:44:05 +02:00
Mamadou Babaei 66ca821fc9 add the sgbasicdemo-openxr repository to the examples and demo projects section 2024-08-14 10:56:01 +02:00
Mamadou Babaei d764f12bf7 minor fix 2024-08-13 20:08:16 +02:00
Mamadou Babaei a420bc1fad add video tutorials 2024-08-13 19:57:43 +02:00
Mamadou Babaei 4ead034fb2 add the contents for setting up the grab/release, and the touch systems 2024-08-13 19:49:24 +02:00
Mamadou Babaei c154f5d6ef add another android note 2024-08-13 18:35:00 +02:00
Mamadou Babaei 6e487b99b5 fix the display name for various overloads of the Blueprint-exposed function Queue Command Vibro Level to expose sensible display names. 2024-08-13 16:42:53 +02:00
Mamadou Babaei ab176291a0 a changelog fix 2024-08-13 16:38:17 +02:00
Mamadou Babaei 386dadacc8 fix a topic title 2024-08-13 16:27:07 +02:00
Mamadou Babaei eff7fe5d57 minor fix 2024-08-13 16:25:37 +02:00
Mamadou Babaei 24e750be5a add topic: Deploying to Android (Standalone) 2024-08-13 16:11:45 +02:00
Mamadou Babaei e781f96ae3 add a note in regards to meta xr and vive openxr plugins incompatibility 2024-08-13 15:47:07 +02:00
Mamadou Babaei d46048a5ce add instructions: Setting up the SenseGlove Grab and Touch Sockets 2024-08-13 14:59:59 +02:00
Mamadou Babaei 6520638931 remove irrelevant section as it's already set up by the plugin automatically 2024-08-13 12:53:29 +02:00
Mamadou Babaei 75ced892d5 mention a relevant video tutorial 2024-08-13 12:47:29 +02:00
Mamadou Babaei 18f89bc74d close the div tag properly 2024-08-13 12:46:35 +02:00
Mamadou Babaei 3e911a3a88 add the instructions for: Setting up the Rigid Bodies 2024-08-13 12:41:48 +02:00
Mamadou Babaei 67184eb267 fix license titles 2024-08-13 11:07:09 +02:00
Mamadou Babaei cae1839ad1 add instructions for importing / exporting compatible virtual hand meshes 2024-08-10 23:20:03 +02:00
Mamadou Babaei cd467fc6cc minor fix 2024-08-10 23:20:03 +02:00
Mamadou Babaei 9633452141 update the overview section 2024-08-10 23:20:03 +02:00
Mamadou Babaei a028abc8ae add the content for setting up the wrist tracking hardware section 2024-08-10 23:20:00 +02:00
Mamadou Babaei a4a4bbdb74 add important notes for setting up the wrist tracker and virtual hands 2024-08-10 19:42:25 +02:00
Mamadou Babaei 3df70c8c3c add the complete documentation for setting up the senseglove default classes 2024-08-10 19:42:15 +02:00
Mamadou Babaei 52905c9fb5 fix a build issue on ue 5.2 2024-08-08 14:39:23 +02:00
Mamadou Babaei fe537ee846 apply summary.md changes to the overview page 2024-08-08 13:52:11 +02:00
Mamadou Babaei 36a2c91cf5 fix borken links 2024-08-08 13:38:21 +02:00
Mamadou Babaei dda05682b5 add more topics to the menu 2024-08-08 13:19:38 +02:00
Mamadou Babaei 157f2e5a26 minor fix 2024-08-08 13:14:24 +02:00
Mamadou Babaei 1757efc37d add the introduction to the senseglove default classes 2024-08-08 13:11:01 +02:00
Mamadou Babaei 2ba224d20c fix the wrong content path 2024-08-08 20:13:35 +02:00
Mamadou Babaei db0acfc569 fix README.md broken links 2024-08-08 10:18:17 +02:00
Mamadou Babaei d49c22cdb4 add a caution for bvalidateifdefaultclassesaresgcompliant 2024-08-08 09:50:27 +02:00
Mamadou Babaei 58eadf3ff6 fix a typo 2024-08-08 09:40:08 +02:00
Mamadou Babaei db9c9a6c78 add the console commands SG_GetEngineScalabilitySettings and SG_SetEngineScalabilitySettings 2024-08-08 09:21:42 +02:00
Mamadou Babaei 38352fba3c add the license terms for the handbook 2024-08-08 08:44:14 +02:00
Mamadou Babaei 06893b0a1d add the boilerplate for setting up the senseglove default classes 2024-08-08 08:30:04 +02:00
Mamadou Babaei 3e7563a05e fix broken links in the overview page by adding .. to the relative urls 2024-08-08 07:34:41 +02:00
Mamadou Babaei 68091aeefb fix broken index/readme.md links in the overview page 2024-08-08 07:32:17 +02:00
Mamadou Babaei 2b908007c5 minor fix 2024-08-08 07:30:39 +02:00
Mamadou Babaei adf89c62d9 add the content for the overview page 2024-08-08 07:28:44 +02:00
Mamadou Babaei c0b6814e5b minor fix 2024-08-08 07:17:31 +02:00
Mamadou Babaei 84685d8bac complete the plugin configuration, settings, and overrides, sections 2024-08-07 23:44:31 +02:00
Mamadou Babaei d73a4a557e improve the repo's main readme file 2024-08-07 18:51:24 +02:00
Mamadou Babaei 1d69364fb3 reference the handbook's extra resources 2024-08-07 18:31:06 +02:00
Mamadou Babaei 8f1dc0c5a6 bring on par the SGSettings blueprint api with the cpp api 2024-08-07 18:29:13 +02:00
Mamadou Babaei 3259f173d3 add some custom css styles for better html formatting 2024-08-07 18:25:19 +02:00
Mamadou Babaei cd906cf6ce add the plugin-settings section 2024-08-05 16:42:04 +02:00
Mamadou Babaei 556be09a51 add a note about Hand and Body Tracking settings 2024-08-05 16:27:37 +02:00
Mamadou Babaei 47280c93f5 add the sensecom documentation 2024-08-02 17:02:07 +02:00
Mamadou Babaei b4fbe90f54 add a caution in regards to broken meta quest hmds on steamvr 2024-08-02 13:32:29 +02:00
Mamadou Babaei bbadbf7e6e fix youtube video urls 2024-08-02 12:45:14 +02:00
Mamadou Babaei aef68e09e7 whitespace fix 2024-08-02 10:52:19 +02:00
Mamadou Babaei 9520a2f8ec add the low level api documentation 2024-08-02 10:33:32 +02:00
Mamadou Babaei 7e6b641c4b complete installation instructions 2024-08-01 19:47:18 +02:00
Mamadou Babaei 94c7c251d8 Revert "move bFallbackToHandTrackingIfNoGloveDetected from tracking settings to glove tracking settings"
This reverts commit e16c1d216f.
2024-08-01 15:09:21 +02:00
Mamadou Babaei e16c1d216f move bFallbackToHandTrackingIfNoGloveDetected from tracking settings to glove tracking settings 2024-08-01 15:08:33 +02:00
Mamadou Babaei f2b0aafa8d add an important alert 2024-08-01 10:37:39 +02:00
Mamadou Babaei a2d9f37ebf minor fixes 2024-08-01 10:37:06 +02:00
Mamadou Babaei 189b3a9389 fix a broken link 2024-07-31 19:41:52 +02:00
Mamadou Babaei 2637f3d795 add instructions: Enabling XR_EXT_hand_tracking OpenXR extension on VR Headsets 2024-07-31 19:27:04 +02:00
Mamadou Babaei 27bab8e6e7 add topic: Extra Resources 2024-07-31 18:50:27 +02:00
Mamadou Babaei 2d40264e19 add instructions: Safe and Reliable Glove Access in Blueprint 2024-07-31 18:36:41 +02:00
Mamadou Babaei 45f888793f center all youtube videos 2024-07-31 17:54:57 +02:00
Mamadou Babaei e7bb87253b add instructions: Enabling The SenseGlove Unreal Engine Plugin and Veirfying the Plugin Version 2024-07-31 17:32:38 +02:00
Mamadou Babaei 6355719baa whitespace fix 2024-07-31 17:11:47 +02:00
Mamadou Babaei 1e339a2db9 add the epic games launcher installation instructions 2024-07-31 16:42:10 +02:00
Mamadou Babaei 4e4459f4cd replace inline code blocks with back tilde inside the changelog 2024-07-31 16:38:19 +02:00
Mamadou Babaei 65f3179afb update the changelog 2024-07-31 16:30:23 +02:00
Mamadou Babaei 0d789a3234 revamp the main readme file with the latest information and instructions 2024-07-31 16:26:54 +02:00
Mamadou Babaei a8b61cae93 change the DocsURL from the old blueprint docs to the handbook 2024-07-31 16:25:53 +02:00
Mamadou Babaei 9024b9573d improve the main index layout 2024-07-31 12:40:27 +02:00
Mamadou Babaei 8c2d379af5 make the main index generation code more readable 2024-07-31 12:22:31 +02:00
Mamadou Babaei a1c68aa8d8 deploy the favicon to the main index as well 2024-07-31 11:50:02 +02:00
Mamadou Babaei fe843ea6d4 bump the SenseGlove Unreal Engine Marketplace Packager v0.4.0-a65bb20 2024-07-30 17:58:53 +02:00
Mamadou Babaei a6b3eac593 fix the windows cmd.exe issues with rename/copy and always use move when invoking the pack target 2024-07-30 17:46:02 +02:00
Mamadou Babaei ab124667ed remove the changelog.md file from filterplugin list and list the pdf and html documentation files 2024-07-30 10:59:53 +02:00
Mamadou Babaei 3cc6456134 minor fixes 2024-07-30 10:44:18 +02:00
Mamadou Babaei 60e71b8f78 document for dependencies 2024-07-30 10:42:50 +02:00
Mamadou Babaei 2ec782abb8 mention the purpose of make pack in the handbook readme file 2024-07-30 10:22:10 +02:00
Mamadou Babaei 3a58ec5fd4 add make pack target to the handbook makefile 2024-07-30 10:15:42 +02:00
Mamadou Babaei b9b039090d try to fix rsync error on windows: error in rsync protocol data stream (code 12) 2024-07-29 18:19:23 +02:00
Mamadou Babaei 118f0ab793 fix the windows rsync/git bash issue: the source and destination cannot both be remote 2024-07-29 15:31:36 +02:00
Mamadou Babaei f0a986e623 add a deployment note in regards to sourcing the deployment configurations on windows + git bash setups 2024-07-29 15:07:22 +02:00
Mamadou Babaei db20362783 introduce #sg-handbook-revision-url and #sg-handbook-revision-url + other preprocessor improvements 2024-07-29 15:07:14 +02:00
Mamadou Babaei cadd997971 add the initial implementation for the deploy target 2024-07-29 15:05:37 +02:00
Mamadou Babaei df0aff8ca3 revamp the handbook make targets 2024-07-29 15:05:36 +02:00
Mamadou Babaei 9bfe9e5729 fix the broken pdf toc generation on linux 2024-07-29 15:05:36 +02:00
Mamadou Babaei 33649f10a1 replace all bitfield uproperties with booleans 2024-07-29 15:05:35 +02:00
Mamadou Babaei 80243f2f05 adjust the exclusion list to the latest repo structure overhaul 2024-07-29 15:05:34 +02:00
Mamadou Babaei e3f9be405b merge the pack branch into the plugin's source and add the sgum-packager v0.3.0 utility for automatic packaging and deployment to epic marketplace 2024-07-29 15:05:34 +02:00
Mamadou Babaei ec608afb33 winpython fixes and fix pdf-outline generation on gentoo using a temporary python env 2024-07-29 15:05:33 +02:00
Mamadou Babaei f1d831f454 minor fixes and clean up 2024-07-29 15:05:33 +02:00
Mamadou Babaei de68b53e1b replace inline code blocks with back tilde 2024-07-29 15:05:32 +02:00
Mamadou Babaei 93017c2342 complete advanced-topics/openxr/consuming-fxrmotioncontrollerdata/cpp tutorial 2024-07-29 15:05:31 +02:00
Mamadou Babaei e00aa4d0f1 set the default value of bValidateIfDefaultClassesAreSGCompliant to false 2024-07-29 15:05:31 +02:00
Mamadou Babaei 8ccae60c61 crop the image edge 2024-07-29 15:05:30 +02:00
Mamadou Babaei 3b4601695a add winpython and enable pdf-outline 2024-07-29 15:05:17 +02:00
Mamadou Babaei 387a861728 complete advanced-topics/openxr/consuming-fxrmotioncontrollerdata/blueprint tutorial 2024-07-21 18:44:11 +02:00
Mamadou Babaei 65a79505f8 fix a bug where tracking status not being set when the hand data is valid 2024-07-21 16:57:43 +02:00
Mamadou Babaei cfb8c50484 specify the browser binary path from the gnu-make file 2024-07-20 22:46:06 +02:00
Mamadou Babaei 307627ca57 formatting fix 2024-07-20 22:21:32 +02:00
Mamadou Babaei 1f2208162a add partial content to Handbook/src/advanced-topics/openxr/consuming-fxrmotioncontrollerdata/blueprint.md 2024-07-18 18:08:41 +02:00
Mamadou Babaei d570ea6c41 minor fix 2024-07-18 16:46:22 +02:00
Mamadou Babaei 6d6dda4678 add links to the ue source code from github 2024-07-18 16:41:41 +02:00
Mamadou Babaei 42018405bb add the blueprint title line 2024-07-18 16:38:33 +02:00
Mamadou Babaei 1779197050 minor fix 2024-07-18 16:35:25 +02:00
Mamadou Babaei 93a87f5238 minor fix 2024-07-18 16:33:24 +02:00
Mamadou Babaei 3a6594f171 mention the pdf format as well 2024-07-18 16:31:08 +02:00
Mamadou Babaei f3606be722 add mdbook-pdf support which is able to print pdfs using chromedevtools protocol retaining images 2024-07-18 16:25:42 +02:00
Mamadou Babaei cd7d5c64f8 remove cargo installs for typst-cli, mdbook-typst, and mdbook-epub 2024-07-18 16:10:21 +02:00
Mamadou Babaei 8688ff9801 move the /assets/* content to their relative folders as it creates printing issues 2024-07-18 16:06:12 +02:00
Mamadou Babaei b26bd575cc add the content for the Consuming FXRMotionControllerData section 2024-07-18 15:57:33 +02:00
Mamadou Babaei 6583c718fd replace c++ standard int type definitions with the ones from unreal 2024-07-18 15:09:57 +02:00
Mamadou Babaei baf53e3da1 remove the pdf and epub backend due to build errors and inability to show markdown images 2024-07-18 14:09:07 +02:00
Mamadou Babaei f42f7d451e consider the value of site-url when verifying the handbook revision and simplify the makefile code to do so as well 2024-07-18 13:54:54 +02:00
Mamadou Babaei 8c51faec13 make the default site-url next 2024-07-18 13:31:48 +02:00
Mamadou Babaei 783bb5e8f9 mention the pdf and epub formats as well and rename the pdf output filename 2024-07-18 13:04:25 +02:00
Mamadou Babaei beb8e29c58 rename a page 2024-07-18 13:03:33 +02:00
Mamadou Babaei a32fd800ca switch to typst-cli from crates.io instead of git 2024-07-18 11:38:14 +02:00
Mamadou Babaei 6714d04bbf bump senseglove libraries to v2.104.1-55fddbd2 2024-07-17 13:42:09 +02:00
Mamadou Babaei 4856f6407c fix the inro notice 2024-07-16 22:06:37 +02:00
Mamadou Babaei 968edd10b0 fix a table column header 2024-07-16 22:04:45 +02:00
Mamadou Babaei 6868d7e6d2 remove edit-url-template from the book.toml file 2024-07-16 21:50:15 +02:00
Mamadou Babaei 5453a480c2 minor fix 2024-07-16 21:43:23 +02:00
Mamadou Babaei a86d9e0f1b remove mdbook-lintcheck 2024-07-16 21:43:02 +02:00
Mamadou Babaei f6940bd33a add github flavored markdown alerts to the handbook 2024-07-16 21:28:03 +02:00
Mamadou Babaei c8895c3132 add experimental mdbook plugins for epub and pdf generation 2024-07-16 21:21:10 +02:00
Mamadou Babaei 8388057bb1 fix the mdbook errors 2024-07-16 21:20:45 +02:00
Mamadou Babaei cb7eea0c7e add more change logs 2024-07-16 20:50:18 +02:00
Mamadou Babaei 2e5ff20c62 add more change logs 2024-07-16 20:48:32 +02:00
Mamadou Babaei 051570c198 update the changelog with many of the recent changes 2024-07-16 20:35:45 +02:00
Mamadou Babaei 7c7c647b53 minor changelog fix 2024-07-16 19:31:30 +02:00
Mamadou Babaei 85d648464f add FSGDebugCube 2024-07-16 19:30:35 +02:00
Mamadou Babaei 793c47d657 reorganize the handbook structure and add new sections 2024-07-16 19:19:49 +02:00
Mamadou Babaei 2056d4872d rename SGGameUserSettingSettings to SGGameUserSettingsSettings 2024-07-16 18:37:29 +02:00
Mamadou Babaei 05aa12c958 rename SGHardwareBenchmarkSettings to SGHardwareBenchmarkingSettings 2024-07-16 18:30:27 +02:00
Mamadou Babaei 20ebe89aa0 apply the plugin settings when the user overrides the settings for the first time 2024-07-15 23:22:42 +02:00
Mamadou Babaei e6e8212f57 do not ensure as it's possible to get a nullpointer during component uninitialization 2024-07-15 23:02:38 +02:00
Mamadou Babaei e7395c096d revert some changes after backporing fixes to v2.0.x and bumping the version to v2.0.8 2024-07-15 22:17:57 +02:00
Mamadou Babaei fc223c7301 bump the plugin version to v2.0.8 2024-07-15 22:17:54 +02:00
Mamadou Babaei 413c2a8f86 re-implement the virtual hand settings overrides; and apply plenty of other improvements and bug fixes to the settings system; and introduce sgdebugcubesettings 2024-07-15 22:02:51 +02:00
Mamadou Babaei 4a37ea2d36 fix a bug where the sgpawn right-hand grab colliders' default size is mistakenly set to the default value for the left-hand grab colliders at cdo initialization time 2024-07-15 21:58:17 +02:00
Mamadou Babaei 2847bff31e rename verify-build-type target to verify-handbook-revision 2024-07-14 12:13:28 +02:00
Mamadou Babaei 94fac157aa rename verify-build-type target to verify-build-revision 2024-07-14 12:12:42 +02:00
Mamadou Babaei 7d827ce6c1 remove the motion source wrist tracking overrides from the wrist tracker component due to the fact that it's utilized only inside the underlying tracking module and overriding it has no effects 2024-07-12 20:44:27 +02:00
Mamadou Babaei 8663499fc5 re-implement the wrist tracking settings overrides 2024-07-12 20:40:38 +02:00
Mamadou Babaei 8153607d0d rename bInIsVisibleWhenHandDataUnavailable to bInVisibleWhenHandDataUnavailable 2024-07-12 20:38:15 +02:00
Mamadou Babaei c662af475d apply some sgxrtracker enum parsing improvements 2024-07-12 20:37:31 +02:00
Mamadou Babaei 72f56ac9ff rename bIsVirtualHandVisible to bVirtualHandVisible 2024-07-12 20:36:34 +02:00
Mamadou Babaei 163e3b889a delete the engine utils default constructor and destructor 2024-07-12 20:35:28 +02:00
Mamadou Babaei d4c367e3cf add the editor utils class 2024-07-12 20:34:40 +02:00
Mamadou Babaei 92f4775abb fix the debug virtual hand settings and logic 2024-07-12 14:03:55 +02:00
Mamadou Babaei b3f661c659 fix a comment 2024-07-12 13:50:33 +02:00
Mamadou Babaei 02a891f100 introduce the senseglove unreal engine handbook 2024-07-11 21:10:43 +02:00
Mamadou Babaei db99fc5b8b a const correctness fix 2024-07-11 17:19:32 +02:00
Mamadou Babaei 6b71f2500c make FSGXRTracker::GetMotionControllerData() behave the same as 5.4 on both 5.2 and 5.3 2024-07-11 15:40:46 +02:00
Mamadou Babaei f174c6675d minor fix 2024-07-10 11:32:15 +02:00
Mamadou Babaei 4350f2c8d0 update the changelog and clarify what happens when other openxr hand tracking provider's are enabled and the possible workarounds 2024-07-10 11:31:33 +02:00
Mamadou Babaei f0805c00b9 workaround the runuat 5.2/5.3 build issue due to missing IOpenXRHMD.h from epic public headers 2024-07-10 11:08:27 +02:00
Mamadou Babaei 6452895bd2 fix various runuat buiild issues 2024-07-10 10:32:02 +02:00
Mamadou Babaei 66b42a369d break a circular dependency 2024-07-10 10:15:23 +02:00
Mamadou Babaei 489ae126fc do not reigger OnGrabStateUpdated and OnTouchStateUpdated at all when the hand mesh is not valid or visible and also some other extra measures to make sure even if they are triggered they won't affect anything 2024-07-08 20:01:36 +02:00
Mamadou Babaei 19405efa03 take into account the device visual type when updating the hand visibility 2024-07-06 16:34:04 +02:00
Mamadou Babaei e6fb9f194b clarify the meta xr and vive openxr plugins incompatibility 2024-07-06 15:39:50 +02:00
Mamadou Babaei 56a080aaaa rename variable 2024-07-05 23:06:26 +02:00
Mamadou Babaei 279f3fb20e seprate the engine and senseglove module dependency lists 2024-07-05 22:45:56 +02:00
Mamadou Babaei 630a4e9182 implement our own GetMotionControllerData instead of using the one from the XRTrackingSystem as it only picks up the first hand tracking plugin in order to make sure at least internally we use the hand-tracking data from senseglove 2024-07-05 22:08:21 +02:00
Mamadou Babaei 4c0c1b418a minor fixes 2024-07-03 15:01:44 +02:00
Mamadou Babaei 1d6f52a22e mark the SenseGlove settings as DefaultConfig 2024-07-03 13:32:14 +02:00
Mamadou Babaei 6757e134c9 add more bluetooth permissions to be able to request access for nearby devices on android api level 32 in addition to 29 2024-07-03 11:53:58 +02:00
Mamadou Babaei 5bc2b45b34 add the gradle deprecation warnings 2024-07-03 11:11:38 +02:00
Mamadou Babaei 7c54eeb5b2 never extend the content browser context menu if any skeletal mesh or skeltons selected at the same time 2024-07-02 20:57:54 +02:00
Mamadou Babaei 90fd5fbb67 clean up and remove the redundant asset type actions no longer required by the senseglove sockets editor 2024-07-02 20:53:08 +02:00
Mamadou Babaei 74bc0a29c1 implement the SenseGlove grab/touch sockets one-click-setup ability on any Epic-compliant virtual hand mesh from within the Unreal Editor's Content Browser, Skeleton Editor, or Skeletal Mesh Editor 2024-07-02 20:50:09 +02:00
Mamadou Babaei 17c36fab91 update the implemented features list 2024-07-02 10:29:25 +02:00
Mamadou Babaei 8f6d91a87a revamp the whole settings system in order to unify the settings across various systems, modules, and api layers 2024-07-02 01:33:08 +02:00
Mamadou Babaei 6a72c815a8 make the virtual hand anim instance proxy safer 2024-07-01 23:10:11 +02:00
Mamadou Babaei 0bd218c8d2 minor fix: get object by reference 2024-07-01 22:36:58 +02:00
Mamadou Babaei b706ccf389 add the DebugVirtualHandSettings to the Debugging category 2024-07-01 20:37:28 +02:00
Mamadou Babaei b27daa755e rename SGVirtualHandTrackingSettings to SGVirtualHandSettings 2024-07-01 20:28:55 +02:00
Mamadou Babaei 94494f142a remove the deperecated jcenter repository from the android upl file 2024-07-01 20:08:04 +02:00
Mamadou Babaei 77658a76b9 mark the x86 and armeabi-v7a platforms as unsupported inside the android upl file 2024-06-30 21:36:18 +02:00
Mamadou Babaei 886d5538f9 fix a critical Android crash that happens where the default development hand meshes could not be found 2024-06-28 16:22:56 +02:00
Mamadou Babaei c4f4e9bca8 remove the hardcoded SG_HAND_MESH_YAW_CORRECTION_OFFSET and rely on FVirtualHandTrackingSettings::RootBoneRotationCorrection 2024-06-27 13:59:52 +02:00
Mamadou Babaei f2dd4ba4da update the changelog 2024-06-27 13:49:30 +02:00
Mamadou Babaei d94e57e3fb mention the wrist tracking hardware visualization bug as a known issue with the new openxr system 2024-06-27 12:42:44 +02:00
Mamadou Babaei cfdddc6db6 fix runuat build issues for ue 5.4 caused by missing headers 2024-06-27 12:15:58 +02:00
Mamadou Babaei 21713922b9 remove redundant header files 2024-06-27 12:06:53 +02:00
Mamadou Babaei 86824082fc fix more runuat issues due to missing headers 2024-06-27 11:59:18 +02:00
Mamadou Babaei 9de8353fa3 fix runuat build issues for ue 5.2 2024-06-27 11:59:17 +02:00
Mamadou Babaei 2ac0819541 fix a crash when the wrist-tracker hardware set to auto-detection 2024-06-17 14:18:03 +02:00
Mamadou Babaei fd02b1b377 fix a few build issues 2024-06-17 07:42:48 +02:00
Mamadou Babaei 5aec19ecbe fix the wrong kismet library class name 2024-06-16 13:06:35 +02:00
Mamadou Babaei 72e6782ad3 formatting fix 2024-06-16 13:05:54 +02:00
Mamadou Babaei 2f5307e858 update the changelog 2024-06-16 11:57:22 +02:00
Mamadou Babaei f1fb05e28d whitespace fix 2024-06-16 11:57:03 +02:00
Mamadou Babaei 966476cfb3 add missing header that contains engine version definitions 2024-06-16 09:37:52 +02:00
Mamadou Babaei e170c5e67b drop the minimal api specifier 2024-06-16 09:31:00 +02:00
Mamadou Babaei 005e2be183 remove redundant headers 2024-06-16 09:17:02 +02:00
Mamadou Babaei 8c38614ac3 remove unnecessary initialization 2024-06-16 09:15:38 +02:00
Mamadou Babaei f4bea93dd5 whitespace fix 2024-06-16 09:13:57 +02:00
Mamadou Babaei c022477f82 fix wrong kismet script names and class exports 2024-06-16 08:55:22 +02:00
Mamadou Babaei b31c046e3e remove the experimental bHandTrackingVisualizationAllowed feature 2024-06-14 09:40:08 +02:00
Mamadou Babaei ed38c2a6aa remove SetWristTrackingSettings from the FSGWristTrackerComponent's header file since it does not have any implementation 2024-06-14 09:36:32 +02:00
Mamadou Babaei f32d932627 perform a ensure before dereferencing 2024-06-14 08:57:15 +02:00
Mamadou Babaei e86c32255a formatting fix 2024-06-14 08:56:58 +02:00
Mamadou Babaei 5411669082 revamp the GetControllerOrientationAndPosition and GetWristTransform to use the same caluclations and get rid of bMotionSourceHandTracking in senseglove joint calculations 2024-06-14 05:51:30 +02:00
Mamadou Babaei 0bda89497d check if motioncontrollerdata is valid 2024-06-14 05:49:19 +02:00
Mamadou Babaei 3c64b977b7 remove the ability to override wrist tracking settings from the wrist tracker component 2024-06-12 19:46:38 +02:00
Mamadou Babaei aec016fb1d fix the how we determine the motion source inside the GetControllerOrientationAndPosition and GetControllerTrackingStatus for ue versions earlier than 5.3 2024-06-12 19:46:15 +02:00
Mamadou Babaei 921d9d6a98 add htc vive stand-alone support status to the platform support matrix 2024-06-12 19:44:15 +02:00
Mamadou Babaei 6d14166e01 fix ue 5.2 and 5.3 build issues 2024-06-12 18:57:12 +02:00
Mamadou Babaei 769ac398ac update the changelog and the readme 2024-06-12 00:09:19 +02:00
Mamadou Babaei 69dc023ba2 update the changelog 2024-06-12 00:00:25 +02:00
Mamadou Babaei 52a71a8fa5 add the editor user interface for adding the senseglove sockets 2024-06-11 23:53:21 +02:00
Mamadou Babaei d8a1afebd7 temporarility change the way we calculate the wrist offset 2024-06-11 21:56:24 +02:00
Mamadou Babaei 2bfcc474b0 remove SGWristTrackerVisualizationComponent 2024-06-07 19:53:33 +02:00
Mamadou Babaei eca75f94bd fix a few wrist tracker issues and introduce SGWristTrackerVisualizationComponent 2024-06-07 19:40:50 +02:00
Mamadou Babaei 7a3a943f5e pass outer as the worldcontextobject to glovetracker::getinstance 2024-06-07 14:14:21 +02:00
Mamadou Babaei 4001f014d9 make USGGloveTracker::GetInstance as flexible as possible 2024-06-07 14:10:05 +02:00
Mamadou Babaei 0c71ab9ab8 simplify getworld implementation 2024-06-07 13:39:32 +02:00
Mamadou Babaei f956c8d5ce migrate the static getworld to sgengineutils 2024-06-07 13:25:09 +02:00
Mamadou Babaei 868c993ce9 safer in-editor getworld without the polluting logs 2024-06-07 05:10:29 +02:00
Mamadou Babaei 1daeb8dbd7 fix the you are not the main thread and the editor is currently in a play mode errors 2024-06-07 04:56:02 +02:00
Mamadou Babaei 16f520e54c fix the MarkRenderStateDirty data race condition by gathering as much as data only on the game thread 2024-06-07 04:55:15 +02:00
Mamadou Babaei da513b653b introduce bValidateIfDefaultClassesAreSGCompliant 2024-06-07 00:08:31 +02:00
Mamadou Babaei 308a70eddf fix the blueprint category naming to adhere to the rest of the settings system 2024-06-07 00:07:21 +02:00
Mamadou Babaei 7487cea79c move hardware benchmarking settings to its own class 2024-06-07 00:06:38 +02:00
Mamadou Babaei b80a88b99a disable bFallbackToHandTrackingIfNoGloveDetected by default 2024-06-06 23:31:01 +02:00
Mamadou Babaei c0e4aabd8e fix a bug where sgpawn hand's finger collider interact with the world when the hand is not mesh visible 2024-06-06 17:27:10 +02:00
Mamadou Babaei dfff2f469d add the USGVirtualHandComponent::OnHandVisibilityChanged() event 2024-06-06 17:25:48 +02:00
Mamadou Babaei 1114270bb8 try to disable collision alltogether when the hand mesh is not visible 2024-06-06 16:31:11 +02:00
Mamadou Babaei b6fc7299fb update the changelog 2024-06-06 15:58:11 +02:00
Mamadou Babaei 6c7b7e9304 improve the sgusersettings implementation by introducing custom enum item and more accuracy 2024-06-06 15:51:51 +02:00
Mamadou Babaei ee951e74bc implement the game user settings system 2024-06-06 14:30:02 +02:00
Mamadou Babaei 006c9af1ad minor formatting fix 2024-06-06 14:29:21 +02:00
Mamadou Babaei e5909dca96 minor formatting fix 2024-06-06 14:28:52 +02:00
Mamadou Babaei 238effa949 add a partial workaround for a bug when the virtual hand inside the game is not visible but still have collisions with other objects inside the scene 2024-06-04 17:25:07 +02:00
Mamadou Babaei b7f9bb9eef add IsAMetaQuestDevice() and IsAHtcViveDevice() methods 2024-06-04 12:54:57 +02:00
Mamadou Babaei f4dcbe4d32 fix vive pro detection issues by introducing additional device identifier 2024-06-04 12:53:37 +02:00
Mamadou Babaei d0a838b263 removed the allbreaker virtual hand model as it's no longer compatible with the openxr integration 2024-06-04 12:52:17 +02:00
Mamadou Babaei 304a18169c fix android build issues 2024-05-29 14:03:26 +02:00
Mamadou Babaei 8413f9488f bump the plugin version to v2.0.7 2024-05-29 12:38:55 +02:00
Mamadou Babaei 1dab54f68f make the allbreaker assets compatible with ue 5.1+ again 2024-05-29 12:32:05 +02:00
Mamadou Babaei 932b26c2e6 bump the plugin version to v2.0.6 2024-05-29 11:38:49 +02:00
Mamadou Babaei 2143142d65 update the changelog 2024-05-27 16:43:54 +02:00
Mamadou Babaei d683499b28 remove minor ue 5.1 comments and hints 2024-05-27 16:42:23 +02:00
Mamadou Babaei ce4e7c4191 update the changelog 2024-05-27 16:39:09 +02:00
Mamadou Babaei 35ef72097b implement bHandTrackingVisualizationAllowed 2024-05-27 16:37:44 +02:00
Mamadou Babaei 03b15611af improve the wrist tracking code when using motion controllers 2024-05-27 15:36:11 +02:00
Mamadou Babaei bdb520274c refactor the sgxrtracker internals to use transforms as pimpl methods args instead of a combination of fvectors/fquats 2024-05-27 12:25:21 +02:00
Mamadou Babaei a22472e59b minor fixes, mostrly formatting 2024-05-27 10:29:25 +02:00
Mamadou Babaei 5b9d30130b remove unused pimpl method 2024-05-23 17:25:38 +02:00
Mamadou Babaei 2bae95c194 remove dead code 2024-05-23 16:52:53 +02:00
Mamadou Babaei 98e235c6be even more optimal fxrmotioncontroller data calculations that considers mesh when outputting senseglove data 2024-05-23 16:28:06 +02:00
Mamadou Babaei 4e850ff8e8 document more unreleased changes 2024-05-22 18:13:44 +02:00
Mamadou Babaei d123f782c2 bump the plugin version to v2.0.5 2024-05-22 17:31:03 +02:00
Mamadou Babaei f31205b3de fix the wrong palm bone names on the allbreaker virtual hand models 2024-05-22 17:27:08 +02:00
Mamadou Babaei da8289f2b3 somewhat unfinished refactored sg bone calculations 2024-05-22 17:26:11 +02:00
Mamadou Babaei 0cc4a4b74b increase the default finger distal phalanges length 2024-05-22 17:25:07 +02:00
Mamadou Babaei 6100c09a6b add the senseglove debug kismet module 2024-05-22 17:23:22 +02:00
Mamadou Babaei bb6c2bb6fb unfinished improvements based on the last commit 2024-05-21 18:41:19 +02:00
Mamadou Babaei 2c3ee86dbd attempt at calculating a hand model and feeding it to get hand pose 2024-05-21 15:04:50 +02:00
Mamadou Babaei 76720fc777 refactor the way we calculate the mesh bone reference transforms to read from the settings system instead of the hardcoded values 2024-05-21 13:10:05 +02:00
Mamadou Babaei 8458e12d0b bump the plugin version to v2.0.4 2024-05-17 11:38:04 +02:00
Mamadou Babaei 7ad1ca1844 add the hard-coded hand defaulet reference bone transfomrs to the virtual hand settings 2024-05-16 19:57:27 +02:00
Mamadou Babaei fac319897d openxr bugfixes and improvements + 1st attempt at calculating the fxrmotioncontrollerdata based off of the hand mesh 2024-05-16 19:57:26 +02:00
Mamadou Babaei 99f71d04d5 bump the plugin version to v2.0.3 2024-05-16 19:57:19 +02:00
Mamadou Babaei 6b6eaabdfa fix more UE 5.4 RunUAT build issues 2024-05-15 04:31:18 +02:00
Mamadou Babaei 3ab26e39eb fix v2.0.2 UE 5.4 RunUAT build issues that mostly caused by missing headers 2024-05-15 04:31:18 +02:00
Mamadou Babaei da1434dd5f improve target platform detection when building SenseGloveConnectImpl and SenseGloveCoreImpl modules and also distinguish x64 builds from arm64 on windows 2024-05-15 04:31:17 +02:00
Mamadou Babaei b04a61c1b6 fix: asking CppCompileEnvironment for a single Architecture, but it has multiple Architectures (arm64, x64) 2024-05-15 04:31:14 +02:00
Mamadou Babaei e49989543a refactor the animation, wrist tracking, and hand interaction manipulation systems for FXRMotionControllerData compatibility 2024-05-13 06:43:17 +02:00
Mamadou Babaei c9d7f15f09 update the readme 2024-05-03 11:55:38 +02:00
Mamadou Babaei c5adee47ce implement the OpenXR-compatible hand tracking (XR_EXT_hand_tracking) support 2024-05-03 11:29:17 +02:00
Mamadou Babaei 9b32ee589b rename sgheadmountdisplay to sgheadmounteddisplay 2024-05-02 11:48:59 +02:00
Mamadou Babaei 2410466de2 add extra null checks 2024-05-02 11:04:10 +02:00
Mamadou Babaei a1488f32bb add vive xr elite hmd auto-detection checkes and other vive headset detection bug fixes and improvements 2024-04-30 15:44:59 +02:00
Mamadou Babaei 4a6f528e96 remove ASGVirtualHandActor 2024-04-29 18:28:28 +02:00
Mamadou Babaei 1fe189a7ff make the sgsettings constructor private 2024-04-29 11:16:51 +02:00
Mamadou Babaei 82550b6a40 bump senseglove libraries to v2.102.0-4a8bd81d and drop support for ue 5.1 and epic native toolchain v20 2024-04-25 16:22:13 +02:00
Mamadou Babaei 65d97a5277 bump the plugin version to v2.0.2 2024-04-25 12:54:16 +02:00
Mamadou Babaei 0ffac1f789 bump the plugin version to v2.0.1 2024-04-15 15:01:57 +02:00
Mamadou Babaei bb72ddaaaa remove debug logs from FSGHeadMountDisplay::GetDeviceType() 2024-04-12 08:00:51 +02:00
Mamadou Babaei e9ffa1e43d check hmd auto-detection against various identifiers as the names returns from the engine is not reliable 2024-04-12 07:39:26 +02:00
Mamadou Babaei ade7afac88 improve vive pro and vive focus 3 detection by utilizing optic resolution to distinguish them 2024-04-12 07:21:56 +02:00
Mamadou Babaei 170ee2d66b only instantiate the connected glove once instead of recreating and destroying it every frame 2024-04-12 06:56:04 +02:00
Mamadou Babaei 2e9407e485 do not call FSGHandLayer::ResetCalibration on every backend initialization 2024-04-10 16:38:33 +02:00
Mamadou Babaei 8a6927ce8d bump senseglove libraries to v2.102.0-35d4de3f 2024-04-10 16:21:13 +02:00
Mamadou Babaei f806e5bf24 fix the wrong header file description sections for the header files 2024-04-10 15:30:03 +02:00
Mamadou Babaei f6e3535a9c implement hmd and wrist tracker hardware auto-detection fallback when it's not set explicitly 2024-04-10 15:29:53 +02:00
Mamadou Babaei 71c052469e update the changelog with the unreleased changes 2024-03-23 17:28:39 +01:00
Mamadou Babaei c3a453d32d update the outdated platform support matrix remarks 2024-03-23 17:20:58 +01:00
Mamadou Babaei 39720bd6c5 add ue 5.4 to the list of supported engines through azure devops 2024-03-23 16:55:43 +01:00
Mamadou Babaei ed8e846816 bump the plugin version to v2.0.0 2024-03-22 21:27:19 +01:00
Mamadou Babaei b65541282a update the changelog 2024-03-22 21:23:34 +01:00
Mamadou Babaei 79fae28344 add missing modules to the directory structure 2024-03-22 21:20:36 +01:00
Mamadou Babaei 2f283681f6 update the planned features status 2024-03-22 20:37:08 +01:00
Mamadou Babaei 1d03b49f70 fix other build issues with non-unity builds 2024-03-22 13:10:09 +01:00
Mamadou Babaei 1450f2bd95 add the missing string header that causes build issues in non-unity builds 2024-03-22 12:48:53 +01:00
Mamadou Babaei 2c4152b314 remove the platform dependant build hacks inside FSGArrayUtils::FromStdVector as msvc is not able to deduce TArray<T>::SizeType 2024-03-22 12:40:54 +01:00
Mamadou Babaei 0f95cc4d4b bump the senseglove libraries to v2.101.12-62b1be11 2024-03-21 19:33:53 +01:00
Mamadou Babaei 06a3bab9c4 fix android build issue inside FSGArrayUtils::FromStdVector introduced by 0cdc7e03ac 2024-03-21 17:05:57 +01:00
Mamadou Babaei 2dcc286d88 Revert "try to init/uninit the backend module at the module start/shutdown"
This reverts commit c45bcaf618.
2024-03-21 11:20:26 +01:00
Mamadou Babaei 0cdc7e03ac fix a build issue inside FSGArrayUtils::FromStdVector introduced by newer msvc updates due to stricter implicit uint64 to int32 conversions 2024-03-21 11:16:26 +01:00
Mamadou Babaei 4581db31aa bump the senseglove backend libraries to v2.101.11-2d6fe9ce 2024-03-21 00:50:40 +01:00
Mamadou Babaei 9cf40d09b2 correct the module logs grammars 2024-03-20 18:20:11 +01:00
Mamadou Babaei c45bcaf618 try to init/uninit the backend module at the module start/shutdown 2024-03-20 18:16:45 +01:00
Mamadou Babaei 17b904bae2 allow the c++ compiler the opportunity to perform rvo/nrvo if applicable 2024-03-20 14:31:28 +01:00
Mamadou Babaei 938515fcfa bump senseglove libraries to v2.101.10-7e515114 2024-03-19 17:34:38 +01:00
Mamadou Babaei 368d253e5f update the changelog with added quest 3 controllers support 2024-03-19 16:36:04 +01:00
Mamadou Babaei cdbc1a5dff integrate the virtual hand mesh from allbreaker 2024-03-19 15:43:22 +01:00
Mamadou Babaei 860b0c971d remove redundant headers 2024-03-19 11:01:12 +01:00
Mamadou Babaei 586c12cc23 expose as little as dependencies as possible 2024-03-15 17:23:42 +01:00
Mamadou Babaei 8f87cd61ac correct the hand mesh yaw rotation inside the sgpawn after the squat/sgvect3d changes 2024-03-14 17:35:06 +01:00
Mamadou Babaei 2532cb8af8 replace SupportedTargetPlatforms with PlatformAllowList 2024-03-13 20:25:51 +01:00
Mamadou Babaei 37aa959053 clean up unsed unreal version headers 2024-03-13 20:22:42 +01:00
Mamadou Babaei b596524c58 declare the openxr plugin as a dependency 2024-03-13 19:44:17 +01:00
Mamadou Babaei f3d143ccdb utilize UXRDeviceVisualizationComponent to display meshes on UE 5.2 onwards 2024-03-13 19:43:46 +01:00
Mamadou Babaei 3c13f3b3fb fix the changelog errors 2024-03-12 21:30:16 +01:00
Mamadou Babaei 27fb24dbc9 remove a changelog that is not valid anymore 2024-03-12 21:11:04 +01:00
Mamadou Babaei fa36c909c0 bump the senseglove libraries to v2.101.9-8abfc26d 2024-03-12 21:09:26 +01:00
Mamadou Babaei fb9fbd878f bump the plugin version to v1.9.8 2024-03-12 21:04:42 +01:00
Mamadou Babaei 40edc2b502 apply a temporary workaround in order to ameliorate the hand animation after sgquat, sgvect3d fixes 2024-03-12 19:35:16 +01:00
Mamadou Babaei ab9bc6f595 make bones rotations a private field 2024-03-12 15:58:47 +01:00
Mamadou Babaei f36bca9755 update the changelog 2024-03-12 15:27:39 +01:00
Mamadou Babaei 727e497df4 proper angle conversions for vectors 2024-03-12 15:05:51 +01:00
Mamadou Babaei a141159549 proper sgvect3d and squat conversions to fvector and fquat 2024-03-12 14:54:26 +01:00
Mamadou Babaei 7fd6c20db8 apply senseglove/unreal angle conversions in the gloves' api 2024-03-12 13:00:19 +01:00
Mamadou Babaei 3011d00173 fix a crash inside the USGHandPose::FromHandAngles in higher levels of the api 2024-03-12 11:03:45 +01:00
Mamadou Babaei 0f6661749d drop the prefix for internal typedefs 2024-03-12 10:55:10 +01:00
Mamadou Babaei e4291bb9e8 add some performance optimizations by utilizing MoveTemp in return statements 2024-03-12 10:43:22 +01:00
Mamadou Babaei 545f65485f fix a crash when calling one of the SGHandInterpolatorImpl constructors which happens due to unintialized pimpl object 2024-03-12 10:29:23 +01:00
Mamadou Babaei 4ef1be2bb9 update the changelog 2024-03-11 13:30:16 +01:00
Mamadou Babaei a472a00858 bump senseglove libraries to v2.101.8-a2a2075b which resolves the android writehaptics crash 2024-03-11 13:26:24 +01:00
Mamadou Babaei ab4070a76f update the change log with unreleased changes 2024-03-07 23:50:01 +01:00
Mamadou Babaei 22ae734680 bump senseglove libraries to v2.101.7-3580cd9f 2024-03-07 23:46:28 +01:00
Mamadou Babaei 8d48402ba1 bump senseglove libraries to v2.101.5-f0aff76b 2024-03-07 12:01:16 +01:00
Mamadou Babaei c56650cd5e fix a bug where the right hand mesh is always hidden inside the game no matter whether the right glove is connected or not 2024-03-07 11:06:36 +01:00
Mamadou Babaei 19a9144cd4 bump senseglove libraries to v2.101.4-6c860c42 with android fixes and fix a android crash 2024-03-06 09:44:13 +01:00
Mamadou Babaei ed501b65eb bump senseglove libraries to v2.101.3-e583f6de 2024-03-04 15:27:21 +01:00
Mamadou Babaei 3c55901d09 implement the api updates and bump the senseglove libraries to v2.101.2-2eb7439f 2024-03-01 17:39:02 +01:00
Mamadou Babaei 4d3e0983a7 fix a wrong variable name 2024-02-28 13:11:02 +01:00
Mamadou Babaei 24f5bac239 only include the sgconnect header if the build platform is android 2024-02-27 00:34:39 +01:00
Mamadou Babaei 300c899c28 force glove recalibration on backend initialize 2024-02-27 00:34:00 +01:00
Mamadou Babaei 64f717c698 add as*glove/device casting methods that resolves the sgpawn vibrotactile issues 2024-02-27 00:12:51 +01:00
Mamadou Babaei 33b4084ee2 use device impl casts 2024-02-26 20:14:47 +01:00
Mamadou Babaei 124244a528 list nova 2 gloves in the get devices from the device list 2024-02-26 20:09:41 +01:00
Mamadou Babaei 8cc08e4827 another attempt at improving the glove casts 2024-02-26 20:03:54 +01:00
Mamadou Babaei 7d8d8cc9b0 try an alternative approach for glove instances upcasting at the lower levels of the api 2024-02-26 19:27:04 +01:00
Mamadou Babaei ae688f71a9 try to add a solution for glove type-casting in higher levels of the api 2024-02-26 18:46:46 +01:00
Mamadou Babaei 3c0fe9284f fix the send custom waveform signature on the hand layer 2024-02-23 15:44:23 +01:00
Mamadou Babaei 4959a7c346 fix a bug inside the ESGHapticLocation enum conversions 2024-02-23 15:43:20 +01:00
Mamadou Babaei 3aebd49d49 bump senseglove libraries for v2.101.1-edc1163a 2024-02-22 21:23:19 +01:00
Mamadou Babaei efcb420015 implement the nova2 api updates and bump the senseglove libraries to v2.101.0-3e1693fb 2024-02-20 14:12:24 +01:00
Mamadou Babaei c7337a5f7a bump the plugin version to v1.9.7 2024-02-18 20:28:03 +01:00
Mamadou Babaei ce26c94c8a apply vibrotactile and force-feedback fixes backported from next major release 2024-02-18 20:26:28 +01:00
Mamadou Babaei a9f10c3982 bump the plugin version to v1.9.6 2024-02-14 14:41:46 +01:00
Mamadou Babaei 23395ba8b1 fix the NovaGlove class instantiation methods to initialize a NovaGloveImpl instead of a SenseGloveImpl 2024-02-14 14:40:03 +01:00
Mamadou Babaei a35626f6bd bump the plugin version to v1.9.5 2024-02-09 10:52:31 +01:00
Mamadou Babaei c3aef71d28 fix a potential segfault inside SGDeviceModel::ParseFirmware 2024-02-09 10:49:24 +01:00
Mamadou Babaei 3dcb5df72b bump the plugin version to v1.9.4 2024-02-08 07:46:04 +01:00
Mamadou Babaei f1a78a2ad8 fix the bluprint parse fucntion signature to accept OutGloveInfo by reference 2024-02-08 07:41:44 +01:00
Mamadou Babaei 48b03083e0 fix changelog formatting 2024-02-08 07:39:45 +01:00
Mamadou Babaei 5943387b50 bump the plugin version to v1.9.3 2024-02-03 04:49:48 +01:00
Mamadou Babaei f69d0c5f54 rephrase fixed changes 2024-02-03 04:49:15 +01:00
Mamadou Babaei 270915bd4e bump the copyright years 2024-02-03 04:39:36 +01:00
Mamadou Babaei 71fac78a3a minor changelog fixes 2024-02-03 04:36:52 +01:00
Mamadou Babaei 67498666aa fix the wrong version numbers inside the paltform support matrix and the main .uplugin file 2024-02-03 04:35:06 +01:00
Mamadou Babaei b98710bd53 apply a few critical fixes backported from the next major release 2024-02-03 04:31:58 +01:00
Mamadou Babaei 3062d0b9ef a minor changelog fix 2023-11-03 18:48:06 +01:00
Mamadou Babaei 77ce2ae7da bump the plugin version to v1.9.2 2023-11-03 18:33:57 +01:00
Mamadou Babaei 345b8305bc fix a bug where released actor is going to be null whenever the OnActorReleased event fires 2023-11-03 18:01:34 +01:00
Mamadou Babaei 895569e83b restructure the planned features completion status 2023-10-26 14:42:49 +02:00
Mamadou Babaei 9e6b31cd34 update the list of planned features and their completion status 2023-10-24 18:02:42 +02:00
Mamadou Babaei c87bbf6233 update the list of planned features and their completion status 2023-10-24 17:59:14 +02:00
Mamadou Babaei cdd0313031 update the list of planned features and their completion status 2023-10-24 17:55:59 +02:00
Mamadou Babaei da4a1ec725 add a list of planned features and their completion status to the main readme file 2023-10-24 15:51:06 +02:00
Mamadou Babaei 73d4da8f55 bump the plugin version to v1.9.1 2023-10-11 17:00:36 +02:00
Mamadou Babaei d388804f86 add the missing unreal header that defines ENGINE_*_VERSION macros in order to pass epic store builds for ue 5.3 2023-10-11 16:58:38 +02:00
Mamadou Babaei 766064ff76 bump the plugin version to v1.9.0 2023-10-10 17:28:17 +02:00
Mamadou Babaei 23d4287183 change the ufunction specifier for sgpawn blueprint implementable events to blueprint native event in order to allow overrides from c++ as well 2023-10-10 17:22:10 +02:00
Mamadou Babaei de2b0197f4 add a missing release note fix for v1.8.0 to the changelog file 2023-10-10 17:19:11 +02:00
Mamadou Babaei 1e58a00dd4 bump the plugin version to v1.8.0 2023-10-10 16:11:10 +02:00
Mamadou Babaei 48e4508c66 This single commit inroduces the following changes:
- Introduced new SGPawn events: OnActorGrabbed, OnActorReleased, OnActorBeginTouch, and OnActorEndTouch.
- Exposed OnGrabStateUpdated, OnTouchStateUpdated, OnActorGrabbed, OnActorReleased, OnActorBeginTouch, and OnActorEndTouch events to Blueprint as BlueprintImplementableEvent.

- Fix a bug where the OnTouchStateUpdated event is mistakenly triggered instead of the OnGrabStateUpdated when the right thumb fingertip grab collider overlaps with a grabbable actor.
2023-10-10 16:03:31 +02:00
Mamadou Babaei 18d3c6a643 bump the plugin version to v1.7.0 2023-09-14 18:48:52 +02:00
Mamadou Babaei 2e28283f53 bump senseglove headers and libraries for linux and android to v2.12.0-19c9854 2023-09-14 18:43:47 +02:00
Mamadou Babaei 5d47181fd6 bump senseglove libraries for windows to v2.12.0-19c9854 2023-09-14 18:36:58 +02:00
Mamadou Babaei 8f78bb7228 move SGCoreImpl/SGPlatform to SGBuildHacks/SGPlatform and introduce SG_CPP20 and SG_CAPTURE_THIS 2023-09-14 18:35:06 +02:00
Mamadou Babaei d2495a3550 update the changelog 2023-08-21 17:57:21 +02:00
Mamadou Babaei e8d5fb3eec update the changelog with unreleased changes 2023-08-21 17:56:56 +02:00
Mamadou Babaei e2b8cb29fa introduce senseglove backend and backend kismet modules in order to properly initialize the backend in order to avoid a bug where sgcoonect::init gets called every frame 2023-08-21 17:54:13 +02:00
Mamadou Babaei 03be17c5b0 update the changelog with unreleased changes 2023-08-21 17:45:19 +02:00
Mamadou Babaei 66f079d981 remove a duplicate log 2023-08-21 17:44:21 +02:00
Mamadou Babaei ebac985ee4 add sggameinstance for future use 2023-08-21 16:32:32 +02:00
Mamadou Babaei b7fdae70cc remove a duplicated slash in a header's path 2023-08-21 16:20:04 +02:00
Mamadou Babaei bde7dfe5b9 bump the plugin version to v1.6.1 2023-08-14 21:21:12 +02:00
Mamadou Babaei 71353a1105 fix the platform support matrix 2023-08-14 21:18:49 +02:00
Mamadou Babaei 71661a40c9 add a missing header that causes build issues on ue 5.0 2023-08-14 21:17:25 +02:00
9596 changed files with 72698 additions and 45558 deletions
+18
View File
@@ -38,3 +38,21 @@ Resources/**/* filter=lfs diff=lfs merge=lfs -text
# LFS: everything under Source/ThirdParty/
Source/ThirdParty/**/* filter=lfs diff=lfs merge=lfs -text
# Except
Source/ThirdParty/**/*.Build.cs filter= diff= merge= text
# LFS: everything under Handbook/dist/
Handbook/dist/**/* filter=lfs diff=lfs merge=lfs -text
# Except
.gitignore filter= diff= merge= text
.gitattributes filter= diff= merge= text
# LFS: sgum-packager Linux and Windows binaries
Packager/sgum-packager filter=lfs diff=lfs merge=lfs -text
Packager/sgum-packager.exe filter=lfs diff=lfs merge=lfs -text
# LFS: sgfakeshm-connect-client abd sgfakeshm-core-client Linux and Windows binaries
Tuning/sgfakeshm-connect-client filter=lfs diff=lfs merge=lfs -text
Tuning/sgfakeshm-connect-client.exe filter=lfs diff=lfs merge=lfs -text
Tuning/sgfakeshm-core-client filter=lfs diff=lfs merge=lfs -text
Tuning/sgfakeshm-core-client.exe filter=lfs diff=lfs merge=lfs -text
+8
View File
@@ -125,3 +125,11 @@ DerivedDataCache/*
# Do not ignore anything inside the ThirdParty directory at all
!Source/ThirdParty/**/*
# The Handbook
Documentation/
Handbook/book/
# sgum-packager
# Do not ignore the sgum-packager Windows binary
!Packager/sgum-packager.exe
-299
View File
@@ -1,299 +0,0 @@
# Changelog
All notable changes to this project will be documented in this file.
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
## [1.6.0] - 2023-08-14
### Added
- Added support for the upcoming Unreal Engine 5.3.
- Now, the hand's velocity is applied to grabbed actors after being released from the hand.
- Introduce the real hands to the SenseGlove module (SGPawn) API.
- Added separation of the virtual and real hand rendering.
### Fixed
- Fix the wrong default debug virtual hand gizmo colors when initialized using the default constructor.
- Some minor performance fixes and improvements.
### Changed
- SenseGlove libraries have been updated to v2.11.0-b775a05.
## [1.5.3] - 2023-07-19
This is a hotfix release mostly addressing Android Bluetooth performance issues.
### Fixed
- Minor changelog fixes.
### Changed
- SenseGlove libraries have been updated to v2.10.1-3b0e7c9.
## [1.5.2] - 2023-07-19
This is a hotfix release mostly addressing Android-related issues.
### Fixed
- Fix a build issue with Android shipping builds due to sgconnect.jar not getting copied automatically in the AFSProject which is compiled for shipping builds when AndroidFileServer (AFS) is enabled.
- Minor changelog fixes and some source code formatting fixes.
## [1.5.1] - 2023-07-13
This is a hotfix release addressing a few critical issues introduced by the recent changes.
### Fixed
- Fix a wrist tracker bug where left and right hands' wrist trackers are mistakenly tracking the opposite hand's motion source.
- Fix a bug where the right hand is not able to do grab or release.
## [1.5.0] - 2023-06-16
This release breaks ABI/API compatibility with the previous versions in some areas as documented below.
### Added
- Added HTC VIVE Focus 3 positional tracking hardware enum.
- Added support for the Meta Quest Pro, HTC VIVE, and HTC VIVE Focus 3 positional tracking hardware.
- Added two options to the wrist tracker settings (to the global plugin settings and the overrides in the wrist tracker component) in order to be able to specify a custom motion source for the left and right hands, so that it allows SteamVR-based trackers such as HTC VIVE or HTC VIVE Focus 3 to operate with the SGPawn.
### Fixed
- Fix a bug where SteamVR trackers such as HTC VIVE and HTC VIVE Focus 3's wrist orientation and location were not being tracked.
### Changed
- Fully refactored the top-level configurations in the settings system into USTRUCTs.
- SenseGlove libraries have been updated to v2.10.0-12133ac.
### Removed
- Dropped support for the Epic Native Toolchain v19, MSVC v141 (Visual Studio 2017), and thus Unreal Engine 4.27 as it has been marked as deprecated since v1.4.x.
- Removed any kind of support for Oculus Touch (Oculus Rift S and Oculus Quest 1) positional tracking hardware, thus the enum as well.
- Removed any kind of support for Pico Neo 2 positional tracking hardware, thus the enum as well.
- Removed any kind of support for Pico Neo 3 positional tracking hardware, thus the enum as well.
## [1.4.3] - 2023-06-01
This is a hotfix release addressing a critical Android crash.
### Fixed
- Fix a critical Android crash that happens where the default development hand meshes are not found, which means almost always since we don't ship any default virtual hand mesh at the moment.
- Minor changelog release formatting fix in order to stay consistent.
## [1.4.2] - 2023-06-01
This is a hotfix release addressing a few critical issues.
### Fixed
- Fix build issues with certain compilers when the Unreal Engine version is older than 5.2.
- Reintroduced the Virtual Hand and the Wrist Tracker debug gizmos which have temporarily been disabled due to a bug in the settings system.
- Some minor changelog fixes.
## [1.4.1] - 2023-05-29
This is a bugfix release with a focus on Android build issues.
### Fixed
- Fix an Android Gradle build issue that happens when the game's package name won't start with com.senseglove.*.
- Suppress a grade warning for non-arm64 architectures when the build target is Android.
### Removed
- Remove dead Gradle code from the Android module.
## [1.4.0] - 2023-05-19
This release breaks ABI/API compatibility with the previous versions.
### Added
- Added support for the stable release of Unreal Engine 5.2 (the preview release has been supported since v1.2.0).
- Added Linux AArch64 platform support.
- Added a new Grab component that can turn any actor into a grabbable object.
- Added a new Touch component that enables haptic feedback such as Buzz and Force-Feedback commands.
- Added an optional feature in order to automatically stop all haptics on the EndPlay event, wherever the virtual hand component is used. By default, it's enabled.
### Fixed
- Fix Blueprint signatures for USGVirtualHandComponentKismetLibrary and make all the Blueprint exposed functions static.
### Changed
- SenseGlove libraries have been updated to v2.7.1-965f90c with support for Linux AArch64.
- The Virtual Hand and the Wrist Tracker debug gizmos (the intended use is only for SenseGlove developers for really low-level stuff; thus won't affect the users of the plugin at all) have been disabled and will be ignored due to an esoteric bug in the settings systems which has been scheduled to be fixed in the future releases.
### Removed
- Removed the redundant SenseGloveCoreTypes module which causes all kinds of packaging issues with certain versions of the engine.
### Deprecated
- This is the last release to support Unreal Engine 4.27 and please keep in mind that the current release is not obtainable through the Unreal Engine Marketplace. The latest published version on the Marketplace for 4.27 is v1.3.1. Per Epic's Marketplace policy regarding Code Plugins, we are only able to distribute or update the SenseGlove plugin for the last 3 stable versions of Unreal Engine. As a result, we won't be able to publish updates or bug fixes for the older versions of the Engine except on rare occasions and only through our official repository on Microsoft Azure DevOps.
## [1.3.1] - 2023-04-28
### Fixed
- Fix RunUAT build issues caused by missing headers.
- Minor documentation fixes.
## [1.3.0] - 2023-04-28
This release breaks ABI/API compatibility with the previous versions in addition to breaking coordinates systems conversions between Unreal Engine and the SenseGlove libraries.
### Added
- A new generic SenseGlove Debug module.
- A debug virtual hand.
### Fixed
- Fix the wrist tracker miscalculations for the Quest 2 controllers (other headsets might need fixing as well, in that case, future releases will address that).
- Minor code improvement and fixes.
- Minor documentation fixes.
### Changed
- Breaking API/ABI changes in the Settings and the main SenseGlove module due to some settings refactoring.
- Breaking changes in the SenseGlove/Unreal coordinates systems conversions due to underlying changes in the SenseGlove Core Libraries.
- SenseGlove libraries have been updated to v2.6.0-aac3d56.
## [1.2.1] - 2023-03-30
### Fixed
- Fix RunUAT build issues with Android.
## [1.2.0] - 2023-03-28
This release breaks ABI/API compatibility with the previous versions.
### Added
- Android / Oculus on-device glove calibration.
- Introduced the animated Virtual Hand Model (as a set of virtual hand and wrist tracker components and an actor) with in-editor animation availability.
- Introduced SGPawn, SGPlayerController, SGGameModeBase, etc classes.
- Added an internal SenseGloveCoreTypes module in order to share common SenseGloveCore types between various modules.
- Segregated Android binaries for NDK r21e (UE 4.27 and 5.0) and r25b (UE 5.1, 5.2).
- Fully functional and stable Linux development support.
- Fully functional and stable Unreal Engine 5.2 preview support has been added.
- Added a Plugin's settings manager and two new modules SenseGloveSettings and SenseGloveSettingsKismet.
### Changed
- SenseGlove libraries have been updated to the Linux-aware version: v2.5.0-8069342.
- API has changed to use degrees instead of radians.
- SGCoordinates utility class name has been changed to SGAngles and now the plugin API uses degrees in contrast of SenseGlove libraries by default.
- Migrate common nested array types into the SenseGloveTypes module from the SenseGloveCore module.
### Removed
- Removed a few thousand lines of archaic pre-public-release dead code.
- Dropped Android NDK r21b binaries used by the older engine versions.
- Purged the dead code for dropped engine versions by v1.1.1 (4.22, 4.23, 4.24, 4.25, and 4.26) that carried over to the current version.
- Removed redundant SGConnectImpl/SGPlatform.
- Removed redundant SGTypes/SGConnectTypes.
### Known Issues
- Wrist Tracker's offsets are a bit off (e.g. on Quest 2), scheduled to be fixed in the next patch release.
## [1.1.1] - 2023-02-07
### Added
- Initial support for the upcoming Unreal Engine 5.2.
- Add support for Android armeabi-v7a with neon, x86-64, and x86 builds in addition to arm64-v8a.
### Fixed
- Fix various Android build issues.
- Some minor fixes and improvements.
### Changed
- Bump SenseGlove libraries to v2.1.2-95ec6e7.
## [1.1.0] - 2023-02-03
### Added
- Whitelist Android as a target platform.
- Introduce Android support.
- Add third-party library SGConnect for Android v1.1.0.
### Fixed
- Fix Android build issues caused by the log module.
### Changed
- SGConnect and SGCore libraries have been updated to v2.1.1-0569c74.
### Removed
- Removed the enum utils class due to ANY_PACKAGE deprecation warnings in Unreal Engine 5.1.
- Support for older versions of the Engine (namely, 4.22, 4.23, 4.24, 4.25, and 4.26) has been dropped.
## [1.0.4] - 2022-12-02
This is a minor release focusing mostly on adherence to the Unreal Engine Marketplace Guidelines based on the feedback from Epic Games.
### Added
- Added support for MSVC 2017
### Changed
- Updated SenseGlove libraries (SGCore/SGConnect) to v2.0.4.
## [1.0.3] - 2022-11-29
This is a minor release focusing on adherence to the Unreal Engine Marketplace Guidelines based on the feedback from Epic Games.
### Changed
- Adjust Config/FilterPlugin.ini in order to conform to Epic's Market Place Guidelines.
## [1.0.2] - 2022-11-27
This is a minor release focusing on adherence to the Unreal Engine Marketplace Guidelines based on the feedback from Epic Games.
### Added
- Added the newly acquired Unreal Engine Market Place Offer ID to the .uplugin file.
- List the dotfiles inside the FilterPlugin.ini file as well.
- Add the copyright notice to the source files missing it.
- Add the SenseGlove SDK license to the third-party license file.
### Fixed
- Fix the readme typos and errors.
- Minor fixes in the changelog for previous releases.
## [1.0.1] - 2022-11-25
### Changed
- Exposed SenseGloveTypes as a public dependency in SenseGloveConnect and SenseGloveCore modules, so that the C++ users of the API don't need to explicitly add it as a dependency.
- Cleaned up the redundant headers/modules dependencies from SGCore headers.
### Fixed
- Fix RunUAT build issues prior to Epic Store submission.
## [1.0.0] - 2022-11-24
### Added
- Initial public release of the SenseGlove haptic API for Unreal Engine with support for Microsoft Windows and GNU/Linux.
+3 -1
View File
@@ -1,3 +1,5 @@
[FilterPlugin]
/CHANGELOG.md
/Config/FilterPlugin.ini
/Documentation/the-senseglove-unreal-engine-handbook.epub
/Documentation/the-senseglove-unreal-engine-handbook.pdf
/Documentation/the-senseglove-unreal-engine-handbook.zip
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
+34
View File
@@ -0,0 +1,34 @@
#
# author: Mamadou Babaei <mamadou@senseglove.com>
#
# (The MIT License)
#
# Copyright (c) 2020 - 2026 SenseGlove
#
# Permission is hereby granted, free of charge, to any person obtaining a copy
# of this software and associated documentation files (the "Software"), to deal
# in the Software without restriction, including without limitation the rights
# to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
# copies of the Software, and to permit persons to whom the Software is
# furnished to do so, subject to the following conditions:
#
# The above copyright notice and this permission notice shall be included in all
# copies or substantial portions of the Software.
#
# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
# AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
# OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
# SOFTWARE.
#
# pmake might add -J (private)
FLAGS=${.MAKEFLAGS:C/\-J ([0-9]+,?)+//W}
all: .DEFAULT
.DEFAULT:
@which gmake > /dev/null 2>&1 || \
(echo "BSD Make is not supported; The build requires GNU Make." && exit 1)
@gmake ${.FLAGS} ${.TARGETS}
+702
View File
@@ -0,0 +1,702 @@
#
# author: Mamadou Babaei <mamadou@senseglove.com>
#
# (The MIT License)
#
# Copyright (c) 2020 - 2026 SenseGlove
#
# Permission is hereby granted, free of charge, to any person obtaining a copy
# of this software and associated documentation files (the "Software"), to deal
# in the Software without restriction, including without limitation the rights
# to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
# copies of the Software, and to permit persons to whom the Software is
# furnished to do so, subject to the following conditions:
#
# The above copyright notice and this permission notice shall be included in all
# copies or substantial portions of the Software.
#
# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
# AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
# OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
# SOFTWARE.
#
################################################################################
# Generic Settings
################################################################################
SG_PROJECT_NAME := The SenseGlove Unreal Engine Handbook
SG_PROJECT_GIT_REPOSITORY := https://dev.azure.com/SenseGlove/SenseGlove-Unreal/_git/SenseGlove-Unreal
SG_HANDBOOK_ESCAPED_NAME := $(shell echo $(SG_PROJECT_NAME) | tr '[:upper:]' '[:lower:]' | sed 's/ /-/g')
SG_HANDBOOK_DIR := $(CURDIR)
SG_HANDBOOK_SRC_DIR := $(SG_HANDBOOK_DIR)/src
SG_HANDBOOK_TOML_FILE := $(realpath $(SG_HANDBOOK_DIR)/book.toml)
SG_HANDBOOK_CONFIG_HOME_DIR := SenseGlove/ue-handbook
SG_HANDBOOK_DEPLOY_CONFIG_FILENAME := deploy.conf
SG_HANDBOOK_DEPLOY_TEMP_DIR_NAME := unreal-docs-senseglove-com-deploy-XXXXXXXXXX
SG_HANDBOOK_FAVICON_FILE := $(SG_HANDBOOK_SRC_DIR)/favicon.svg
SG_DOT_GIT_DIR := $(realpath $(SG_HANDBOOK_DIR)/../.git)
SG_DOT_GIT_SHALLOW_FILE := $(SG_DOT_GIT_DIR)/shallow
SG_PLUGIN_DIR := $(realpath $(SG_HANDBOOK_DIR)/..)
SG_PLUGIN_RESOURCES_DIR := $(SG_PLUGIN_DIR)/Resources
SG_PLUGIN_FILE := $(SG_PLUGIN_DIR)/SenseGlove.uplugin
SG_DOCUMENTATION_URL := https://unreal.docs.senseglove.com
SG_DOCUMENTATION_DIR := $(SG_PLUGIN_DIR)/Documentation
SG_DOCUMENTATION_HTML_DIR_NAME := html
SG_DOCUMENTATION_HTML_DIR := $(SG_DOCUMENTATION_DIR)/$(SG_DOCUMENTATION_HTML_DIR_NAME)
SG_DOCUMENTATION_PDF_DIR := $(SG_DOCUMENTATION_DIR)/pdf-outline
SG_DOCUMENTATION_PDF_FILE := $(SG_DOCUMENTATION_PDF_DIR)/output.pdf
SG_DOCUMENTATION_EPUB_DIR := $(SG_DOCUMENTATION_DIR)/epub
SG_DOCUMENTATION_EPUB_FILE := $(SG_DOCUMENTATION_EPUB_DIR)/$(SG_PROJECT_NAME).epub
SG_DOCUMENTATION_PACK_DIR_NAME := pack
SG_DOCUMENTATION_PACK_DIR := $(SG_DOCUMENTATION_DIR)/$(SG_DOCUMENTATION_PACK_DIR_NAME)
SG_HANDBOOK_PACKED_HTML_DIR := $(SG_DOCUMENTATION_PACK_DIR)/$(SG_HANDBOOK_ESCAPED_NAME)
SG_HANDBOOK_PACKED_HTML_FILE := $(SG_DOCUMENTATION_PACK_DIR)/$(SG_HANDBOOK_ESCAPED_NAME).zip
SG_HANDBOOK_PACKED_PDF_FILE := $(SG_DOCUMENTATION_PACK_DIR)/$(SG_HANDBOOK_ESCAPED_NAME).pdf
SG_HANDBOOK_PACKED_EPUB_FILE := $(SG_DOCUMENTATION_PACK_DIR)/$(SG_HANDBOOK_ESCAPED_NAME).epub
SG_BROWSER_BINARY_PATH_LINUX := /opt/brave.com/brave/brave
SG_BROWSER_BINARY_PATH_WINDOWS := C:\Program Files\BraveSoftware\Brave-Browser\Application\brave.exe
SG_RSYNC_BIN_PATH_WINDOWS := C:\Program Files\cwrsync\bin
SG_RSYNC_BINARY_PATH_WINDOWS := $(SG_RSYNC_BIN_PATH_WINDOWS)\rsync.exe
SG_RSYNC_SSH_BINARY_PATH_WINDOWS := $(SG_RSYNC_BIN_PATH_WINDOWS)\ssh.exe
################################################################################
# Platform Detection
################################################################################
SG_BUILD_ARCH_AMD64 := amd64
SG_BUILD_PLATFORM_LINUX := linux
SG_BUILD_PLATFORM_WINDOWS := windows
ifeq ($(OS),Windows_NT)
SG_BUILD_PLATFORM := $(SG_BUILD_PLATFORM_WINDOWS)
# Running a 32-bit (x86) Command Prompt sets PROCESSOR_ARCHITECTURE to x86,
# and instead defines PROCESSOR_ARCHITEW6432 for 64-bit Windows detection.
ifeq ($(PROCESSOR_ARCHITEW6432),AMD64)
SG_BUILD_ARCH := $(SG_BUILD_ARCH_AMD64)
else # ($(PROCESSOR_ARCHITEW6432),AMD64)
ifeq ($(PROCESSOR_ARCHITECTURE),AMD64)
SG_BUILD_ARCH := $(SG_BUILD_ARCH_AMD64)
endif # ($(PROCESSOR_ARCHITECTURE),AMD64)
endif # ($(PROCESSOR_ARCHITEW6432),AMD64)
else # ($(OS),Windows_NT)
SG_PLATFORM_UNAME := $(shell uname -s)
ifeq ($(SG_PLATFORM_UNAME),Linux)
SG_BUILD_PLATFORM := $(SG_BUILD_PLATFORM_LINUX)
SG_PLATFORM_UNAME_ARCH := $(shell uname -m)
endif # ($(SG_PLATFORM_UNAME),Linux)
ifeq ($(SG_PLATFORM_UNAME_ARCH),x86_64)
SG_BUILD_ARCH := $(SG_BUILD_ARCH_AMD64)
endif # ($(SG_PLATFORM_UNAME_ARCH),x86_64)
endif # ($(OS),Windows_NT)
################################################################################
# Target Settings - mdbook
################################################################################
SG_MDBOOK_HOST := "localhost"
SG_MDBOOK_PORT := "8000"
SG_MDBOOK_SRC_DIR := "${SG_HANDBOOK_DIR}/src"
SG_MDBOOK_DEST_DIR := "${SG_DOCUMENTATION_DIR}"
SG_MDBOOK_WATCHER := "poll"
SG_PLUGIN_CHANGELOG_FILE := $(SG_PLUGIN_DIR)/CHANGELOG.md
SG_PLUGIN_DIRECTORY_STRUCTURE_FILE := $(SG_PLUGIN_DIR)/DIRECTORY_STRUCTURE.md
SG_PLUGIN_LICENSE_FILE := $(SG_PLUGIN_DIR)/LICENSE.md
SG_PLUGIN_LICENSE_THIRD_PARTY_FILE := $(SG_PLUGIN_DIR)/LICENSE_THIRD_PARTY.md
SG_PLUGIN_PLANNED_FEATURES_COMPLETION_STATUS_FILE := $(SG_PLUGIN_DIR)/PLANNED_FEATURES_COMPLETION_STATUS.md
SG_PLUGIN_PLATFORM_SUPPORT_MATRIX_FILE := $(SG_PLUGIN_DIR)/PLATFORM_SUPPORT_MATRIX.md
################################################################################
# Rust/Cargo Settings
################################################################################
RUST_TOOLCHAIN_VERSION := 1.96.1
################################################################################
# Version and Build Information
################################################################################
SG_GIT_TREE_STATE_CLEAN := clean
SG_GIT_TREE_STATE_DIRTY := dirty
SG_GIT_NO := no
SG_GIT_YES := yes
SG_RELEASE_BRANCH_PATTERN := ^[0-9]+\.[0-9]+$$
SG_GIT_BRANCH := $(shell git rev-parse --abbrev-ref HEAD 2>/dev/null)
SG_GIT_TAG := $(shell git describe --tags --abbrev=0 2>/dev/null)
SG_GIT_COMMIT := $(shell git rev-parse --short HEAD 2>/dev/null)
SG_GIT_COMMIT_NUMS_SINCE_TAG := $(shell git rev-list --count HEAD ^`git describe --tags --abbrev=0 2>/dev/null` 2>/dev/null)
SG_GIT_TREE_STATE := $(shell test -n "`git status --porcelain 2>/dev/null`" && echo "$(SG_GIT_TREE_STATE_DIRTY)" || echo "$(SG_GIT_TREE_STATE_CLEAN)")
SG_GIT_IS_SHALLOW_CLONE := $(shell [ -d $(SG_DOT_GIT_DIR) ] && [ -f $(SG_DOT_GIT_SHALLOW_FILE) ] && echo "$(SG_GIT_YES)" || echo "$(SG_GIT_NO)")
SG_GIT_LATEST_REMOTE_TAG := $(shell git -c versionsort.suffix=- ls-remote --exit-code --refs --sort=version:refname --tags $(SG_PROJECT_GIT_REPOSITORY) '*.*.*' | tail -n 1 | sed 's/.*refs\/tags\///' 2>/dev/null)
SG_PLUGIN_VERSION := $(shell grep -o '"VersionName": "[^"]*"' ${SG_PLUGIN_FILE} | awk -F'"' '{print "v" $$4}')
ifeq ($(strip $(SG_GIT_COMMIT_NUMS_SINCE_TAG)),)
SG_GIT_COMMIT_NUMS_SINCE_TAG := 0
endif # ($(strip $(SG_GIT_COMMIT_NUMS_SINCE_TAG)),)
ifneq ($(strip $(SG_GIT_TAG)),)
SG_GIT_VERSION := $(SG_GIT_TAG)
endif # ($(strip $(SG_GIT_TAG)),)
ifeq ($(strip $(SG_GIT_VERSION)),)
ifeq ($(strip $(SG_GIT_IS_SHALLOW_CLONE)),$(SG_GIT_YES))
ifneq ($(strip $(SG_GIT_LATEST_REMOTE_TAG)),)
SG_GIT_VERSION := $(SG_GIT_LATEST_REMOTE_TAG)
endif # ($(strip $(SG_GIT_LATEST_REMOTE_TAG)),)
endif # ($(strip $(SG_GIT_IS_SHALLOW_CLONE)),$(SG_GIT_YES))
endif # ($(strip $(SG_GIT_VERSION)),)
SG_GIT_VERSION_MAJOR := $(shell echo $(SG_GIT_VERSION) | cut -d '.' -f 1 | tr -d -c 0-9)
ifeq ($(SG_GIT_VERSION_MAJOR),)
SG_GIT_VERSION_MAJOR := 0
endif # ($(SG_GIT_VERSION_MAJOR),)
SG_GIT_VERSION_MINOR := $(shell echo $(SG_GIT_VERSION) | cut -d '.' -f 2 | tr -d -c 0-9)
ifeq ($(SG_GIT_VERSION_MINOR),)
SG_GIT_VERSION_MINOR := 0
endif # ($(SG_GIT_VERSION_MINOR),)
SG_GIT_VERSION_PATCH := $(shell echo $(SG_GIT_VERSION) | cut -d '.' -f 3 | tr -d -c 0-9)
ifeq ($(SG_GIT_VERSION_PATCH),)
SG_GIT_VERSION_PATCH := 0
endif # ($(SG_GIT_VERSION_PATCH),)
SG_PLUGIN_VERSION_MAJOR := $(shell echo $(SG_PLUGIN_VERSION) | cut -d '.' -f 1 | tr -d -c 0-9)
ifeq ($(SG_PLUGIN_VERSION_MAJOR),)
SG_PLUGIN_VERSION_MAJOR := 0
endif
SG_PLUGIN_VERSION_MINOR := $(shell echo $(SG_PLUGIN_VERSION) | cut -d '.' -f 2 | tr -d -c 0-9)
ifeq ($(SG_PLUGIN_VERSION_MINOR),)
SG_PLUGIN_VERSION_MINOR := 0
endif # ($(SG_PLUGIN_VERSION_MINOR),)
SG_PLUGIN_VERSION_PATCH := $(shell echo $(SG_PLUGIN_VERSION) | cut -d '.' -f 3 | tr -d -c 0-9)
ifeq ($(SG_PLUGIN_VERSION_PATCH),)
SG_PLUGIN_VERSION_PATCH := 0
endif # ($(SG_PLUGIN_VERSION_PATCH),)
SG_BUILD_HOST := $(shell hostname)
SG_BUILD_TIME := $(shell date '+%a %b %d, %Y %H:%M %Z %z')
ifeq ($(strip $(SG_GIT_BRANCH)),dev)
ifeq ($(strip $(SG_GIT_TAG)),)
SG_HANDBOOK_REVISION := next
endif # ($(strip $(SG_GIT_TAG)),)
endif # ($(strip $(SG_GIT_BRANCH)),dev)
SG_IS_GIT_BRANCH_HEAD_OR_MASTER := $(or $(filter HEAD,$(strip $(SG_GIT_BRANCH))),$(filter master,$(strip $(SG_GIT_BRANCH))))
ifneq ($(SG_IS_GIT_BRANCH_HEAD_OR_MASTER),)
ifeq ($(strip $(SG_GIT_COMMIT_NUMS_SINCE_TAG)),0)
ifeq ($(strip $(SG_GIT_TREE_STATE)),$(SG_GIT_TREE_STATE_CLEAN))
ifeq ($(strip $(SG_GIT_VERSION)),$(strip $(SG_PLUGIN_VERSION)))
SG_HANDBOOK_REVISION := $(SG_PLUGIN_VERSION_MAJOR).$(SG_PLUGIN_VERSION_MINOR)
endif # ($(strip $(SG_GIT_VERSION)),$(strip $(SG_PLUGIN_VERSION)))
endif # ($(strip $(SG_GIT_TREE_STATE)),$(SG_GIT_TREE_STATE_CLEAN))
endif # ($(strip $(SG_GIT_COMMIT_NUMS_SINCE_TAG)),0)
endif # ($(SG_IS_GIT_BRANCH_HEAD_OR_MASTER),)
ifeq ($(strip $(SG_GIT_IS_SHALLOW_CLONE)),$(SG_GIT_YES))
SG_IS_GIT_BRANCH_RELEASE := $(shell echo $(SG_GIT_BRANCH) | grep -E '$(SG_RELEASE_BRANCH_PATTERN)' || echo "")
ifneq ($(SG_IS_GIT_BRANCH_RELEASE),)
ifeq ($(strip $(SG_GIT_VERSION)),$(strip $(SG_PLUGIN_VERSION)))
SG_HANDBOOK_REVISION := $(SG_PLUGIN_VERSION_MAJOR).$(SG_PLUGIN_VERSION_MINOR)
endif # ($(strip $(SG_GIT_VERSION)),$(strip $(SG_PLUGIN_VERSION)))
endif # ($(SG_IS_GIT_BRANCH_RELEASE),)
endif # ($(strip $(SG_GIT_IS_SHALLOW_CLONE)),$(SG_GIT_YES))
ifeq ($(strip $(SG_HANDBOOK_REVISION)),)
SG_HANDBOOK_REVISION := mismatched
endif # ($(strip $(SG_HANDBOOK_REVISION)),)
ifneq ($(strip $(SG_HANDBOOK_REVISION)),mismatched)
SG_MDBOOK_HTML_SITE_URL := $(SG_HANDBOOK_REVISION)
SG_HANDBOOK_REVISION_URL := $(SG_DOCUMENTATION_URL)/$(SG_HANDBOOK_REVISION)
SG_HANDBOOK_RELEASE_NAME := $(shell echo $(SG_PROJECT_NAME)-$(SG_HANDBOOK_REVISION) | tr '[:upper:]' '[:lower:]' | sed 's/ /-/g')
SG_HANDBOOK_PDF_URL := $(SG_HANDBOOK_REVISION_URL)/$(SG_HANDBOOK_RELEASE_NAME).pdf
SG_HANDBOOK_EPUB_URL := $(SG_HANDBOOK_REVISION_URL)/$(SG_HANDBOOK_RELEASE_NAME).epub
endif # ($(strip $(SG_HANDBOOK_REVISION)),mismatched)
################################################################################
# mdbook-pdf Configuration
################################################################################
ifneq ($(strip $(SG_HANDBOOK_REVISION)),mismatched)
SG_MDBOOK_HTML_SITE_URL := /$(SG_HANDBOOK_REVISION)/
endif # ($(strip $(SG_HANDBOOK_REVISION)),mismatched)
ifeq ($(SG_BUILD_PLATFORM),$(SG_BUILD_PLATFORM_LINUX))
SG_MDBOOK_PDF_BROWSER_BINARY_PATH := $(SG_BROWSER_BINARY_PATH_LINUX)
else ifeq ($(SG_BUILD_PLATFORM),$(SG_BUILD_PLATFORM_WINDOWS))
SG_MDBOOK_PDF_BROWSER_BINARY_PATH := $(SG_BROWSER_BINARY_PATH_WINDOWS)
else # ($(SG_BUILD_PLATFORM),$(SG_BUILD_PLATFORM_LINUX))
$(error The target operating system is not supported!)
endif # ($(SG_BUILD_PLATFORM),$(SG_BUILD_PLATFORM_LINUX))
ifeq ($(SG_BUILD_PLATFORM),$(SG_BUILD_PLATFORM_LINUX))
SG_LINUX_PYTHON_VENV_DIR := $(shell mktemp -d)/sg-ue-handbook-venv
SG_LINUX_PYTHON_VENV_BIN_DIR := $(SG_LINUX_PYTHON_VENV_DIR)/bin
export PATH := $(SG_LINUX_PYTHON_VENV_BIN_DIR):$(PATH)
export PWD := $(SG_LINUX_PYTHON_VENV_BIN_DIR)
export VIRTUAL_ENV := $(SG_LINUX_PYTHON_VENV_DIR)
else ifeq ($(SG_BUILD_PLATFORM),$(SG_BUILD_PLATFORM_WINDOWS))
SG_DIST_DIR := $(SG_HANDBOOK_DIR)/dist
SG_WINPYTHON_DIR := $(SG_DIST_DIR)/winpython
SG_WINPYTHON_BIN_DIR := $(SG_WINPYTHON_DIR)//python-3.12.4.amd64
SG_WINPYTHON_BIN_SCRIPTS_DIR := $(SG_WINPYTHON_BIN_DIR)/Scripts
SG_WINPYTHON_SCRIPTS_DIR := $(SG_WINPYTHON_DIR)/scripts
export PATH := $(SG_WINPYTHON_SCRIPTS_DIR);$(PATH)
export PATH := $(SG_WINPYTHON_BIN_SCRIPTS_DIR);$(PATH)
export PATH := $(SG_WINPYTHON_BIN_DIR);$(PATH)
export PATH := $(SG_RSYNC_BIN_PATH_WINDOWS);$(PATH)
else # ($(SG_BUILD_PLATFORM),$(SG_BUILD_PLATFORM_LINUX))
$(error The target operating system is not supported!)
endif # ($(SG_BUILD_PLATFORM),$(SG_BUILD_PLATFORM_LINUX))
################################################################################
# Deployment Configuration
################################################################################
ifeq ($(SG_BUILD_PLATFORM),$(SG_BUILD_PLATFORM_LINUX))
SG_HANDBOOK_DEPLOY_CONFIG_FILE := $(shell echo ~/.config/$(SG_HANDBOOK_CONFIG_HOME_DIR)/$(SG_HANDBOOK_DEPLOY_CONFIG_FILENAME))
else ifeq ($(SG_BUILD_PLATFORM),$(SG_BUILD_PLATFORM_WINDOWS))
SG_HANDBOOK_DEPLOY_CONFIG_FILE := $(shell cygpath -u $(LOCALAPPDATA)/$(SG_HANDBOOK_CONFIG_HOME_DIR)/$(SG_HANDBOOK_DEPLOY_CONFIG_FILENAME))
else # ($(SG_BUILD_PLATFORM),$(SG_BUILD_PLATFORM_LINUX))
$(error The target operating system is not supported!)
endif # ($(SG_BUILD_PLATFORM),$(SG_BUILD_PLATFORM_LINUX))
################################################################################
# Deployment Temporary Directory Setup
################################################################################
$(info Setting up a deployment temporary directory '$(SG_HANDBOOK_DEPLOY_TEMP_DIR_NAME)')
SG_HANDBOOK_DEPLOY_TEMP_DIR := $(shell mktemp -d -t $(SG_HANDBOOK_DEPLOY_TEMP_DIR_NAME))
$(info Temporary directory has been set up at '$(SG_HANDBOOK_DEPLOY_TEMP_DIR)')
SG_HANDBOOK_DEPLOY_GENERATED_PDF_FILE := $(SG_HANDBOOK_DEPLOY_TEMP_DIR)/$(SG_HANDBOOK_RELEASE_NAME).pdf
SG_HANDBOOK_DEPLOY_GENERATED_EPUB_FILE := $(SG_HANDBOOK_DEPLOY_TEMP_DIR)/$(SG_HANDBOOK_RELEASE_NAME).epub
SG_HANDBOOK_DEPLOY_REVISION_LIST_FILE := $(SG_HANDBOOK_DEPLOY_TEMP_DIR)/revisions.txt
SG_HANDBOOK_DEPLOY_GENERATED_HOME_INDEX_FILE := $(SG_HANDBOOK_DEPLOY_TEMP_DIR)/index.html
################################################################################
# Env Configuration Functions
################################################################################
define load_env
$(eval ENV_FILE := $(1))
@echo "Loading configuration file '$(ENV_FILE)'..."
$(eval include $(ENV_FILE))
$(eval export)
endef
################################################################################
# Make Targets - All
################################################################################
.PHONY: all
all: help
################################################################################
# Make Targets - Misc
################################################################################
.PHONY: help
help:
@echo ""
@echo "Available make targets:"
@echo ""
@echo " - make build"
@echo " - make clean"
@echo " - make deploy"
@echo " - make help"
@echo " - make info"
@echo " - make pack"
@echo " - make serve"
@echo ""
.PHONY: info
info:
@echo ""
@echo "$(SG_PROJECT_NAME) build information:"
@echo ""
@echo " - Handbook Revision : $(SG_HANDBOOK_REVISION)"
@echo " - Handbook Revision URL : $(SG_HANDBOOK_REVISION_URL)"
@echo " - Handbook PDF URL : $(SG_HANDBOOK_PDF_URL)"
@echo " - Handbook ePub URL : $(SG_HANDBOOK_EPUB_URL)"
@echo " - Git Branch : $(SG_GIT_BRANCH)"
@echo " - Git Tag : $(SG_GIT_TAG)"
@echo " - Git Commit : $(SG_GIT_COMMIT)"
@echo " - Git Commits Since Tag : $(SG_GIT_COMMIT_NUMS_SINCE_TAG)"
@echo " - Git Tree State : $(SG_GIT_TREE_STATE)"
@echo " - Git Is Shallow Clone : $(SG_GIT_IS_SHALLOW_CLONE)"
@echo " - Git Latest Remote Tag : $(SG_GIT_LATEST_REMOTE_TAG)"
@echo " - Git Version : $(SG_GIT_VERSION)"
@echo " - Git Version Major : $(SG_GIT_VERSION_MAJOR)"
@echo " - Git Version Minor : $(SG_GIT_VERSION_MINOR)"
@echo " - Git Version Patch : $(SG_GIT_VERSION_PATCH)"
@echo " - Plugin Version : $(SG_PLUGIN_VERSION)"
@echo " - Plugin Version Major : $(SG_PLUGIN_VERSION_MAJOR)"
@echo " - Plugin Version Minor : $(SG_PLUGIN_VERSION_MINOR)"
@echo " - Plugin Version Patch : $(SG_PLUGIN_VERSION_PATCH)"
@echo " - Build Host : $(SG_BUILD_HOST)"
@echo " - Build Time : $(SG_BUILD_TIME)"
@echo ""
.PHONY: clean
clean:
@echo "Cleaning up $(SG_PROJECT_NAME)..."
@rm -rf "$(SG_MDBOOK_DEST_DIR)"
@echo "$(SG_PROJECT_NAME) has been cleaned up successfully!"
.PHONY: install-build-deps
install-build-deps:
@echo "Installing build dependencies if they have not already been installed..."
@rustup install $(RUST_TOOLCHAIN_VERSION)
@rustup override set $(RUST_TOOLCHAIN_VERSION)
@cargo install mdbook --version "0.5.4" --locked
@cargo install xq --vers "^0.5" --locked
@cargo install mdbook-pdf --vers "0.1.13" --locked
ifeq ($(SG_BUILD_PLATFORM),$(SG_BUILD_PLATFORM_LINUX))
@echo "Installing mdbook-pdf-outline..."
@python -m venv $(VIRTUAL_ENV) \
&& . $(SG_LINUX_PYTHON_VENV_BIN_DIR)/activate \
&& pip install mdbook-pdf-outline 2>/dev/null
endif # ($(SG_BUILD_PLATFORM),$(SG_BUILD_PLATFORM_LINUX))
@cargo install mdbook-epub --vers "0.5.4" --locked
################################################################################
# Make Targets - mdBook
################################################################################
.PHONY: prepare
prepare:
@echo "Preparing the handbook $(SG_HANDBOOK_DIR)..."
prepare: prepare-src
prepare: prepare-dest
.PHONY: prepare-dest
prepare-dest:
@echo "Preparing the handbook target dir $(SG_MDBOOK_DEST_DIR)..."
.PHONY: prepare-src
prepare-src:
@echo "Preparing the handbook source dir $(SG_MDBOOK_SRC_DIR)..."
.PHONY: verify-handbook-revision
verify-handbook-revision:
ifeq ($(SG_HANDBOOK_REVISION), next)
@echo "Building an unstable handbook for the next release..."
else # ($(SG_HANDBOOK_REVISION), next)
ifeq ($(SG_HANDBOOK_REVISION), mismatched)
@echo ""
@echo "Failed to verify the handbook build due to some discrepancies. Please verify the following:"
@echo ""
@echo "If you're building a release handbook:"
@echo " - You are either on a release tag, e.g. v2.1.0, or on the master branch."
@echo " - No commit has been made since the targeted tag."
@echo " - The Git tree state is clean."
@echo " - The Git version and plugin version match each other."
@echo ""
@echo "If you're building an unstable handbook for the next release:"
@echo " - You're building from the dev branch."
@echo " - The Git version value evaluates to empty."
@echo ""
@echo "If you're packaging the handbook:"
@echo " - You're on a release branch."
@echo " - You're shallow cloning."
@echo " - The remorte Git repository contains releae tags."
@echo ""
@exit 1
else # ($(SG_HANDBOOK_REVISION), mismatched)
@echo "Building a release handbook: $(SG_HANDBOOK_REVISION)..."
endif # ($(SG_HANDBOOK_REVISION), mismatched)
endif # ($(SG_HANDBOOK_REVISION), next)
.PHONY: serve
serve: info
serve: install-build-deps
serve: prepare
serve: _mdbook_serve
.PHONY: build
build: info
build: install-build-deps
build: prepare
build: verify-handbook-revision
build: _mdbook_build
.PHONY: pack
pack: info
pack: install-build-deps
pack: prepare
pack: verify-handbook-revision
pack: _mdbook_build
pack: _pack
.PHONY: deploy
deploy: info
deploy: install-build-deps
deploy: clean
deploy: prepare
deploy: verify-handbook-revision
deploy: _mdbook_build
deploy: _deploy
.PHONY: _mdbook_serve
_mdbook_serve:
@echo "Serving $(SG_HANDBOOK_DIR)..."
@env SG_PROJECT_NAME='$(SG_PROJECT_NAME)' \
SG_HANDBOOK_REVISION='$(SG_HANDBOOK_REVISION)' \
SG_HANDBOOK_REVISION_URL='$(SG_HANDBOOK_REVISION_URL)' \
SG_HANDBOOK_PDF_URL='$(SG_HANDBOOK_PDF_URL)' \
SG_HANDBOOK_EPUB_URL='$(SG_HANDBOOK_EPUB_URL)' \
SG_GIT_BRANCH='$(SG_GIT_BRANCH)' \
SG_GIT_TAG='$(SG_GIT_TAG)' \
SG_GIT_COMMIT='$(SG_GIT_COMMIT)' \
SG_GIT_COMMIT_NUMS_SINCE_TAG='$(SG_GIT_COMMIT_NUMS_SINCE_TAG)' \
SG_GIT_TREE_STATE='$(SG_GIT_TREE_STATE)' \
SG_GIT_IS_SHALLOW_CLONE='$(SG_GIT_IS_SHALLOW_CLONE)' \
SG_GIT_LATEST_REMOTE_TAG='$(SG_GIT_LATEST_REMOTE_TAG)' \
SG_GIT_VERSION='$(SG_GIT_VERSION)' \
SG_GIT_VERSION_MAJOR='$(SG_GIT_VERSION_MAJOR)' \
SG_GIT_VERSION_MINOR='$(SG_GIT_VERSION_MINOR)' \
SG_GIT_VERSION_PATCH='$(SG_GIT_VERSION_PATCH)' \
SG_PLUGIN_VERSION='$(SG_PLUGIN_VERSION)' \
SG_PLUGIN_VERSION_MAJOR='$(SG_PLUGIN_VERSION_MAJOR)' \
SG_PLUGIN_VERSION_MINOR='$(SG_PLUGIN_VERSION_MINOR)' \
SG_PLUGIN_VERSION_PATCH='$(SG_PLUGIN_VERSION_PATCH)' \
SG_BUILD_HOST='$(SG_BUILD_HOST)' \
SG_BUILD_TIME='$(SG_BUILD_TIME)' \
MDBOOK_output__html__site_url='$(SG_MDBOOK_HTML_SITE_URL)' \
MDBOOK_output__pdf__browser_binary_path='$(SG_MDBOOK_PDF_BROWSER_BINARY_PATH)' \
mdbook serve \
-n $(SG_MDBOOK_HOST) \
-p $(SG_MDBOOK_PORT) \
--watcher $(SG_MDBOOK_WATCHER) \
--dest-dir $(SG_MDBOOK_DEST_DIR)
.PHONY: _mdbook_build
_mdbook_build:
@echo "Building $(SG_HANDBOOK_DIR)..."
@env SG_PROJECT_NAME='$(SG_PROJECT_NAME)' \
SG_HANDBOOK_REVISION='$(SG_HANDBOOK_REVISION)' \
SG_HANDBOOK_REVISION_URL='$(SG_HANDBOOK_REVISION_URL)' \
SG_HANDBOOK_PDF_URL='$(SG_HANDBOOK_PDF_URL)' \
SG_HANDBOOK_EPUB_URL='$(SG_HANDBOOK_EPUB_URL)' \
SG_GIT_BRANCH='$(SG_GIT_BRANCH)' \
SG_GIT_TAG='$(SG_GIT_TAG)' \
SG_GIT_COMMIT='$(SG_GIT_COMMIT)' \
SG_GIT_COMMIT_NUMS_SINCE_TAG='$(SG_GIT_COMMIT_NUMS_SINCE_TAG)' \
SG_GIT_TREE_STATE='$(SG_GIT_TREE_STATE)' \
SG_GIT_IS_SHALLOW_CLONE='$(SG_GIT_IS_SHALLOW_CLONE)' \
SG_GIT_LATEST_REMOTE_TAG='$(SG_GIT_LATEST_REMOTE_TAG)' \
SG_GIT_VERSION='$(SG_GIT_VERSION)' \
SG_GIT_VERSION_MAJOR='$(SG_GIT_VERSION_MAJOR)' \
SG_GIT_VERSION_MINOR='$(SG_GIT_VERSION_MINOR)' \
SG_GIT_VERSION_PATCH='$(SG_GIT_VERSION_PATCH)' \
SG_PLUGIN_VERSION='$(SG_PLUGIN_VERSION)' \
SG_PLUGIN_VERSION_MAJOR='$(SG_PLUGIN_VERSION_MAJOR)' \
SG_PLUGIN_VERSION_MINOR='$(SG_PLUGIN_VERSION_MINOR)' \
SG_PLUGIN_VERSION_PATCH='$(SG_PLUGIN_VERSION_PATCH)' \
SG_BUILD_HOST='$(SG_BUILD_HOST)' \
SG_BUILD_TIME='$(SG_BUILD_TIME)' \
MDBOOK_output__html__site_url='$(SG_MDBOOK_HTML_SITE_URL)' \
MDBOOK_output__pdf__browser_binary_path='$(SG_MDBOOK_PDF_BROWSER_BINARY_PATH)' \
mdbook build \
--dest-dir $(SG_MDBOOK_DEST_DIR)
.PHONY: _pack
_pack:
@echo "Packing '$(SG_HANDBOOK_DIR)'..."
@echo "Cleaning up the pack directory '$(SG_DOCUMENTATION_PACK_DIR)'..."
@rm -rf "$(SG_DOCUMENTATION_PACK_DIR)"
@echo "Creating the pack directory '$(SG_DOCUMENTATION_PACK_DIR)'..."
@mkdir -p "$(SG_DOCUMENTATION_PACK_DIR)"
@echo "Moving '$(SG_DOCUMENTATION_HTML_DIR)' to '$(SG_HANDBOOK_PACKED_HTML_DIR)'..."
ifeq ($(SG_BUILD_PLATFORM),$(SG_BUILD_PLATFORM_LINUX))
@mv "$(SG_DOCUMENTATION_HTML_DIR)" "$(SG_HANDBOOK_PACKED_HTML_DIR)"
else # ($(SG_BUILD_PLATFORM),$(SG_BUILD_PLATFORM_LINUX))
@powershell -Command "Move-Item '$(SG_DOCUMENTATION_HTML_DIR)' '$(SG_HANDBOOK_PACKED_HTML_DIR)'"
endif # ($(SG_BUILD_PLATFORM),$(SG_BUILD_PLATFORM_LINUX))
@echo "Compressing '$(SG_HANDBOOK_PACKED_HTML_DIR)' to '$(SG_HANDBOOK_PACKED_HTML_FILE)'..."
ifeq ($(SG_BUILD_PLATFORM),$(SG_BUILD_PLATFORM_LINUX))
@cd "$(SG_DOCUMENTATION_PACK_DIR)" \
&& zip $(SG_HANDBOOK_PACKED_HTML_FILE) -r $(SG_HANDBOOK_ESCAPED_NAME)
else # ($(SG_BUILD_PLATFORM),$(SG_BUILD_PLATFORM_LINUX))
@cd "$(SG_DOCUMENTATION_PACK_DIR)" \
&& powershell Compress-Archive $(SG_HANDBOOK_ESCAPED_NAME) $(SG_HANDBOOK_PACKED_HTML_FILE)
endif # ($(SG_BUILD_PLATFORM),$(SG_BUILD_PLATFORM_LINUX))
@echo "Moving '$(SG_DOCUMENTATION_PDF_FILE)' to '$(SG_HANDBOOK_PACKED_PDF_FILE)'..."
ifeq ($(SG_BUILD_PLATFORM),$(SG_BUILD_PLATFORM_LINUX))
@mv "$(SG_DOCUMENTATION_PDF_FILE)" "$(SG_HANDBOOK_PACKED_PDF_FILE)"
else # ($(SG_BUILD_PLATFORM),$(SG_BUILD_PLATFORM_LINUX))
@powershell -Command "Move-Item '$(SG_DOCUMENTATION_PDF_FILE)' '$(SG_HANDBOOK_PACKED_PDF_FILE)'"
endif # ($(SG_BUILD_PLATFORM),$(SG_BUILD_PLATFORM_LINUX))
@echo "Moving '$(SG_DOCUMENTATION_EPUB_FILE)' to '$(SG_HANDBOOK_PACKED_EPUB_FILE)'..."
ifeq ($(SG_BUILD_PLATFORM),$(SG_BUILD_PLATFORM_LINUX))
@mv "$(SG_DOCUMENTATION_EPUB_FILE)" "$(SG_HANDBOOK_PACKED_EPUB_FILE)"
else # ($(SG_BUILD_PLATFORM),$(SG_BUILD_PLATFORM_LINUX))
@powershell -Command "Move-Item '$(SG_DOCUMENTATION_EPUB_FILE)' '$(SG_HANDBOOK_PACKED_EPUB_FILE)'"
endif # ($(SG_BUILD_PLATFORM),$(SG_BUILD_PLATFORM_LINUX))
.PHONY: _deploy
_deploy:
@echo "Deploying '$(SG_HANDBOOK_DIR)'..."
@echo "Loading the Handbook deployment configuration file..."
@$(call load_env, $(SG_HANDBOOK_DEPLOY_CONFIG_FILE))
@echo "Deploying '$(SG_HANDBOOK_DIR)' to '$(SG_HANDBOOK_SSH_USER)@$(SG_HANDBOOK_SSH_HOST):$(SG_HANDBOOK_SSH_REMOTE_DIR)/$(SG_HANDBOOK_REVISION)'..."
ifeq ($(SG_BUILD_PLATFORM),$(SG_BUILD_PLATFORM_LINUX))
@rsync \
-avze "ssh -p $(SG_HANDBOOK_SSH_PORT)" \
--perms \
--chmod=u+rwx,g+rx,o+rx,g-w,o-wx \
--delete $(SG_DOCUMENTATION_HTML_DIR)/ \
$(SG_HANDBOOK_SSH_USER)@$(SG_HANDBOOK_SSH_HOST):$(SG_HANDBOOK_SSH_REMOTE_DIR)/$(SG_HANDBOOK_REVISION)
else # ($(SG_BUILD_PLATFORM),$(SG_BUILD_PLATFORM_LINUX))
@cd "$(SG_DOCUMENTATION_DIR)" \
&& "$(SG_RSYNC_BINARY_PATH_WINDOWS)" \
-avze "\"$(SG_RSYNC_SSH_BINARY_PATH_WINDOWS)\" -p $(SG_HANDBOOK_SSH_PORT)" \
--perms \
--chmod=u+rwx,g+rx,o+rx,g-w,o-wx \
--delete $(SG_DOCUMENTATION_HTML_DIR_NAME)/ \
$(SG_HANDBOOK_SSH_USER)@$(SG_HANDBOOK_SSH_HOST):$(SG_HANDBOOK_SSH_REMOTE_DIR)/$(SG_HANDBOOK_REVISION)
endif # ($(SG_BUILD_PLATFORM),$(SG_BUILD_PLATFORM_LINUX))
@echo "Copying '$(SG_DOCUMENTATION_PDF_FILE)' to '$(SG_HANDBOOK_DEPLOY_GENERATED_PDF_FILE)'..."
@cp -v "$(SG_DOCUMENTATION_PDF_FILE)" "$(SG_HANDBOOK_DEPLOY_GENERATED_PDF_FILE)"
@echo "Uploading '$(SG_HANDBOOK_DEPLOY_GENERATED_PDF_FILE)' to '$(SG_HANDBOOK_SSH_USER)@$(SG_HANDBOOK_SSH_HOST):$(SG_HANDBOOK_SSH_REMOTE_DIR)/$(SG_HANDBOOK_REVISION)'..."
@scp \
-P $(SG_HANDBOOK_SSH_PORT) \
"$(SG_HANDBOOK_DEPLOY_GENERATED_PDF_FILE)" \
$(SG_HANDBOOK_SSH_USER)@$(SG_HANDBOOK_SSH_HOST):$(SG_HANDBOOK_SSH_REMOTE_DIR)/$(SG_HANDBOOK_REVISION)
@echo "Copying '$(SG_DOCUMENTATION_EPUB_FILE)' to '$(SG_HANDBOOK_DEPLOY_GENERATED_EPUB_FILE)'..."
@cp -v "$(SG_DOCUMENTATION_EPUB_FILE)" "$(SG_HANDBOOK_DEPLOY_GENERATED_EPUB_FILE)"
@echo "Uploading '$(SG_HANDBOOK_DEPLOY_GENERATED_EPUB_FILE)' to '$(SG_HANDBOOK_SSH_USER)@$(SG_HANDBOOK_SSH_HOST):$(SG_HANDBOOK_SSH_REMOTE_DIR)/$(SG_HANDBOOK_REVISION)'..."
@scp \
-P $(SG_HANDBOOK_SSH_PORT) \
"$(SG_HANDBOOK_DEPLOY_GENERATED_EPUB_FILE)" \
$(SG_HANDBOOK_SSH_USER)@$(SG_HANDBOOK_SSH_HOST):$(SG_HANDBOOK_SSH_REMOTE_DIR)/$(SG_HANDBOOK_REVISION)
@echo "Retrieving the list of deployed handbook revisions from '$(SG_HANDBOOK_SSH_USER)@$(SG_HANDBOOK_SSH_HOST):$(SG_HANDBOOK_SSH_PORT)/$(SG_HANDBOOK_SSH_REMOTE_DIR)'..."
@ssh \
-p $(SG_HANDBOOK_SSH_PORT) $(SG_HANDBOOK_SSH_USER)@$(SG_HANDBOOK_SSH_HOST) \
"mkdir -p $(SG_HANDBOOK_SSH_REMOTE_DIR)"
@ssh \
-p $(SG_HANDBOOK_SSH_PORT) $(SG_HANDBOOK_SSH_USER)@$(SG_HANDBOOK_SSH_HOST) \
"find $(SG_HANDBOOK_SSH_REMOTE_DIR) -maxdepth 1 -type d ! -path $(SG_HANDBOOK_SSH_REMOTE_DIR) -exec basename {} \; | sort -r" \
> $(SG_HANDBOOK_DEPLOY_REVISION_LIST_FILE)
@{ \
grep -i 'next' $(SG_HANDBOOK_DEPLOY_REVISION_LIST_FILE); \
grep -vi 'next' $(SG_HANDBOOK_DEPLOY_REVISION_LIST_FILE) \
| sort -r; \
} > "$(SG_HANDBOOK_DEPLOY_REVISION_LIST_FILE).tmp"
@mv "$(SG_HANDBOOK_DEPLOY_REVISION_LIST_FILE).tmp" "$(SG_HANDBOOK_DEPLOY_REVISION_LIST_FILE)"
@echo "Revisions list saved to '$(SG_HANDBOOK_DEPLOY_REVISION_LIST_FILE)'!"
@echo "Current revisions:"
@sed 's/^/ - /' "$(SG_HANDBOOK_DEPLOY_REVISION_LIST_FILE)"
@echo "Generating '$(SG_HANDBOOK_DEPLOY_GENERATED_HOME_INDEX_FILE)'..."
@echo "<html>" > "$(SG_HANDBOOK_DEPLOY_GENERATED_HOME_INDEX_FILE)"
@echo "<head>" >> "$(SG_HANDBOOK_DEPLOY_GENERATED_HOME_INDEX_FILE)"
@echo "<title>Welcome to $(SG_PROJECT_NAME)</title>" >> "$(SG_HANDBOOK_DEPLOY_GENERATED_HOME_INDEX_FILE)"
@echo "<link rel='icon' href='favicon.svg'>" >> "$(SG_HANDBOOK_DEPLOY_GENERATED_HOME_INDEX_FILE)"
@echo "<link rel='shortcut icon' href='favicon.svg'>" >> "$(SG_HANDBOOK_DEPLOY_GENERATED_HOME_INDEX_FILE)"
@echo "<style>" >> "$(SG_HANDBOOK_DEPLOY_GENERATED_HOME_INDEX_FILE)"
@echo "body {" >> "$(SG_HANDBOOK_DEPLOY_GENERATED_HOME_INDEX_FILE)"
@echo "font-family: Arial, sans-serif;" >> "$(SG_HANDBOOK_DEPLOY_GENERATED_HOME_INDEX_FILE)"
@echo "background-color: #003070;" >> "$(SG_HANDBOOK_DEPLOY_GENERATED_HOME_INDEX_FILE)"
@echo "color: #fff;" >> "$(SG_HANDBOOK_DEPLOY_GENERATED_HOME_INDEX_FILE)"
@echo "margin: 0;" >> "$(SG_HANDBOOK_DEPLOY_GENERATED_HOME_INDEX_FILE)"
@echo "padding: 0;" >> "$(SG_HANDBOOK_DEPLOY_GENERATED_HOME_INDEX_FILE)"
@echo "}" >> "$(SG_HANDBOOK_DEPLOY_GENERATED_HOME_INDEX_FILE)"
@echo ".container {" >> "$(SG_HANDBOOK_DEPLOY_GENERATED_HOME_INDEX_FILE)"
@echo "padding: 2.0em;" >> "$(SG_HANDBOOK_DEPLOY_GENERATED_HOME_INDEX_FILE)"
@echo "}" >> "$(SG_HANDBOOK_DEPLOY_GENERATED_HOME_INDEX_FILE)"
@echo ".logo-container {" >> "$(SG_HANDBOOK_DEPLOY_GENERATED_HOME_INDEX_FILE)"
@echo "text-align: center;" >> "$(SG_HANDBOOK_DEPLOY_GENERATED_HOME_INDEX_FILE)"
@echo "}" >> "$(SG_HANDBOOK_DEPLOY_GENERATED_HOME_INDEX_FILE)"
@echo ".logo-container img {" >> "$(SG_HANDBOOK_DEPLOY_GENERATED_HOME_INDEX_FILE)"
@echo "max-width: 100%;" >> "$(SG_HANDBOOK_DEPLOY_GENERATED_HOME_INDEX_FILE)"
@echo "height: auto;" >> "$(SG_HANDBOOK_DEPLOY_GENERATED_HOME_INDEX_FILE)"
@echo "}" >> "$(SG_HANDBOOK_DEPLOY_GENERATED_HOME_INDEX_FILE)"
@echo ".title-container {" >> "$(SG_HANDBOOK_DEPLOY_GENERATED_HOME_INDEX_FILE)"
@echo "text-align: center;" >> "$(SG_HANDBOOK_DEPLOY_GENERATED_HOME_INDEX_FILE)"
@echo "}" >> "$(SG_HANDBOOK_DEPLOY_GENERATED_HOME_INDEX_FILE)"
@echo ".revisions-container {" >> "$(SG_HANDBOOK_DEPLOY_GENERATED_HOME_INDEX_FILE)"
@echo "display: table;" >> "$(SG_HANDBOOK_DEPLOY_GENERATED_HOME_INDEX_FILE)"
@echo "width: 300px;" >> "$(SG_HANDBOOK_DEPLOY_GENERATED_HOME_INDEX_FILE)"
@echo "margin: 0 auto;" >> "$(SG_HANDBOOK_DEPLOY_GENERATED_HOME_INDEX_FILE)"
@echo "padding: 20px;" >> "$(SG_HANDBOOK_DEPLOY_GENERATED_HOME_INDEX_FILE)"
@echo "}" >> "$(SG_HANDBOOK_DEPLOY_GENERATED_HOME_INDEX_FILE)"
@echo ".row {" >> "$(SG_HANDBOOK_DEPLOY_GENERATED_HOME_INDEX_FILE)"
@echo "display: table-row;" >> "$(SG_HANDBOOK_DEPLOY_GENERATED_HOME_INDEX_FILE)"
@echo "}" >> "$(SG_HANDBOOK_DEPLOY_GENERATED_HOME_INDEX_FILE)"
@echo ".cell {" >> "$(SG_HANDBOOK_DEPLOY_GENERATED_HOME_INDEX_FILE)"
@echo "display: table-cell;" >> "$(SG_HANDBOOK_DEPLOY_GENERATED_HOME_INDEX_FILE)"
@echo "background-color: #004890;" >> "$(SG_HANDBOOK_DEPLOY_GENERATED_HOME_INDEX_FILE)"
@echo "border-radius: 5px;" >> "$(SG_HANDBOOK_DEPLOY_GENERATED_HOME_INDEX_FILE)"
@echo "box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);" >> "$(SG_HANDBOOK_DEPLOY_GENERATED_HOME_INDEX_FILE)"
@echo "margin: 10px;" >> "$(SG_HANDBOOK_DEPLOY_GENERATED_HOME_INDEX_FILE)"
@echo "padding: 20px;" >> "$(SG_HANDBOOK_DEPLOY_GENERATED_HOME_INDEX_FILE)"
@echo "text-align: center;" >> "$(SG_HANDBOOK_DEPLOY_GENERATED_HOME_INDEX_FILE)"
@echo "transition: transform 0.2s;" >> "$(SG_HANDBOOK_DEPLOY_GENERATED_HOME_INDEX_FILE)"
@echo "}" >> "$(SG_HANDBOOK_DEPLOY_GENERATED_HOME_INDEX_FILE)"
@echo ".cell:hover {" >> "$(SG_HANDBOOK_DEPLOY_GENERATED_HOME_INDEX_FILE)"
@echo "transform: scale(1.05);" >> "$(SG_HANDBOOK_DEPLOY_GENERATED_HOME_INDEX_FILE)"
@echo "}" >> "$(SG_HANDBOOK_DEPLOY_GENERATED_HOME_INDEX_FILE)"
@echo ".cell a {" >> "$(SG_HANDBOOK_DEPLOY_GENERATED_HOME_INDEX_FILE)"
@echo "display: block;" >> "$(SG_HANDBOOK_DEPLOY_GENERATED_HOME_INDEX_FILE)"
@echo "height: 100%;" >> "$(SG_HANDBOOK_DEPLOY_GENERATED_HOME_INDEX_FILE)"
@echo "width: 100%;" >> "$(SG_HANDBOOK_DEPLOY_GENERATED_HOME_INDEX_FILE)"
@echo "text-decoration: none;" >> "$(SG_HANDBOOK_DEPLOY_GENERATED_HOME_INDEX_FILE)"
@echo "color: #fff;" >> "$(SG_HANDBOOK_DEPLOY_GENERATED_HOME_INDEX_FILE)"
@echo "font-weight: bold;" >> "$(SG_HANDBOOK_DEPLOY_GENERATED_HOME_INDEX_FILE)"
@echo "}" >> "$(SG_HANDBOOK_DEPLOY_GENERATED_HOME_INDEX_FILE)"
@echo "</style>" >> "$(SG_HANDBOOK_DEPLOY_GENERATED_HOME_INDEX_FILE)"
@echo "</head>" >> "$(SG_HANDBOOK_DEPLOY_GENERATED_HOME_INDEX_FILE)"
@echo "<body>" >> "$(SG_HANDBOOK_DEPLOY_GENERATED_HOME_INDEX_FILE)"
@echo "<div class='container'>" >> "$(SG_HANDBOOK_DEPLOY_GENERATED_HOME_INDEX_FILE)"
@echo "<div class='logo-container'>" >> $(SG_HANDBOOK_DEPLOY_GENERATED_HOME_INDEX_FILE)
@echo "<img src="favicon.svg" alt='SenseGlove' />" >> "$(SG_HANDBOOK_DEPLOY_GENERATED_HOME_INDEX_FILE)"
@echo "</div>" >> "$(SG_HANDBOOK_DEPLOY_GENERATED_HOME_INDEX_FILE)"
@echo "<div class='title-container'>" >> "$(SG_HANDBOOK_DEPLOY_GENERATED_HOME_INDEX_FILE)"
@echo "<h1>Welcome to the SenseGlove Unreal Engine Handbook</h1>" >> "$(SG_HANDBOOK_DEPLOY_GENERATED_HOME_INDEX_FILE)"
@echo "<h3>Please choose a revision to continue!</h3>" >> "$(SG_HANDBOOK_DEPLOY_GENERATED_HOME_INDEX_FILE)"
@echo "<h5>* Please note that the next revision is the documentation for the unstable next release of the plugin and subject to change!</h5>" >> "$(SG_HANDBOOK_DEPLOY_GENERATED_HOME_INDEX_FILE)"
@echo "</div>" >> "$(SG_HANDBOOK_DEPLOY_GENERATED_HOME_INDEX_FILE)"
@echo "<div class='revisions-container'>" >> "$(SG_HANDBOOK_DEPLOY_GENERATED_HOME_INDEX_FILE)"
@while read dir; \
do \
echo "<div class='row'><div class='cell'><a href=\"$$dir\">$$dir</a></div></div>"; \
done < $(SG_HANDBOOK_DEPLOY_REVISION_LIST_FILE) >> "$(SG_HANDBOOK_DEPLOY_GENERATED_HOME_INDEX_FILE)"
@echo "</div>" >> "$(SG_HANDBOOK_DEPLOY_GENERATED_HOME_INDEX_FILE)"
@echo "</div>" >> "$(SG_HANDBOOK_DEPLOY_GENERATED_HOME_INDEX_FILE)"
@echo "</body>" >> "$(SG_HANDBOOK_DEPLOY_GENERATED_HOME_INDEX_FILE)"
@echo "</html>" >> "$(SG_HANDBOOK_DEPLOY_GENERATED_HOME_INDEX_FILE)"
@echo "Uploading '$(SG_HANDBOOK_FAVICON_FILE)' to '$(SG_HANDBOOK_SSH_USER)@$(SG_HANDBOOK_SSH_HOST):$(SG_HANDBOOK_SSH_REMOTE_DIR)'"
@scp \
-P $(SG_HANDBOOK_SSH_PORT) \
"$(SG_HANDBOOK_FAVICON_FILE)" \
$(SG_HANDBOOK_SSH_USER)@$(SG_HANDBOOK_SSH_HOST):$(SG_HANDBOOK_SSH_REMOTE_DIR)
@echo "Uploading '$(SG_HANDBOOK_DEPLOY_GENERATED_HOME_INDEX_FILE)' to '$(SG_HANDBOOK_SSH_USER)@$(SG_HANDBOOK_SSH_HOST):$(SG_HANDBOOK_SSH_REMOTE_DIR)'"
@scp \
-P $(SG_HANDBOOK_SSH_PORT) \
"$(SG_HANDBOOK_DEPLOY_GENERATED_HOME_INDEX_FILE)" \
$(SG_HANDBOOK_SSH_USER)@$(SG_HANDBOOK_SSH_HOST):$(SG_HANDBOOK_SSH_REMOTE_DIR)
+91
View File
@@ -0,0 +1,91 @@
# The SenseGlove Unreal Engine Handbook
## Prerequisites
- Brave Browser (for PDF generation; in case you have Brave installed in a non-conventional path, or you'd like to use a different Chromium-based browser you need to adjust the path inside the GNUmakefile).
- cygpath (Windows only) provided by [Git for Windows](https://gitforwindows.org/).
- GNU Make.
- Git.
- PowerShell (Windows only) required only by the `pack` make target.
- Python3 along with venv and pip. For Windows, a version of [WinPython](https://winpython.github.io/) is already shipped with this repo, so it's not an external requirement.
- Rsync and OpenSSH ([cwRsync](https://itefix.net/cwrsync) provides these for Windows) required only by the `deploy` make target.
- The Rust Toolchain and the Cargo package manager.
- Other common Unix utilities such as `awk`, `cp`, `cut`, `date`, `find`, `grep`, `hostname`, `mkdir`, `mktemp`, `mv`, `scp`, `sed`, `ssh`, `sort`, `tr`, and `uname` provided by most distors. On Windows these are mostly provided by [Git for Windows](https://gitforwindows.org/).
- `zip` command (Linux only) required only by the `pack` make target.
### Microsoft Windows Prerequisites Installation Notes
- Download and install [Git for Windows](https://gitforwindows.org/).
- Download and install [the Rust Toolchain](https://rustup.rs/).
- Download [a without-guile binary build of GNU Make for Windows from ezwinports](https://sourceforge.net/projects/ezwinports/files/), e.g. <code>make-4.4.1-without-guile-w32-bin.zip</code>.
- <code>make-\*-without-guile-w32-bin.zip/*</code> contents should be extracted and copied to your <code>Git\\mingw64\\</code>, e.g. <code>C:\\Program Files\\Git\\mingw64\\</code>, merging the folders, WITHOUT overwriting/replacing any existing files.
- After Git Bash installation, the changes to environment variables require a reboot. In order for these changes to take effect reboot the system, then proceed to the build section.
- Download and install [cwRsync](https://itefix.net/cwrsync) which is only required for the `deploy` make target. In case you won't intend to use that, this could be skipped.
## How to preview, build, and deploy?
In order to generate the handbook, on either GNU/Linux and Microsoft Windows everything is done through running the <code>make</code> command. Simply entering the <code>make</code> or <code>make help</code> inside your desired terminal will show you all the available make targets:
```sh
$ make help
Available make targets:
- make build
- make clean
- make deploy
- make help
- make info
- make pack
- make serve
```
### make info
This target prints the build and version information.
### make clean
This target cleans up the output directory for the generated handbook, which is the <code>/Documentation</code> folder.
### make serve
This tatget could be used for viewing or live-previwing the handbook while editing simultaneously editing it. Simply run this tatget and leave your terminal open and inside your web browser of choice head to <code>http://localhost:8000/</code>. You can modify the handbook source code inside any text editor and upon saving your web browser will refresh in realtime once a change is detected.
### make build
This tatget builds the final handbook and outputs it to the <code>/Documentation</code> folder.
If you're building a release handbook, please make sure:
- You are either on a release tag, e.g. v2.1.0, or on the master branch.
- No commit has been made since the targeted tag.
- The Git tree state is clean.
- The Git version and plugin version match each other.
If you're building an unstable handbook for the next release, please make sure:
- You're building from the dev branch.
- The Git version value evaluates to empty.
### make deploy
This tatget is used to build and upload the final draft of the handbook. This tatget first runs the <code>clean</code> target and then the <code>build</code> target; and only then attempts to upload the content. Thus, any rule that applies to the <code>build</code> target, will apply to this target as well.
_Noete_: Building on Windows requires sourcing the deployment configuration file, otherwise the deployment will fail; e.g.:
```sh
$ source /c/Users/mamadou/AppData/Local/SenseGlove/ue-handbook/deploy.conf && make deploy
```
Also, on Windows you probably need to adjust the follwoing variables at the top of the `GNUmakefile`:
```make
SG_RSYNC_BIN_PATH_WINDOWS := C:\Program Files\cwrsync\bin
SG_RSYNC_BINARY_PATH_WINDOWS := $(SG_RSYNC_BIN_PATH_WINDOWS)\rsync.exe
SG_RSYNC_SSH_BINARY_PATH_WINDOWS := $(SG_RSYNC_BIN_PATH_WINDOWS)\ssh.exe
```
### make pack
This target is meant to be used by the `sgum-packager` utility located in the [Packager](../Packager) folder in order to deploy the documentation in various formats along with the plugin to [Fab](https://www.fab.com/).
+106
View File
@@ -0,0 +1,106 @@
#!/usr/bin/env sh
#
# author: Mamadou Babaei <mamadou@senseglove.com>
#
# (The MIT License)
#
# Copyright (c) 2020 - 2026 SenseGlove
#
# Permission is hereby granted, free of charge, to any person obtaining a copy
# of this software and associated documentation files (the "Software"), to deal
# in the Software without restriction, including without limitation the rights
# to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
# copies of the Software, and to permit persons to whom the Software is
# furnished to do so, subject to the following conditions:
#
# The above copyright notice and this permission notice shall be included in all
# copies or substantial portions of the Software.
#
# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
# AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
# OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
# SOFTWARE.
#
if [ "$1" = "supports" ]
then
exit 0
fi
readonly JSON_INPUT=$(cat)
readonly CONTEXT=$(printf '%s' "${JSON_INPUT}" | xq '.[0]')
readonly BOOK=$(printf '%s' "${JSON_INPUT}" | xq '.[1]')
escape_string() {
printf '%s' "$1" | sed -e 's/\\/\\\\/g' -e 's/"/\\"/g'
}
SG_PROJECT_NAME_ESCAPED=$(escape_string "${SG_PROJECT_NAME}")
SG_HANDBOOK_REVISION_ESCAPED=$(escape_string "${SG_HANDBOOK_REVISION}")
SG_HANDBOOK_REVISION_URL_ESCAPED=$(escape_string "${SG_HANDBOOK_REVISION_URL}")
SG_HANDBOOK_EPUB_URL_ESCAPED=$(escape_string "${SG_HANDBOOK_EPUB_URL}")
SG_HANDBOOK_PDF_URL_ESCAPED=$(escape_string "${SG_HANDBOOK_PDF_URL}")
SG_GIT_BRANCH_ESCAPED=$(escape_string "${SG_GIT_BRANCH}")
SG_GIT_TAG_ESCAPED=$(escape_string "${SG_GIT_TAG}")
SG_GIT_COMMIT_ESCAPED=$(escape_string "${SG_GIT_COMMIT}")
SG_GIT_COMMIT_NUMS_SINCE_TAG_ESCAPED=$(escape_string "${SG_GIT_COMMIT_NUMS_SINCE_TAG}")
SG_GIT_TREE_STATE_ESCAPED=$(escape_string "${SG_GIT_TREE_STATE}")
SG_GIT_IS_SHALLOW_CLONE_ESCAPED=$(escape_string "${SG_GIT_IS_SHALLOW_CLONE}")
SG_GIT_LATEST_REMOTE_TAG_ESCAPED=$(escape_string "${SG_GIT_LATEST_REMOTE_TAG}")
SG_GIT_VERSION_ESCAPED=$(escape_string "${SG_GIT_VERSION}")
SG_GIT_VERSION_MAJOR_ESCAPED=$(escape_string "${SG_GIT_VERSION_MAJOR}")
SG_GIT_VERSION_MINOR_ESCAPED=$(escape_string "${SG_GIT_VERSION_MINOR}")
SG_GIT_VERSION_PATCH_ESCAPED=$(escape_string "${SG_GIT_VERSION_PATCH}")
SG_PLUGIN_VERSION_ESCAPED=$(escape_string "${SG_PLUGIN_VERSION}")
SG_PLUGIN_VERSION_MAJOR_ESCAPED=$(escape_string "${SG_PLUGIN_VERSION_MAJOR}")
SG_PLUGIN_VERSION_MINOR_ESCAPED=$(escape_string "${SG_PLUGIN_VERSION_MINOR}")
SG_PLUGIN_VERSION_PATCH_ESCAPED=$(escape_string "${SG_PLUGIN_VERSION_PATCH}")
SG_BUILD_HOST_ESCAPED=$(escape_string "${SG_BUILD_HOST}")
SG_BUILD_TIME_ESCAPED=$(escape_string "${SG_BUILD_TIME}")
PARSED_BOOK=$(printf '%s' "${BOOK}" | xq "
.items[] |= (
if has(\"Chapter\") then
.Chapter.content |=
walk(if type == \"string\" then
. | gsub(\"{{ #sg-project-name }}\"; \"${SG_PROJECT_NAME_ESCAPED}\") |
gsub(\"{{ #sg-handbook-revision }}\"; \"${SG_HANDBOOK_REVISION_ESCAPED}\") |
gsub(\"{{ #sg-handbook-revision-url }}\"; \"${SG_HANDBOOK_REVISION_URL_ESCAPED}\") |
gsub(\"{{ #sg-handbook-epub-url }}\"; \"${SG_HANDBOOK_EPUB_URL_ESCAPED}\") |
gsub(\"{{ #sg-handbook-pdf-url }}\"; \"${SG_HANDBOOK_PDF_URL_ESCAPED}\") |
gsub(\"{{ #sg-git-branch }}\"; \"${SG_GIT_BRANCH_ESCAPED}\") |
gsub(\"{{ #sg-git-tag }}\"; \"${SG_GIT_TAG_ESCAPED}\") |
gsub(\"{{ #sg-git-commit }}\"; \"${SG_GIT_COMMIT_ESCAPED}\") |
gsub(\"{{ #sg-git-commit-nums-since-tag }}\"; \"${SG_GIT_COMMIT_NUMS_SINCE_TAG_ESCAPED}\") |
gsub(\"{{ #sg-git-tree-state }}\"; \"${SG_GIT_TREE_STATE_ESCAPED}\") |
gsub(\"{{ #sg-git-is-shallow-clone }}\"; \"${SG_GIT_IS_SHALLOW_CLONE_ESCAPED}\") |
gsub(\"{{ #sg-git-latest-remote-tag }}\"; \"${SG_GIT_LATEST_REMOTE_TAG_ESCAPED}\") |
gsub(\"{{ #sg-git-version }}\"; \"${SG_GIT_VERSION_ESCAPED}\") |
gsub(\"{{ #sg-git-version-major }}\"; \"${SG_GIT_VERSION_MAJOR_ESCAPED}\") |
gsub(\"{{ #sg-git-version-minor }}\"; \"${SG_GIT_VERSION_MINOR_ESCAPED}\") |
gsub(\"{{ #sg-git-version-patch }}\"; \"${SG_GIT_VERSION_PATCH_ESCAPED}\") |
gsub(\"{{ #sg-plugin-version }}\"; \"${SG_PLUGIN_VERSION_ESCAPED}\") |
gsub(\"{{ #sg-plugin-version-major }}\"; \"${SG_PLUGIN_VERSION_MAJOR_ESCAPED}\") |
gsub(\"{{ #sg-plugin-version-minor }}\"; \"${SG_PLUGIN_VERSION_MINOR_ESCAPED}\") |
gsub(\"{{ #sg-plugin-version-patch }}\"; \"${SG_PLUGIN_VERSION_PATCH_ESCAPED}\") |
gsub(\"{{ #sg-build-host }}\"; \"${SG_BUILD_HOST_ESCAPED}\") |
gsub(\"{{ #sg-build-time }}\"; \"${SG_BUILD_TIME_ESCAPED}\")
else
.
end)
else
.
end
)")
# For debugging purpose only!
#echo "CONTEXT: ${CONTEXT}" >&2
#echo "BOOK: ${BOOK}" >&2
#echo "PARSED_BOOK: ${PARSED_BOOK}" >&2
printf '%s' "${PARSED_BOOK}"
+111
View File
@@ -0,0 +1,111 @@
#
# author: Mamadou Babaei <mamadou@senseglove.com>
#
# (The MIT License)
#
# Copyright (c) 2020 - 2026 SenseGlove
#
# Permission is hereby granted, free of charge, to any person obtaining a copy
# of this software and associated documentation files (the "Software"), to deal
# in the Software without restriction, including without limitation the rights
# to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
# copies of the Software, and to permit persons to whom the Software is
# furnished to do so, subject to the following conditions:
#
# The above copyright notice and this permission notice shall be included in all
# copies or substantial portions of the Software.
#
# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
# AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
# OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
# SOFTWARE.
#
[book]
authors = ["Mamadou Babaei"]
description = "Welcome to the SenseGlove Unreal Engine documentation!"
language = "en"
src = "src"
text-direction = "ltr"
title = "The SenseGlove Unreal Engine Handbook"
[build]
build-dir = "book"
create-missing = false
extra-watch-dirs = ["assets"]
use-default-preprocessors = true
[preprocessor.index]
[preprocessor.links]
[preprocessor.senseglove]
after = [ "index", "links" ]
command = "sh ./bin/sg-preprocessor.sh"
[output.epub]
no-section-label = false
curly-quotes = true
epub-version = 3
footnote-backrefs = true
[output.html]
additional-css = ["styles/custom.css"]
additional-js = []
cname = "unreal.docs.senseglove.com"
default-theme = "navy"
git-repository-url = "https://dev.azure.com/SenseGlove/_git/SenseGlove-Unreal"
git-repository-icon = "fab-git"
input-404 = "404.md"
mathjax-support = false
no-section-label = false
preferred-dark-theme = "navy"
smart-punctuation = false
theme = ""
[output.html.fold]
enable = false
level = 0
[output.html.print]
enable = true
page-break = true
[output.html.search]
boost-hierarchy = 1
boost-paragraph = 1
boost-title = 2
copy-js = true
enable = true
expand = true
heading-split-level = 3
limit-results = 128
teaser-word-count = 64
use-boolean-and = true
[output.pdf]
trying-times = 1
timeout = 300
# https://chromedevtools.github.io/devtools-protocol/tot/Page/#method-printToPDF
landscape = false
display-header-footer = true
print-background = false
scale = 1.0
paper-width = 8
paper-height = 10
margin-top = 0.5
margin-bottom = 0.5
margin-left = 0.5
margin-right = 0.5
page-ranges = ""
ignore-invalid-page-ranges = false
header-template = "<h3 style='font-size:8px; margin-left: 48%' class='title'></h3>"
footer-template = "<p style='font-size:10px; margin-left: 48%'><span class='pageNumber'></span> / <span class='totalPages'></span></p>"
prefer-css-page-size = true
[output.pdf-outline]
optional = true
like-wkhtmltopdf = true
+6
View File
@@ -0,0 +1,6 @@
# Reset all rules from parent .gitignore files!
!*/
!**/*
# Recursively ignore all __pycache__ folders!
__pycache__/
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
BIN
View File
Binary file not shown.
BIN
View File
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
BIN
View File
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.

Some files were not shown because too many files have changed in this diff Show More