Commit Graph

45 Commits

Author SHA1 Message Date
Wojtek Figat
925b5abb78 Fix crash on Linux when using unmapped keyboard Keyboard
#1321
2023-08-17 21:47:02 +02:00
Withaust
8c0c6c0142 Expose some Input class delegates to scripting API 2023-06-08 01:24:38 +03:00
Wojtek Figat
9cdd1cbc45 Add Platform::GetMousePosition/WindowsPlatform::SetMousePosition for unified access to screen-space mouse position on all platforms
#1109
2023-05-28 15:30:16 +02:00
Wojtek Figat
b5117af4b8 Format code 2023-05-12 14:19:40 +02:00
Olly Rybak
b8ed115f63 More renames 2023-05-12 09:30:35 +10:00
Olly Rybak
4b4bf833a9 Rename Phase > State 2023-05-12 00:25:03 +10:00
Olly Rybak
d5237715a5 Removed unused field 2023-05-11 21:12:03 +10:00
Olly Rybak
395a72b7d4 Added comments / reformat 2023-05-11 21:10:40 +10:00
Olly Rybak
f80ded2057 Initial setup 2023-05-11 17:30:20 +10:00
Ruan Lucas
82e9923be3 change IsAnyKeyDown to IsAnyButtonDown and add Float2.Normalized 2023-01-26 08:54:15 -04:00
Ruan Lucas
d20bce9967 Add Vector2.Normalized 2023-01-19 20:52:20 -04:00
Ruan Lucas
8669a291fb Add methods IsAnyKeyDown on Mouse/Gamepad class 2023-01-19 15:21:50 -04:00
Wojciech Figat
9626e9bbb6 Update copyright year 2023-01-10 15:29:37 +01:00
5e5d88ed8e Fix input actions/axis lookups to not use StringView
The stored strings might point to temporary strings, causing garbage data
to be present in the dictionary at times.
2022-12-03 15:43:52 +02:00
Wojciech Figat
1f495205af Add GamepadDPadX/GamepadDPadY input axes for gamepad DPad 2022-07-25 10:32:48 +02:00
Wojtek Figat
1f1c3adaf1 Merge branch 'feature-clip-cursor' of https://github.com/ScottLongley/FlaxEngine into ScottLongley-feature-clip-cursor 2022-07-16 09:03:47 +02:00
Wojtek Figat
b49e5e9984 Format more engine code 2022-06-14 20:17:00 +02:00
Wojtek Figat
a881c90b2e Refactor engine to support double-precision vectors 2022-06-13 00:40:32 +02:00
Scott Longley
1fa06546f4 add CursorLockMode.Clipped 2022-02-18 22:44:16 +10:00
Wojciech Figat
8c2241c6dc Update copyright year 2022-01-14 13:31:12 +01:00
Wojtek Figat
317a9d63bc Post-merge cleanup and improvements for #655 2022-01-11 15:04:40 +01:00
Wojtek Figat
192af7ec14 Refactor native core objects to simplify usage for newcomers 2022-01-08 15:06:23 +01:00
Nejcraft
7198539b33 Update Input.cpp 2021-11-05 00:47:51 +01:00
Nejcraft
e3505a40db Fix GamepadAxis
really not sure how could this have gone unnoticed XD
2021-11-05 00:45:28 +01:00
Wojtek Figat
be1598b1c6 Fix parting Input Settings if they have invalid data 2021-10-17 18:08:58 +02:00
Wojtek Figat
7fc144b07b Fix some memory leaks 2021-08-13 13:13:12 +02:00
Wojtek Figat
398fc4be37 Add Keyboard.IsAnyKeyDown 2021-06-02 09:47:37 +02:00
GoaLitiuM
d1fbe42443 Use verbatim strings in tooltip descriptions
Additionally escapes backslashes in the tooltip string. Only character
that needs to be manually escaped is the double quotation marks.
2021-05-26 22:08:55 +03:00
W2.Wizard
f35902ed85 Add missing '/' to XML docs 2021-04-29 17:23:18 +02:00
Vizepi
6e885ece34 [CLEAN] Added missing includes in headers 2021-04-23 13:59:02 +02:00
stefnotch
fb28cae2b4 Move ScreenToGameViewport from Engine to Screen
And make it accessible from the C# side
2021-03-15 20:18:53 +01:00
Wojtek Figat
dfb502621d Fix crash in InputQueue handling when window object is deleted 2021-03-05 13:58:15 +01:00
Wojtek Figat
d6b566a3fe Add support for accessing Game Settings and related assets in C# API in game build 2021-03-01 16:17:01 +01:00
Wojtek Figat
312e4ad010 Merge branch 'master' into 1.1
# Conflicts:
#	Source/Engine/Content/JsonAsset.h
#	Source/Engine/Core/Config/Settings.h
2021-02-15 10:40:59 +01:00
Wojtek Figat
b4bf488e3c Fix double-click mouse event not setting mouse button down
Fixes #235
2021-02-14 18:41:28 +01:00
Wojtek Figat
23652d1bc5 Merge remote-tracking branch 'origin/master' into 1.1
# Conflicts:
#	Source/Engine/Input/Input.cpp
2021-02-02 10:29:52 +01:00
Wojtek Figat
5d535fad6a Move Mouse and Keyboard impl from headers to Input.cpp 2021-02-01 23:53:32 +01:00
Jean-Baptiste Perrier
a5d6db6a18 Fix InputText & Typo. 2021-01-30 19:58:45 +01:00
Wojtek Figat
6cbeac6537 Merge remote-tracking branch 'origin/master' into 1.1
# Conflicts:
#	Source/Engine/Navigation/NavMesh.cpp
#	Source/Engine/Navigation/NavMeshBuilder.cpp
2021-01-22 11:31:22 +01:00
Wojtek Figat
be319c446d Refactor settings types to use scripting API 2021-01-05 14:14:34 +01:00
VNC
6ab300025b Fixed a ton of typos 2021-01-05 02:13:15 +01:00
Wojtek Figat
cc8e78b505 Merge remote-tracking branch 'origin/master' into navigation-features
# Conflicts:
#	Source/Editor/Content/Settings/NavigationSettings.cs
#	Source/Engine/Engine/PhysicalMaterial.cs
#	Source/Tools/Flax.Build/Bindings/BindingsGenerator.Api.cs
2021-01-04 14:31:56 +01:00
Jean-Baptiste Perrier
03eb39afe6 Bumping all copyright headers to 2021. 2021-01-02 14:28:49 +01:00
Wojtek Figat
cea1a67749 Refactor game settings to support using API bindings 2020-12-21 14:53:27 +01:00
Wojtek Figat
6fb9eee74c You're breathtaking! 2020-12-07 23:40:54 +01:00