Commit Graph

39 Commits

Author SHA1 Message Date
Wojtek Figat
a1745e25a1 Fix Input::AxisValueChanged event to properly handle value changes when using keyboard
#2393
2024-08-28 16:48:52 +02:00
Chandler Cox
aa3cf2e077 Add Gamepad buttons to Axis Config. 2024-08-21 13:34:33 -05:00
Wojtek Figat
859c420d76 Update year in copyright note 2024-02-26 19:00:48 +01:00
Chandler Cox
9694522b4e Change to use enum value. 2023-09-28 13:25:56 -05:00
Chandler Cox
d14dc56b5c Change name to AxisValueChanged. 2023-09-26 10:26:06 -05:00
Chandler Cox
9b48d1feb8 Update comments 2023-09-26 10:04:08 -05:00
Chandler Cox
071a73c6d9 Add AxisChanged event to InputAxis. 2023-09-26 10:03:34 -05:00
Chandler Cox
ea1da0481f Change input event to trigger different input states. 2023-09-26 08:35:10 -05:00
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
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
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
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
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
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
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
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
Wojtek Figat
be319c446d Refactor settings types to use scripting API 2021-01-05 14:14:34 +01:00
Jean-Baptiste Perrier
03eb39afe6 Bumping all copyright headers to 2021. 2021-01-02 14:28:49 +01:00
Wojtek Figat
6fb9eee74c You're breathtaking! 2020-12-07 23:40:54 +01:00