Skip to content

Commit 2eff102

Browse files
committed
Cleanup from review feedback
1 parent b803b1d commit 2eff102

File tree

1 file changed

+0
-4
lines changed
  • Packages/com.unity.inputsystem/InputSystem/Devices

1 file changed

+0
-4
lines changed

Packages/com.unity.inputsystem/InputSystem/Devices/Keyboard.cs

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -156,7 +156,6 @@ public unsafe struct KeyboardState : IInputStateTypeInfo
156156
[InputControl(name = "f8", displayName = "F8", layout = "Key", bit = (int)Key.F8)]
157157
[InputControl(name = "f9", displayName = "F9", layout = "Key", bit = (int)Key.F9)]
158158
[InputControl(name = "f10", displayName = "F10", layout = "Key", bit = (int)Key.F10)]
159-
160159
[InputControl(name = "f11", displayName = "F11", layout = "Key", bit = (int)Key.F11)]
161160
[InputControl(name = "f12", displayName = "F12", layout = "Key", bit = (int)Key.F12)]
162161
[InputControl(name = "OEM1", layout = "Key", bit = (int)Key.OEM1)]
@@ -180,10 +179,7 @@ public unsafe struct KeyboardState : IInputStateTypeInfo
180179
[InputControl(name = "mediaRewind", displayName = "MediaRewind", layout = "Key", bit = (int)Key.MediaRewind)]
181180
[InputControl(name = "mediaForward", displayName = "MediaForward", layout = "Key", bit = (int)Key.MediaForward)]
182181
[InputControl(name = "IMESelected", layout = "Button", bit = (int)KeyEx.RemappedIMESelected, synthetic = true)] // Use the last bit to hold IME selected state.
183-
// Disable deprecation warning to not generate warnings in user project about internal use of deprecated key
184-
#pragma warning disable 0618
185182
[InputControl(name = "IMESelectedObsoleteKey", layout = "Key", bit = (int)KeyEx.RemappedIMESelected, synthetic = true)]
186-
#pragma warning restore 0618
187183
public fixed byte keys[kSizeInBytes];
188184

189185
// will be the default in new editor [InputControl(name = "IMESelected", layout = "Button", bit = 0, sizeInBits = 1, synthetic = true)]

0 commit comments

Comments
 (0)