cosmonaut
4c731401ff
fix vertical axis on axis buttons being backwards
2023-06-28 18:19:34 -07:00
cosmonaut
071518732e
set axis button threshold default to 0.5
2023-06-28 17:17:57 -07:00
cosmonaut
56bab545ba
add MouseButton.Button lookup
2023-06-09 18:15:15 -07:00
cosmonaut
bd3e70b096
make KeyboardButton.KeyCode public
2023-06-09 16:17:41 -07:00
cosmonaut
e3c2f0e119
fix controller hot swapping
2023-04-05 16:52:36 -07:00
cosmonaut
472da0edd2
add Hidden property to Mouse
2023-03-01 13:47:25 -08:00
cosmonaut
515c2ebbca
fix controller double open
2023-02-23 16:59:19 -08:00
cosmonaut
86322e9373
log controller open errors
2023-02-21 16:00:16 -08:00
cosmonaut
ca61e94b13
optimize mouse update
2022-12-13 15:13:43 -08:00
cosmonaut
916962da6c
garbage collection optimizations
2022-12-13 00:34:16 -08:00
cosmonaut
bc41d2c079
add IsIdle and IsUp to Keyboard
2022-11-28 10:19:03 -08:00
cosmonaut
d5ddd44bd3
add IsIdle and IsUp to VirtualButton
2022-11-28 00:48:48 -08:00
cosmonaut
de9d13757a
distinguish between idle and released on buttons
2022-11-27 12:41:09 -08:00
cosmonaut
ca9fb45536
fix spacing
2022-11-18 10:34:32 -08:00
cosmonaut
faf81bceed
add support for mouse X1 and X2 buttons ( #36 )
...
Reviewed-on: #36
2022-11-18 18:33:15 +00:00
cosmonaut
fa992652b1
fix mouse button updating twice
2022-11-17 18:16:26 -08:00
cosmonaut
59190e619d
fix Mouse.Wheel calculation
2022-10-21 11:39:06 -07:00
cosmonaut
9c8ec7ad5a
ButtonState now has a public constructor
2022-08-03 10:13:20 -07:00
cosmonaut
efb9893aef
Theora video support + audio improvements ( #20 )
...
- `SoundInstance.Play` no longer takes a loop parameter
- `SoundInstance.Stop` is split into `Stop` and `StopImmediate` instead of taking an immediate parameter
- Added `StreamingSoundSeekable` to better support streaming audio that does not support seek
- `StreamingSound` no longer has a Loop property, but `StreamingSoundSeekable` does
- abstract `StreamingSound.AddBuffer` renamed to `FillBuffer`
- `FillBuffer` is now provided with a native buffer to avoid an extra data copy
- `StreamingSound` buffer implementation optimized to avoid repeated alloc/frees
- added `Video` class which can load and play Theora (.ogv) streaming video/audio
Reviewed-on: #20
2022-08-02 21:04:12 +00:00
cosmonaut
f6fc80804e
improve gamepad init and support hotplugging
2022-07-13 11:53:09 -07:00
cosmonaut
646e5e9283
empty virtual button
2022-07-12 17:57:37 -07:00
cosmonaut
ab619192a6
combine button states
2022-07-12 17:57:27 -07:00
cosmonaut
d07a722fb1
VirtualButton system
2022-07-12 16:09:23 -07:00
cosmonaut
d3e124cea1
reset AnyPressedButton at start of Update
2022-07-08 16:52:37 -07:00
cosmonaut
1cf3a13541
Inputs.AnyPressed implementation
2022-07-08 16:47:12 -07:00
cosmonaut
26e7e5c809
move mouse wheel reset to sensible location
2022-06-04 15:51:19 -07:00
cosmonaut
810f270a41
blittable button identifiers
2022-04-27 11:37:35 -07:00
cosmonaut
9f4b69e6aa
keyboard uses Button instead of ButtonState
2022-03-24 16:41:00 -07:00
cosmonaut
80c34c6b16
Collision API ( #17 )
2022-03-24 06:07:34 +00:00
cosmonaut
cc876b2132
GetGamepad no longer throws if slot is empty
2022-03-18 12:11:00 -07:00
cosmonaut
71d9f8f4fe
remove unnecessary setters and add doc comments
2022-03-18 11:58:10 -07:00
cosmonaut
5050a9369d
Input API rework
2022-03-18 11:46:44 -07:00
cosmonaut
8f9aaf6d61
ButtonState is now a struct
2022-03-07 10:54:52 -08:00
cosmonaut
8973b3e658
Formatting pass
2022-02-22 21:14:32 -08:00
cosmonaut
681e620477
add mouse wheel support
2021-03-26 12:20:05 -07:00
cosmonaut
984e30cc4c
add system for text input
2021-03-25 15:57:26 -07:00
cosmonaut
ccefe570db
add meta keys to keycodes
2021-03-23 17:38:53 -07:00
cosmonaut
7ecb27c98a
add vibration support + fix controller axes
2021-03-09 21:48:31 -08:00
cosmonaut
a3307c0066
input refactor
2021-01-22 14:41:34 -08:00
cosmonaut
e4f68ae1df
fix mouse button input
2021-01-22 12:48:56 -08:00
cosmonaut
f2487cd71b
add mouse input + move inputs to Input namespace
2021-01-22 00:20:07 -08:00
cosmonaut
408e438efc
fix invalid cast
2021-01-19 20:08:00 -08:00
cosmonaut
adc06fb4fc
gamepad constructor should be internal
2021-01-18 23:47:34 -08:00
cosmonaut
7d3932da9b
initial input handling
2021-01-18 23:29:07 -08:00