1
0
Fork 0
mirror of https://github.com/Ellpeck/MLEM.git synced 2024-11-16 02:53:11 +01:00
Commit graph

46 commits

Author SHA1 Message Date
Ell
58bd076e2a Set default values for InputHandler held and pressed keys to avoid an exception if buttons are held in the very first frame 2021-06-30 19:40:43 +02:00
Ell
dca013e551 fixed GetModifier being.. recursive 2021-06-21 01:03:24 +02:00
Ell
91730b1f27 improved GenericInput ToString 2021-06-21 00:57:56 +02:00
Ell
2f16bbdc44 the None input type should always be considered up 2021-06-21 00:51:21 +02:00
Ell
ce920b5219 added an element helper method to create a keybind button 2021-06-21 00:49:09 +02:00
Ell
a5a73af01c improved Keybind constructors 2021-06-20 23:48:02 +02:00
Ell
2118837062 added generic input equality checking 2021-06-20 23:17:39 +02:00
Ell
60c9236cbd added InputsDown and InputsPressed to InputHandler 2021-06-20 23:05:02 +02:00
Ell
664a2a9f11 added a way to access a keybind's combinations 2021-06-20 22:33:24 +02:00
Ell
cf9bcc7ae4 updated to MonoGame 8 and added support for opening the on-screen keyboard to TextInputWrapper 2021-04-22 19:26:07 +02:00
Ell
2055c3a6ef convert tests to use graphics 2021-04-02 17:12:27 +02:00
Ell
e7fd026a33 added some UI tests 2021-04-01 19:36:56 +02:00
Ell
014b8f90df added repeat-ignoring versions of IsKeyPressed and IsGamepadButtonPressed to InputHandler 2021-03-14 17:09:45 +01:00
Ell
eb3194a0c1 preserve position and scroll wheel value when the mouse is out of bounds 2021-02-19 02:47:32 +01:00
Ell
73eab1d41e only handle mouse input if the mouse is in the window 2021-02-19 02:31:38 +01:00
Ell
01b6168259 fixed the input handler querying input when the window is inactive 2021-02-18 18:36:29 +01:00
Ellpeck
deec553b22 code cleanup 2020-06-18 17:24:35 +02:00
Ellpeck
251261f3d7 added a more generic keybind and input handling system 2020-06-12 17:09:35 +02:00
Ellpeck
1347d0bb1e use HasFlag in InputHandler for better readability 2020-06-05 23:56:53 +02:00
Ellpeck
b237c0fcc4 added SetGesturesEnabled 2020-05-31 21:10:01 +02:00
Ellpeck
af7e22d2af added DisableGestures to InputHandler 2020-05-31 20:49:03 +02:00
Ellpeck
d3e8a9f811 allow multiple gestures to be queried simultaneously in GetGesture 2020-05-31 20:07:10 +02:00
Ellpeck
dc48c4caa1 finished xml docs for the MLEM core package 2020-05-21 17:21:34 +02:00
Ellpeck
efed3d9e12 some controls helper methods 2020-05-04 16:41:54 +02:00
Ellpeck
b3331834e1 I did not want to push this here
This reverts commit ee511137
2020-02-06 01:51:41 +01:00
Ellpeck
ee5111372b part 1 2020-02-06 01:33:24 +01:00
Ellpeck
0904368151 Revert "changed text input style to work on all devices including web"
This reverts commit 053724e4
2020-02-01 21:16:10 +01:00
Ellpeck
053724e4f8 changed text input style to work on all devices including web 2020-02-01 20:50:42 +01:00
Ellpeck
ff42233222 made input handler and ui system gamecomponents 2019-12-05 17:52:25 +01:00
Ellpeck
ff68816b05 make these readonly 2019-09-10 11:41:13 +02:00
Ellpeck
c1726e4f1b added gamepad repeat events 2019-09-09 20:56:10 +02:00
Ellpeck
3f0e0cf6d3 fixed the input handler not recognizing gamepads properly 2019-09-09 15:22:15 +02:00
Ellpeck
90d04b8c57 this goes here 2019-09-04 21:10:51 +02:00
Ellpeck
5d701592a5 this bugged me 2019-09-04 18:52:50 +02:00
Ellpeck
16fd2af560 added keyboard repeat events 2019-09-04 18:49:59 +02:00
Ellpeck
334dea8b39 make the mess I made a bit nicer :^) 2019-09-01 19:33:33 +02:00
Ellpeck
633c5b0097 added touch compatibility to the scroll bar, which makes touch input finished! 2019-08-31 19:32:22 +02:00
Ellpeck
3862f78c9b made text fields work on mobile too 2019-08-30 19:05:27 +02:00
Ellpeck
353afdef6f started working on touch support for MLEM.Ui 2019-08-30 18:15:50 +02:00
Ellpeck
e04f2fbdd2 added very basic touch support to the input handler 2019-08-29 18:12:02 +02:00
Ellpeck
0668d044b6 only check input for connected gamepads to increase performance 2019-08-29 10:26:18 +02:00
Ellpeck
78273d6401 allow querying all gamepad buttons at the same time 2019-08-28 22:44:59 +02:00
Ellpeck
35fccfcd83 added generic isdown, ispressed and isup methods to InputHandler 2019-08-28 19:36:24 +02:00
Ellpeck
5c741a98e9 tabbing, part 1! 2019-08-28 18:27:17 +02:00
Ellpeck
ef3726b077 added auto-scaled text, buttons and vertical space 2019-08-09 22:04:26 +02:00
Ellpeck
369b4bf672 added a simple input handler as well as some changes to the startup package 2019-08-07 22:25:33 +02:00