2 #pragma warning disable CS1591
4 using System.Runtime.InteropServices;
5 using System.Collections.Generic;
7 using System.Threading;
8 using System.ComponentModel;
13 /// <summary>Represents a single key event from a keyboard or similar device.</summary>
14 [Efl.Input.Key.NativeMethods]
15 [Efl.Eo.BindingEntity]
16 public class Key : Efl.Object, Efl.IDuplicate, Efl.Input.IEvent, Efl.Input.IState
18 /// <summary>Pointer to the native class description.</summary>
19 public override System.IntPtr NativeClass
23 if (((object)this).GetType() == typeof(Key))
25 return GetEflClassStatic();
29 return Efl.Eo.ClassRegister.klassFromType[((object)this).GetType()];
34 [System.Runtime.InteropServices.DllImport(efl.Libs.Evas)] internal static extern System.IntPtr
35 efl_input_key_class_get();
36 /// <summary>Initializes a new instance of the <see cref="Key"/> class.</summary>
37 /// <param name="parent">Parent instance.</param>
38 public Key(Efl.Object parent= null
39 ) : base(efl_input_key_class_get(), parent)
41 FinishInstantiation();
44 /// <summary>Subclasses should override this constructor if they are expected to be instantiated from native code.
45 /// Do not call this constructor directly.</summary>
46 /// <param name="ch">Tag struct storing the native handle of the object being constructed.</param>
47 protected Key(ConstructingHandle ch) : base(ch)
51 /// <summary>Initializes a new instance of the <see cref="Key"/> class.
52 /// Internal usage: Constructs an instance from a native pointer. This is used when interacting with C code and should not be used directly.</summary>
53 /// <param name="wh">The native pointer to be wrapped.</param>
54 protected Key(Efl.Eo.Globals.WrappingHandle wh) : base(wh)
58 /// <summary>Initializes a new instance of the <see cref="Key"/> class.
59 /// Internal usage: Constructor to forward the wrapper initialization to the root class that interfaces with native code. Should not be used directly.</summary>
60 /// <param name="baseKlass">The pointer to the base native Eo class.</param>
61 /// <param name="parent">The Efl.Object parent of this instance.</param>
62 protected Key(IntPtr baseKlass, Efl.Object parent) : base(baseKlass, parent)
66 /// <summary><c>true</c> if the key is down, <c>false</c> if it is released.</summary>
67 /// <returns><c>true</c> if the key is pressed, <c>false</c> otherwise.</returns>
68 virtual public bool GetPressed() {
69 var _ret_var = Efl.Input.Key.NativeMethods.efl_input_key_pressed_get_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)));
70 Eina.Error.RaiseIfUnhandledException();
73 /// <summary><c>true</c> if the key is down, <c>false</c> if it is released.</summary>
74 /// <param name="val"><c>true</c> if the key is pressed, <c>false</c> otherwise.</param>
75 virtual public void SetPressed(bool val) {
76 Efl.Input.Key.NativeMethods.efl_input_key_pressed_set_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)),val);
77 Eina.Error.RaiseIfUnhandledException();
79 /// <summary>Name string of the physical key that produced this event.
80 /// This typically matches what is printed on the key. For example, "1" or "a". Note that both "a" and "A" are obtained with the same physical key, so both events will have the same <see cref="Efl.Input.Key.KeyName"/> "a" but different <see cref="Efl.Input.Key.KeySym"/>.
82 /// Commonly used in keyboard remapping menus to uniquely identify a physical key.</summary>
83 /// <returns>Name of the key that produced this event.</returns>
84 virtual public System.String GetKeyName() {
85 var _ret_var = Efl.Input.Key.NativeMethods.efl_input_key_name_get_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)));
86 Eina.Error.RaiseIfUnhandledException();
89 /// <summary>Name string of the physical key that produced this event.
90 /// This typically matches what is printed on the key. For example, "1" or "a". Note that both "a" and "A" are obtained with the same physical key, so both events will have the same <see cref="Efl.Input.Key.KeyName"/> "a" but different <see cref="Efl.Input.Key.KeySym"/>.
92 /// Commonly used in keyboard remapping menus to uniquely identify a physical key.</summary>
93 /// <param name="val">Name of the key that produced this event.</param>
94 virtual public void SetKeyName(System.String val) {
95 Efl.Input.Key.NativeMethods.efl_input_key_name_set_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)),val);
96 Eina.Error.RaiseIfUnhandledException();
98 /// <summary>Name of the symbol produced by this key event.
99 /// For example, "a", "A", "1" or "exclam". The same physical key can produce different symbols when combined with other keys like "shift" or "alt gr". For example, "a" and "A" have different <see cref="Efl.Input.Key.KeySym"/> but the same <see cref="Efl.Input.Key.KeyName"/> "a".
101 /// This is the field you typically use to uniquely identify a keyboard symbol, in keyboard shortcuts for example.</summary>
102 /// <returns>Symbol name produced by key event.</returns>
103 virtual public System.String GetKeySym() {
104 var _ret_var = Efl.Input.Key.NativeMethods.efl_input_key_sym_get_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)));
105 Eina.Error.RaiseIfUnhandledException();
108 /// <summary>Name of the symbol produced by this key event.
109 /// For example, "a", "A", "1" or "exclam". The same physical key can produce different symbols when combined with other keys like "shift" or "alt gr". For example, "a" and "A" have different <see cref="Efl.Input.Key.KeySym"/> but the same <see cref="Efl.Input.Key.KeyName"/> "a".
111 /// This is the field you typically use to uniquely identify a keyboard symbol, in keyboard shortcuts for example.</summary>
112 /// <param name="val">Symbol name produced by key event.</param>
113 virtual public void SetKeySym(System.String val) {
114 Efl.Input.Key.NativeMethods.efl_input_key_sym_set_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)),val);
115 Eina.Error.RaiseIfUnhandledException();
117 /// <summary>A UTF8 string if this keystroke has produced a visible string to be added.</summary>
118 /// <returns>Visible string produced by this key event, in UTF8.</returns>
119 virtual public System.String GetString() {
120 var _ret_var = Efl.Input.Key.NativeMethods.efl_input_key_string_get_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)));
121 Eina.Error.RaiseIfUnhandledException();
124 /// <summary>A UTF8 string if this keystroke has produced a visible string to be added.</summary>
125 /// <param name="val">Visible string produced by this key event, in UTF8.</param>
126 virtual public void SetString(System.String val) {
127 Efl.Input.Key.NativeMethods.efl_input_key_string_set_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)),val);
128 Eina.Error.RaiseIfUnhandledException();
130 /// <summary>A UTF8 string if this keystroke has modified a string in the middle of being composed.
131 /// Note: This string replaces the previous one.</summary>
132 /// <returns>Composed string in UTF8.</returns>
133 virtual public System.String GetComposeString() {
134 var _ret_var = Efl.Input.Key.NativeMethods.efl_input_key_compose_string_get_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)));
135 Eina.Error.RaiseIfUnhandledException();
138 /// <summary>A UTF8 string if this keystroke has modified a string in the middle of being composed.
139 /// Note: This string replaces the previous one.</summary>
140 /// <param name="val">Composed string in UTF8.</param>
141 virtual public void SetComposeString(System.String val) {
142 Efl.Input.Key.NativeMethods.efl_input_key_compose_string_set_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)),val);
143 Eina.Error.RaiseIfUnhandledException();
145 /// <summary>Keyboard scan code of the physical key that produced this event.
146 /// You typically do not need to use this field, because the system maps scan codes to the more convenient <see cref="Efl.Input.Key.KeyName"/>. Us this in keyboard remapping applications or when trying to use a keyboard unknown to your operating system.</summary>
147 /// <returns>Keyboard scan code.</returns>
148 virtual public int GetKeyCode() {
149 var _ret_var = Efl.Input.Key.NativeMethods.efl_input_key_code_get_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)));
150 Eina.Error.RaiseIfUnhandledException();
153 /// <summary>Keyboard scan code of the physical key that produced this event.
154 /// You typically do not need to use this field, because the system maps scan codes to the more convenient <see cref="Efl.Input.Key.KeyName"/>. Us this in keyboard remapping applications or when trying to use a keyboard unknown to your operating system.</summary>
155 /// <param name="val">Keyboard scan code.</param>
156 virtual public void SetKeyCode(int val) {
157 Efl.Input.Key.NativeMethods.efl_input_key_code_set_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)),val);
158 Eina.Error.RaiseIfUnhandledException();
160 /// <summary>Creates a carbon copy of this object and returns it.
161 /// The newly created object will have no event handlers or anything of the sort.</summary>
162 /// <returns>Returned carbon copy</returns>
163 virtual public Efl.IDuplicate Duplicate() {
164 var _ret_var = Efl.IDuplicateConcrete.NativeMethods.efl_duplicate_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)));
165 Eina.Error.RaiseIfUnhandledException();
168 /// <summary>The time at which an event was generated.
169 /// If the event is generated by a server (eg. X.org or Wayland), then the time may be set by the server. Usually this time will be based on the monotonic clock, if available, but this class can not guarantee it.</summary>
170 /// <returns>Time in milliseconds when the event happened.</returns>
171 virtual public double GetTimestamp() {
172 var _ret_var = Efl.Input.IEventConcrete.NativeMethods.efl_input_timestamp_get_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)));
173 Eina.Error.RaiseIfUnhandledException();
176 /// <summary>Call this when generating events manually.</summary>
177 /// <param name="ms">Time in milliseconds when the event happened.</param>
178 virtual public void SetTimestamp(double ms) {
179 Efl.Input.IEventConcrete.NativeMethods.efl_input_timestamp_set_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)),ms);
180 Eina.Error.RaiseIfUnhandledException();
182 /// <summary>Input device that originated this event.</summary>
183 /// <returns>Input device origin</returns>
184 virtual public Efl.Input.Device GetDevice() {
185 var _ret_var = Efl.Input.IEventConcrete.NativeMethods.efl_input_device_get_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)));
186 Eina.Error.RaiseIfUnhandledException();
189 /// <summary>Input device that originated this event.</summary>
190 /// <param name="dev">Input device origin</param>
191 virtual public void SetDevice(Efl.Input.Device dev) {
192 Efl.Input.IEventConcrete.NativeMethods.efl_input_device_set_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)),dev);
193 Eina.Error.RaiseIfUnhandledException();
195 /// <summary>Extra flags for this event, may be changed by the user.</summary>
196 /// <returns>Input event flags</returns>
197 virtual public Efl.Input.Flags GetEventFlags() {
198 var _ret_var = Efl.Input.IEventConcrete.NativeMethods.efl_input_event_flags_get_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)));
199 Eina.Error.RaiseIfUnhandledException();
202 /// <summary>Extra flags for this event, may be changed by the user.</summary>
203 /// <param name="flags">Input event flags</param>
204 virtual public void SetEventFlags(Efl.Input.Flags flags) {
205 Efl.Input.IEventConcrete.NativeMethods.efl_input_event_flags_set_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)),flags);
206 Eina.Error.RaiseIfUnhandledException();
208 /// <summary><c>true</c> if <see cref="Efl.Input.IEvent.EventFlags"/> indicates the event is on hold.</summary>
209 /// <returns><c>true</c> if the event is on hold, <c>false</c> otherwise</returns>
210 virtual public bool GetProcessed() {
211 var _ret_var = Efl.Input.IEventConcrete.NativeMethods.efl_input_processed_get_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)));
212 Eina.Error.RaiseIfUnhandledException();
215 /// <summary><c>true</c> if <see cref="Efl.Input.IEvent.EventFlags"/> indicates the event is on hold.</summary>
216 /// <param name="val"><c>true</c> if the event is on hold, <c>false</c> otherwise</param>
217 virtual public void SetProcessed(bool val) {
218 Efl.Input.IEventConcrete.NativeMethods.efl_input_processed_set_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)),val);
219 Eina.Error.RaiseIfUnhandledException();
221 /// <summary><c>true</c> if <see cref="Efl.Input.IEvent.EventFlags"/> indicates the event happened while scrolling.</summary>
222 /// <returns><c>true</c> if the event happened while scrolling, <c>false</c> otherwise</returns>
223 virtual public bool GetScrolling() {
224 var _ret_var = Efl.Input.IEventConcrete.NativeMethods.efl_input_scrolling_get_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)));
225 Eina.Error.RaiseIfUnhandledException();
228 /// <summary><c>true</c> if <see cref="Efl.Input.IEvent.EventFlags"/> indicates the event happened while scrolling.</summary>
229 /// <param name="val"><c>true</c> if the event happened while scrolling, <c>false</c> otherwise</param>
230 virtual public void SetScrolling(bool val) {
231 Efl.Input.IEventConcrete.NativeMethods.efl_input_scrolling_set_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)),val);
232 Eina.Error.RaiseIfUnhandledException();
234 /// <summary><c>true</c> if the event was fake, not triggered by real hardware.</summary>
235 /// <returns><c>true</c> if the event was not from real hardware, <c>false</c> otherwise</returns>
236 virtual public bool GetFake() {
237 var _ret_var = Efl.Input.IEventConcrete.NativeMethods.efl_input_fake_get_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)));
238 Eina.Error.RaiseIfUnhandledException();
241 /// <summary>Resets the internal data to 0 or default values.</summary>
242 virtual public void Reset() {
243 Efl.Input.IEventConcrete.NativeMethods.efl_input_reset_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)));
244 Eina.Error.RaiseIfUnhandledException();
246 /// <summary>Indicates whether a key modifier is on, such as Ctrl, Shift, ...
249 /// <b>This is a BETA method</b>. It can be modified or removed in the future. Do not use it for product development.</summary>
250 /// <param name="mod">The modifier key to test.</param>
251 /// <param name="seat">The seat device, may be <c>null</c></param>
252 /// <returns><c>true</c> if the key modifier is pressed.</returns>
253 virtual public bool GetModifierEnabled(Efl.Input.Modifier mod, Efl.Input.Device seat) {
254 var _ret_var = Efl.Input.IStateConcrete.NativeMethods.efl_input_modifier_enabled_get_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)),mod, seat);
255 Eina.Error.RaiseIfUnhandledException();
258 /// <summary>Indicates whether a key lock is on, such as NumLock, CapsLock, ...
261 /// <b>This is a BETA method</b>. It can be modified or removed in the future. Do not use it for product development.</summary>
262 /// <param name="kw_lock">The lock key to test.</param>
263 /// <param name="seat">The seat device, may be <c>null</c></param>
264 /// <returns><c>true</c> if the key lock is on.</returns>
265 virtual public bool GetLockEnabled(Efl.Input.Lock kw_lock, Efl.Input.Device seat) {
266 var _ret_var = Efl.Input.IStateConcrete.NativeMethods.efl_input_lock_enabled_get_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)),kw_lock, seat);
267 Eina.Error.RaiseIfUnhandledException();
270 /// <summary><c>true</c> if the key is down, <c>false</c> if it is released.</summary>
271 /// <value><c>true</c> if the key is pressed, <c>false</c> otherwise.</value>
272 public bool Pressed {
273 get { return GetPressed(); }
274 set { SetPressed(value); }
276 /// <summary>Name string of the physical key that produced this event.
277 /// This typically matches what is printed on the key. For example, "1" or "a". Note that both "a" and "A" are obtained with the same physical key, so both events will have the same <see cref="Efl.Input.Key.KeyName"/> "a" but different <see cref="Efl.Input.Key.KeySym"/>.
279 /// Commonly used in keyboard remapping menus to uniquely identify a physical key.</summary>
280 /// <value>Name of the key that produced this event.</value>
281 public System.String KeyName {
282 get { return GetKeyName(); }
283 set { SetKeyName(value); }
285 /// <summary>Name of the symbol produced by this key event.
286 /// For example, "a", "A", "1" or "exclam". The same physical key can produce different symbols when combined with other keys like "shift" or "alt gr". For example, "a" and "A" have different <see cref="Efl.Input.Key.KeySym"/> but the same <see cref="Efl.Input.Key.KeyName"/> "a".
288 /// This is the field you typically use to uniquely identify a keyboard symbol, in keyboard shortcuts for example.</summary>
289 /// <value>Symbol name produced by key event.</value>
290 public System.String KeySym {
291 get { return GetKeySym(); }
292 set { SetKeySym(value); }
294 /// <summary>A UTF8 string if this keystroke has produced a visible string to be added.</summary>
295 /// <value>Visible string produced by this key event, in UTF8.</value>
296 public System.String String {
297 get { return GetString(); }
298 set { SetString(value); }
300 /// <summary>A UTF8 string if this keystroke has modified a string in the middle of being composed.
301 /// Note: This string replaces the previous one.</summary>
302 /// <value>Composed string in UTF8.</value>
303 public System.String ComposeString {
304 get { return GetComposeString(); }
305 set { SetComposeString(value); }
307 /// <summary>Keyboard scan code of the physical key that produced this event.
308 /// You typically do not need to use this field, because the system maps scan codes to the more convenient <see cref="Efl.Input.Key.KeyName"/>. Us this in keyboard remapping applications or when trying to use a keyboard unknown to your operating system.</summary>
309 /// <value>Keyboard scan code.</value>
311 get { return GetKeyCode(); }
312 set { SetKeyCode(value); }
314 /// <summary>The time at which an event was generated.
315 /// If the event is generated by a server (eg. X.org or Wayland), then the time may be set by the server. Usually this time will be based on the monotonic clock, if available, but this class can not guarantee it.</summary>
316 /// <value>Time in milliseconds when the event happened.</value>
317 public double Timestamp {
318 get { return GetTimestamp(); }
319 set { SetTimestamp(value); }
321 /// <summary>Input device that originated this event.</summary>
322 /// <value>Input device origin</value>
323 public Efl.Input.Device Device {
324 get { return GetDevice(); }
325 set { SetDevice(value); }
327 /// <summary>Extra flags for this event, may be changed by the user.</summary>
328 /// <value>Input event flags</value>
329 public Efl.Input.Flags EventFlags {
330 get { return GetEventFlags(); }
331 set { SetEventFlags(value); }
333 /// <summary><c>true</c> if <see cref="Efl.Input.IEvent.EventFlags"/> indicates the event is on hold.</summary>
334 /// <value><c>true</c> if the event is on hold, <c>false</c> otherwise</value>
335 public bool Processed {
336 get { return GetProcessed(); }
337 set { SetProcessed(value); }
339 /// <summary><c>true</c> if <see cref="Efl.Input.IEvent.EventFlags"/> indicates the event happened while scrolling.</summary>
340 /// <value><c>true</c> if the event happened while scrolling, <c>false</c> otherwise</value>
341 public bool Scrolling {
342 get { return GetScrolling(); }
343 set { SetScrolling(value); }
345 /// <summary><c>true</c> if the event was fake, not triggered by real hardware.</summary>
346 /// <value><c>true</c> if the event was not from real hardware, <c>false</c> otherwise</value>
348 get { return GetFake(); }
350 private static IntPtr GetEflClassStatic()
352 return Efl.Input.Key.efl_input_key_class_get();
354 /// <summary>Wrapper for native methods and virtual method delegates.
355 /// For internal use by generated code only.</summary>
356 public new class NativeMethods : Efl.Object.NativeMethods
358 private static Efl.Eo.NativeModule Module = new Efl.Eo.NativeModule( efl.Libs.Evas);
359 /// <summary>Gets the list of Eo operations to override.</summary>
360 /// <returns>The list of Eo operations to be overload.</returns>
361 public override System.Collections.Generic.List<Efl_Op_Description> GetEoOps(System.Type type)
363 var descs = new System.Collections.Generic.List<Efl_Op_Description>();
364 var methods = Efl.Eo.Globals.GetUserMethods(type);
366 if (efl_input_key_pressed_get_static_delegate == null)
368 efl_input_key_pressed_get_static_delegate = new efl_input_key_pressed_get_delegate(pressed_get);
371 if (methods.FirstOrDefault(m => m.Name == "GetPressed") != null)
373 descs.Add(new Efl_Op_Description() {api_func = Efl.Eo.FunctionInterop.LoadFunctionPointer(Module.Module, "efl_input_key_pressed_get"), func = Marshal.GetFunctionPointerForDelegate(efl_input_key_pressed_get_static_delegate) });
376 if (efl_input_key_pressed_set_static_delegate == null)
378 efl_input_key_pressed_set_static_delegate = new efl_input_key_pressed_set_delegate(pressed_set);
381 if (methods.FirstOrDefault(m => m.Name == "SetPressed") != null)
383 descs.Add(new Efl_Op_Description() {api_func = Efl.Eo.FunctionInterop.LoadFunctionPointer(Module.Module, "efl_input_key_pressed_set"), func = Marshal.GetFunctionPointerForDelegate(efl_input_key_pressed_set_static_delegate) });
386 if (efl_input_key_name_get_static_delegate == null)
388 efl_input_key_name_get_static_delegate = new efl_input_key_name_get_delegate(key_name_get);
391 if (methods.FirstOrDefault(m => m.Name == "GetKeyName") != null)
393 descs.Add(new Efl_Op_Description() {api_func = Efl.Eo.FunctionInterop.LoadFunctionPointer(Module.Module, "efl_input_key_name_get"), func = Marshal.GetFunctionPointerForDelegate(efl_input_key_name_get_static_delegate) });
396 if (efl_input_key_name_set_static_delegate == null)
398 efl_input_key_name_set_static_delegate = new efl_input_key_name_set_delegate(key_name_set);
401 if (methods.FirstOrDefault(m => m.Name == "SetKeyName") != null)
403 descs.Add(new Efl_Op_Description() {api_func = Efl.Eo.FunctionInterop.LoadFunctionPointer(Module.Module, "efl_input_key_name_set"), func = Marshal.GetFunctionPointerForDelegate(efl_input_key_name_set_static_delegate) });
406 if (efl_input_key_sym_get_static_delegate == null)
408 efl_input_key_sym_get_static_delegate = new efl_input_key_sym_get_delegate(key_sym_get);
411 if (methods.FirstOrDefault(m => m.Name == "GetKeySym") != null)
413 descs.Add(new Efl_Op_Description() {api_func = Efl.Eo.FunctionInterop.LoadFunctionPointer(Module.Module, "efl_input_key_sym_get"), func = Marshal.GetFunctionPointerForDelegate(efl_input_key_sym_get_static_delegate) });
416 if (efl_input_key_sym_set_static_delegate == null)
418 efl_input_key_sym_set_static_delegate = new efl_input_key_sym_set_delegate(key_sym_set);
421 if (methods.FirstOrDefault(m => m.Name == "SetKeySym") != null)
423 descs.Add(new Efl_Op_Description() {api_func = Efl.Eo.FunctionInterop.LoadFunctionPointer(Module.Module, "efl_input_key_sym_set"), func = Marshal.GetFunctionPointerForDelegate(efl_input_key_sym_set_static_delegate) });
426 if (efl_input_key_string_get_static_delegate == null)
428 efl_input_key_string_get_static_delegate = new efl_input_key_string_get_delegate(string_get);
431 if (methods.FirstOrDefault(m => m.Name == "GetString") != null)
433 descs.Add(new Efl_Op_Description() {api_func = Efl.Eo.FunctionInterop.LoadFunctionPointer(Module.Module, "efl_input_key_string_get"), func = Marshal.GetFunctionPointerForDelegate(efl_input_key_string_get_static_delegate) });
436 if (efl_input_key_string_set_static_delegate == null)
438 efl_input_key_string_set_static_delegate = new efl_input_key_string_set_delegate(string_set);
441 if (methods.FirstOrDefault(m => m.Name == "SetString") != null)
443 descs.Add(new Efl_Op_Description() {api_func = Efl.Eo.FunctionInterop.LoadFunctionPointer(Module.Module, "efl_input_key_string_set"), func = Marshal.GetFunctionPointerForDelegate(efl_input_key_string_set_static_delegate) });
446 if (efl_input_key_compose_string_get_static_delegate == null)
448 efl_input_key_compose_string_get_static_delegate = new efl_input_key_compose_string_get_delegate(compose_string_get);
451 if (methods.FirstOrDefault(m => m.Name == "GetComposeString") != null)
453 descs.Add(new Efl_Op_Description() {api_func = Efl.Eo.FunctionInterop.LoadFunctionPointer(Module.Module, "efl_input_key_compose_string_get"), func = Marshal.GetFunctionPointerForDelegate(efl_input_key_compose_string_get_static_delegate) });
456 if (efl_input_key_compose_string_set_static_delegate == null)
458 efl_input_key_compose_string_set_static_delegate = new efl_input_key_compose_string_set_delegate(compose_string_set);
461 if (methods.FirstOrDefault(m => m.Name == "SetComposeString") != null)
463 descs.Add(new Efl_Op_Description() {api_func = Efl.Eo.FunctionInterop.LoadFunctionPointer(Module.Module, "efl_input_key_compose_string_set"), func = Marshal.GetFunctionPointerForDelegate(efl_input_key_compose_string_set_static_delegate) });
466 if (efl_input_key_code_get_static_delegate == null)
468 efl_input_key_code_get_static_delegate = new efl_input_key_code_get_delegate(key_code_get);
471 if (methods.FirstOrDefault(m => m.Name == "GetKeyCode") != null)
473 descs.Add(new Efl_Op_Description() {api_func = Efl.Eo.FunctionInterop.LoadFunctionPointer(Module.Module, "efl_input_key_code_get"), func = Marshal.GetFunctionPointerForDelegate(efl_input_key_code_get_static_delegate) });
476 if (efl_input_key_code_set_static_delegate == null)
478 efl_input_key_code_set_static_delegate = new efl_input_key_code_set_delegate(key_code_set);
481 if (methods.FirstOrDefault(m => m.Name == "SetKeyCode") != null)
483 descs.Add(new Efl_Op_Description() {api_func = Efl.Eo.FunctionInterop.LoadFunctionPointer(Module.Module, "efl_input_key_code_set"), func = Marshal.GetFunctionPointerForDelegate(efl_input_key_code_set_static_delegate) });
486 if (efl_duplicate_static_delegate == null)
488 efl_duplicate_static_delegate = new efl_duplicate_delegate(duplicate);
491 if (methods.FirstOrDefault(m => m.Name == "Duplicate") != null)
493 descs.Add(new Efl_Op_Description() {api_func = Efl.Eo.FunctionInterop.LoadFunctionPointer(Module.Module, "efl_duplicate"), func = Marshal.GetFunctionPointerForDelegate(efl_duplicate_static_delegate) });
496 if (efl_input_timestamp_get_static_delegate == null)
498 efl_input_timestamp_get_static_delegate = new efl_input_timestamp_get_delegate(timestamp_get);
501 if (methods.FirstOrDefault(m => m.Name == "GetTimestamp") != null)
503 descs.Add(new Efl_Op_Description() {api_func = Efl.Eo.FunctionInterop.LoadFunctionPointer(Module.Module, "efl_input_timestamp_get"), func = Marshal.GetFunctionPointerForDelegate(efl_input_timestamp_get_static_delegate) });
506 if (efl_input_timestamp_set_static_delegate == null)
508 efl_input_timestamp_set_static_delegate = new efl_input_timestamp_set_delegate(timestamp_set);
511 if (methods.FirstOrDefault(m => m.Name == "SetTimestamp") != null)
513 descs.Add(new Efl_Op_Description() {api_func = Efl.Eo.FunctionInterop.LoadFunctionPointer(Module.Module, "efl_input_timestamp_set"), func = Marshal.GetFunctionPointerForDelegate(efl_input_timestamp_set_static_delegate) });
516 if (efl_input_device_get_static_delegate == null)
518 efl_input_device_get_static_delegate = new efl_input_device_get_delegate(device_get);
521 if (methods.FirstOrDefault(m => m.Name == "GetDevice") != null)
523 descs.Add(new Efl_Op_Description() {api_func = Efl.Eo.FunctionInterop.LoadFunctionPointer(Module.Module, "efl_input_device_get"), func = Marshal.GetFunctionPointerForDelegate(efl_input_device_get_static_delegate) });
526 if (efl_input_device_set_static_delegate == null)
528 efl_input_device_set_static_delegate = new efl_input_device_set_delegate(device_set);
531 if (methods.FirstOrDefault(m => m.Name == "SetDevice") != null)
533 descs.Add(new Efl_Op_Description() {api_func = Efl.Eo.FunctionInterop.LoadFunctionPointer(Module.Module, "efl_input_device_set"), func = Marshal.GetFunctionPointerForDelegate(efl_input_device_set_static_delegate) });
536 if (efl_input_event_flags_get_static_delegate == null)
538 efl_input_event_flags_get_static_delegate = new efl_input_event_flags_get_delegate(event_flags_get);
541 if (methods.FirstOrDefault(m => m.Name == "GetEventFlags") != null)
543 descs.Add(new Efl_Op_Description() {api_func = Efl.Eo.FunctionInterop.LoadFunctionPointer(Module.Module, "efl_input_event_flags_get"), func = Marshal.GetFunctionPointerForDelegate(efl_input_event_flags_get_static_delegate) });
546 if (efl_input_event_flags_set_static_delegate == null)
548 efl_input_event_flags_set_static_delegate = new efl_input_event_flags_set_delegate(event_flags_set);
551 if (methods.FirstOrDefault(m => m.Name == "SetEventFlags") != null)
553 descs.Add(new Efl_Op_Description() {api_func = Efl.Eo.FunctionInterop.LoadFunctionPointer(Module.Module, "efl_input_event_flags_set"), func = Marshal.GetFunctionPointerForDelegate(efl_input_event_flags_set_static_delegate) });
556 if (efl_input_processed_get_static_delegate == null)
558 efl_input_processed_get_static_delegate = new efl_input_processed_get_delegate(processed_get);
561 if (methods.FirstOrDefault(m => m.Name == "GetProcessed") != null)
563 descs.Add(new Efl_Op_Description() {api_func = Efl.Eo.FunctionInterop.LoadFunctionPointer(Module.Module, "efl_input_processed_get"), func = Marshal.GetFunctionPointerForDelegate(efl_input_processed_get_static_delegate) });
566 if (efl_input_processed_set_static_delegate == null)
568 efl_input_processed_set_static_delegate = new efl_input_processed_set_delegate(processed_set);
571 if (methods.FirstOrDefault(m => m.Name == "SetProcessed") != null)
573 descs.Add(new Efl_Op_Description() {api_func = Efl.Eo.FunctionInterop.LoadFunctionPointer(Module.Module, "efl_input_processed_set"), func = Marshal.GetFunctionPointerForDelegate(efl_input_processed_set_static_delegate) });
576 if (efl_input_scrolling_get_static_delegate == null)
578 efl_input_scrolling_get_static_delegate = new efl_input_scrolling_get_delegate(scrolling_get);
581 if (methods.FirstOrDefault(m => m.Name == "GetScrolling") != null)
583 descs.Add(new Efl_Op_Description() {api_func = Efl.Eo.FunctionInterop.LoadFunctionPointer(Module.Module, "efl_input_scrolling_get"), func = Marshal.GetFunctionPointerForDelegate(efl_input_scrolling_get_static_delegate) });
586 if (efl_input_scrolling_set_static_delegate == null)
588 efl_input_scrolling_set_static_delegate = new efl_input_scrolling_set_delegate(scrolling_set);
591 if (methods.FirstOrDefault(m => m.Name == "SetScrolling") != null)
593 descs.Add(new Efl_Op_Description() {api_func = Efl.Eo.FunctionInterop.LoadFunctionPointer(Module.Module, "efl_input_scrolling_set"), func = Marshal.GetFunctionPointerForDelegate(efl_input_scrolling_set_static_delegate) });
596 if (efl_input_fake_get_static_delegate == null)
598 efl_input_fake_get_static_delegate = new efl_input_fake_get_delegate(fake_get);
601 if (methods.FirstOrDefault(m => m.Name == "GetFake") != null)
603 descs.Add(new Efl_Op_Description() {api_func = Efl.Eo.FunctionInterop.LoadFunctionPointer(Module.Module, "efl_input_fake_get"), func = Marshal.GetFunctionPointerForDelegate(efl_input_fake_get_static_delegate) });
606 if (efl_input_reset_static_delegate == null)
608 efl_input_reset_static_delegate = new efl_input_reset_delegate(reset);
611 if (methods.FirstOrDefault(m => m.Name == "Reset") != null)
613 descs.Add(new Efl_Op_Description() {api_func = Efl.Eo.FunctionInterop.LoadFunctionPointer(Module.Module, "efl_input_reset"), func = Marshal.GetFunctionPointerForDelegate(efl_input_reset_static_delegate) });
616 if (efl_input_modifier_enabled_get_static_delegate == null)
618 efl_input_modifier_enabled_get_static_delegate = new efl_input_modifier_enabled_get_delegate(modifier_enabled_get);
621 if (methods.FirstOrDefault(m => m.Name == "GetModifierEnabled") != null)
623 descs.Add(new Efl_Op_Description() {api_func = Efl.Eo.FunctionInterop.LoadFunctionPointer(Module.Module, "efl_input_modifier_enabled_get"), func = Marshal.GetFunctionPointerForDelegate(efl_input_modifier_enabled_get_static_delegate) });
626 if (efl_input_lock_enabled_get_static_delegate == null)
628 efl_input_lock_enabled_get_static_delegate = new efl_input_lock_enabled_get_delegate(lock_enabled_get);
631 if (methods.FirstOrDefault(m => m.Name == "GetLockEnabled") != null)
633 descs.Add(new Efl_Op_Description() {api_func = Efl.Eo.FunctionInterop.LoadFunctionPointer(Module.Module, "efl_input_lock_enabled_get"), func = Marshal.GetFunctionPointerForDelegate(efl_input_lock_enabled_get_static_delegate) });
636 descs.AddRange(base.GetEoOps(type));
639 /// <summary>Returns the Eo class for the native methods of this class.</summary>
640 /// <returns>The native class pointer.</returns>
641 public override IntPtr GetEflClass()
643 return Efl.Input.Key.efl_input_key_class_get();
646 #pragma warning disable CA1707, CS1591, SA1300, SA1600
648 [return: MarshalAs(UnmanagedType.U1)]
649 private delegate bool efl_input_key_pressed_get_delegate(System.IntPtr obj, System.IntPtr pd);
651 [return: MarshalAs(UnmanagedType.U1)]
652 public delegate bool efl_input_key_pressed_get_api_delegate(System.IntPtr obj);
654 public static Efl.Eo.FunctionWrapper<efl_input_key_pressed_get_api_delegate> efl_input_key_pressed_get_ptr = new Efl.Eo.FunctionWrapper<efl_input_key_pressed_get_api_delegate>(Module, "efl_input_key_pressed_get");
656 private static bool pressed_get(System.IntPtr obj, System.IntPtr pd)
658 Eina.Log.Debug("function efl_input_key_pressed_get was called");
659 var ws = Efl.Eo.Globals.GetWrapperSupervisor(obj);
662 bool _ret_var = default(bool);
665 _ret_var = ((Key)ws.Target).GetPressed();
669 Eina.Log.Warning($"Callback error: {e.ToString()}");
670 Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION);
678 return efl_input_key_pressed_get_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)));
682 private static efl_input_key_pressed_get_delegate efl_input_key_pressed_get_static_delegate;
685 private delegate void efl_input_key_pressed_set_delegate(System.IntPtr obj, System.IntPtr pd, [MarshalAs(UnmanagedType.U1)] bool val);
688 public delegate void efl_input_key_pressed_set_api_delegate(System.IntPtr obj, [MarshalAs(UnmanagedType.U1)] bool val);
690 public static Efl.Eo.FunctionWrapper<efl_input_key_pressed_set_api_delegate> efl_input_key_pressed_set_ptr = new Efl.Eo.FunctionWrapper<efl_input_key_pressed_set_api_delegate>(Module, "efl_input_key_pressed_set");
692 private static void pressed_set(System.IntPtr obj, System.IntPtr pd, bool val)
694 Eina.Log.Debug("function efl_input_key_pressed_set was called");
695 var ws = Efl.Eo.Globals.GetWrapperSupervisor(obj);
701 ((Key)ws.Target).SetPressed(val);
705 Eina.Log.Warning($"Callback error: {e.ToString()}");
706 Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION);
713 efl_input_key_pressed_set_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)), val);
717 private static efl_input_key_pressed_set_delegate efl_input_key_pressed_set_static_delegate;
719 [return: MarshalAs(UnmanagedType.CustomMarshaler, MarshalTypeRef=typeof(Efl.Eo.StringKeepOwnershipMarshaler))]
720 private delegate System.String efl_input_key_name_get_delegate(System.IntPtr obj, System.IntPtr pd);
722 [return: MarshalAs(UnmanagedType.CustomMarshaler, MarshalTypeRef=typeof(Efl.Eo.StringKeepOwnershipMarshaler))]
723 public delegate System.String efl_input_key_name_get_api_delegate(System.IntPtr obj);
725 public static Efl.Eo.FunctionWrapper<efl_input_key_name_get_api_delegate> efl_input_key_name_get_ptr = new Efl.Eo.FunctionWrapper<efl_input_key_name_get_api_delegate>(Module, "efl_input_key_name_get");
727 private static System.String key_name_get(System.IntPtr obj, System.IntPtr pd)
729 Eina.Log.Debug("function efl_input_key_name_get was called");
730 var ws = Efl.Eo.Globals.GetWrapperSupervisor(obj);
733 System.String _ret_var = default(System.String);
736 _ret_var = ((Key)ws.Target).GetKeyName();
740 Eina.Log.Warning($"Callback error: {e.ToString()}");
741 Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION);
749 return efl_input_key_name_get_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)));
753 private static efl_input_key_name_get_delegate efl_input_key_name_get_static_delegate;
756 private delegate void efl_input_key_name_set_delegate(System.IntPtr obj, System.IntPtr pd, [MarshalAs(UnmanagedType.CustomMarshaler, MarshalTypeRef=typeof(Efl.Eo.StringKeepOwnershipMarshaler))] System.String val);
759 public delegate void efl_input_key_name_set_api_delegate(System.IntPtr obj, [MarshalAs(UnmanagedType.CustomMarshaler, MarshalTypeRef=typeof(Efl.Eo.StringKeepOwnershipMarshaler))] System.String val);
761 public static Efl.Eo.FunctionWrapper<efl_input_key_name_set_api_delegate> efl_input_key_name_set_ptr = new Efl.Eo.FunctionWrapper<efl_input_key_name_set_api_delegate>(Module, "efl_input_key_name_set");
763 private static void key_name_set(System.IntPtr obj, System.IntPtr pd, System.String val)
765 Eina.Log.Debug("function efl_input_key_name_set was called");
766 var ws = Efl.Eo.Globals.GetWrapperSupervisor(obj);
772 ((Key)ws.Target).SetKeyName(val);
776 Eina.Log.Warning($"Callback error: {e.ToString()}");
777 Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION);
784 efl_input_key_name_set_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)), val);
788 private static efl_input_key_name_set_delegate efl_input_key_name_set_static_delegate;
790 [return: MarshalAs(UnmanagedType.CustomMarshaler, MarshalTypeRef=typeof(Efl.Eo.StringKeepOwnershipMarshaler))]
791 private delegate System.String efl_input_key_sym_get_delegate(System.IntPtr obj, System.IntPtr pd);
793 [return: MarshalAs(UnmanagedType.CustomMarshaler, MarshalTypeRef=typeof(Efl.Eo.StringKeepOwnershipMarshaler))]
794 public delegate System.String efl_input_key_sym_get_api_delegate(System.IntPtr obj);
796 public static Efl.Eo.FunctionWrapper<efl_input_key_sym_get_api_delegate> efl_input_key_sym_get_ptr = new Efl.Eo.FunctionWrapper<efl_input_key_sym_get_api_delegate>(Module, "efl_input_key_sym_get");
798 private static System.String key_sym_get(System.IntPtr obj, System.IntPtr pd)
800 Eina.Log.Debug("function efl_input_key_sym_get was called");
801 var ws = Efl.Eo.Globals.GetWrapperSupervisor(obj);
804 System.String _ret_var = default(System.String);
807 _ret_var = ((Key)ws.Target).GetKeySym();
811 Eina.Log.Warning($"Callback error: {e.ToString()}");
812 Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION);
820 return efl_input_key_sym_get_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)));
824 private static efl_input_key_sym_get_delegate efl_input_key_sym_get_static_delegate;
827 private delegate void efl_input_key_sym_set_delegate(System.IntPtr obj, System.IntPtr pd, [MarshalAs(UnmanagedType.CustomMarshaler, MarshalTypeRef=typeof(Efl.Eo.StringKeepOwnershipMarshaler))] System.String val);
830 public delegate void efl_input_key_sym_set_api_delegate(System.IntPtr obj, [MarshalAs(UnmanagedType.CustomMarshaler, MarshalTypeRef=typeof(Efl.Eo.StringKeepOwnershipMarshaler))] System.String val);
832 public static Efl.Eo.FunctionWrapper<efl_input_key_sym_set_api_delegate> efl_input_key_sym_set_ptr = new Efl.Eo.FunctionWrapper<efl_input_key_sym_set_api_delegate>(Module, "efl_input_key_sym_set");
834 private static void key_sym_set(System.IntPtr obj, System.IntPtr pd, System.String val)
836 Eina.Log.Debug("function efl_input_key_sym_set was called");
837 var ws = Efl.Eo.Globals.GetWrapperSupervisor(obj);
843 ((Key)ws.Target).SetKeySym(val);
847 Eina.Log.Warning($"Callback error: {e.ToString()}");
848 Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION);
855 efl_input_key_sym_set_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)), val);
859 private static efl_input_key_sym_set_delegate efl_input_key_sym_set_static_delegate;
861 [return: MarshalAs(UnmanagedType.CustomMarshaler, MarshalTypeRef=typeof(Efl.Eo.StringKeepOwnershipMarshaler))]
862 private delegate System.String efl_input_key_string_get_delegate(System.IntPtr obj, System.IntPtr pd);
864 [return: MarshalAs(UnmanagedType.CustomMarshaler, MarshalTypeRef=typeof(Efl.Eo.StringKeepOwnershipMarshaler))]
865 public delegate System.String efl_input_key_string_get_api_delegate(System.IntPtr obj);
867 public static Efl.Eo.FunctionWrapper<efl_input_key_string_get_api_delegate> efl_input_key_string_get_ptr = new Efl.Eo.FunctionWrapper<efl_input_key_string_get_api_delegate>(Module, "efl_input_key_string_get");
869 private static System.String string_get(System.IntPtr obj, System.IntPtr pd)
871 Eina.Log.Debug("function efl_input_key_string_get was called");
872 var ws = Efl.Eo.Globals.GetWrapperSupervisor(obj);
875 System.String _ret_var = default(System.String);
878 _ret_var = ((Key)ws.Target).GetString();
882 Eina.Log.Warning($"Callback error: {e.ToString()}");
883 Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION);
891 return efl_input_key_string_get_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)));
895 private static efl_input_key_string_get_delegate efl_input_key_string_get_static_delegate;
898 private delegate void efl_input_key_string_set_delegate(System.IntPtr obj, System.IntPtr pd, [MarshalAs(UnmanagedType.CustomMarshaler, MarshalTypeRef=typeof(Efl.Eo.StringKeepOwnershipMarshaler))] System.String val);
901 public delegate void efl_input_key_string_set_api_delegate(System.IntPtr obj, [MarshalAs(UnmanagedType.CustomMarshaler, MarshalTypeRef=typeof(Efl.Eo.StringKeepOwnershipMarshaler))] System.String val);
903 public static Efl.Eo.FunctionWrapper<efl_input_key_string_set_api_delegate> efl_input_key_string_set_ptr = new Efl.Eo.FunctionWrapper<efl_input_key_string_set_api_delegate>(Module, "efl_input_key_string_set");
905 private static void string_set(System.IntPtr obj, System.IntPtr pd, System.String val)
907 Eina.Log.Debug("function efl_input_key_string_set was called");
908 var ws = Efl.Eo.Globals.GetWrapperSupervisor(obj);
914 ((Key)ws.Target).SetString(val);
918 Eina.Log.Warning($"Callback error: {e.ToString()}");
919 Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION);
926 efl_input_key_string_set_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)), val);
930 private static efl_input_key_string_set_delegate efl_input_key_string_set_static_delegate;
932 [return: MarshalAs(UnmanagedType.CustomMarshaler, MarshalTypeRef=typeof(Efl.Eo.StringKeepOwnershipMarshaler))]
933 private delegate System.String efl_input_key_compose_string_get_delegate(System.IntPtr obj, System.IntPtr pd);
935 [return: MarshalAs(UnmanagedType.CustomMarshaler, MarshalTypeRef=typeof(Efl.Eo.StringKeepOwnershipMarshaler))]
936 public delegate System.String efl_input_key_compose_string_get_api_delegate(System.IntPtr obj);
938 public static Efl.Eo.FunctionWrapper<efl_input_key_compose_string_get_api_delegate> efl_input_key_compose_string_get_ptr = new Efl.Eo.FunctionWrapper<efl_input_key_compose_string_get_api_delegate>(Module, "efl_input_key_compose_string_get");
940 private static System.String compose_string_get(System.IntPtr obj, System.IntPtr pd)
942 Eina.Log.Debug("function efl_input_key_compose_string_get was called");
943 var ws = Efl.Eo.Globals.GetWrapperSupervisor(obj);
946 System.String _ret_var = default(System.String);
949 _ret_var = ((Key)ws.Target).GetComposeString();
953 Eina.Log.Warning($"Callback error: {e.ToString()}");
954 Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION);
962 return efl_input_key_compose_string_get_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)));
966 private static efl_input_key_compose_string_get_delegate efl_input_key_compose_string_get_static_delegate;
969 private delegate void efl_input_key_compose_string_set_delegate(System.IntPtr obj, System.IntPtr pd, [MarshalAs(UnmanagedType.CustomMarshaler, MarshalTypeRef=typeof(Efl.Eo.StringKeepOwnershipMarshaler))] System.String val);
972 public delegate void efl_input_key_compose_string_set_api_delegate(System.IntPtr obj, [MarshalAs(UnmanagedType.CustomMarshaler, MarshalTypeRef=typeof(Efl.Eo.StringKeepOwnershipMarshaler))] System.String val);
974 public static Efl.Eo.FunctionWrapper<efl_input_key_compose_string_set_api_delegate> efl_input_key_compose_string_set_ptr = new Efl.Eo.FunctionWrapper<efl_input_key_compose_string_set_api_delegate>(Module, "efl_input_key_compose_string_set");
976 private static void compose_string_set(System.IntPtr obj, System.IntPtr pd, System.String val)
978 Eina.Log.Debug("function efl_input_key_compose_string_set was called");
979 var ws = Efl.Eo.Globals.GetWrapperSupervisor(obj);
985 ((Key)ws.Target).SetComposeString(val);
989 Eina.Log.Warning($"Callback error: {e.ToString()}");
990 Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION);
997 efl_input_key_compose_string_set_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)), val);
1001 private static efl_input_key_compose_string_set_delegate efl_input_key_compose_string_set_static_delegate;
1004 private delegate int efl_input_key_code_get_delegate(System.IntPtr obj, System.IntPtr pd);
1007 public delegate int efl_input_key_code_get_api_delegate(System.IntPtr obj);
1009 public static Efl.Eo.FunctionWrapper<efl_input_key_code_get_api_delegate> efl_input_key_code_get_ptr = new Efl.Eo.FunctionWrapper<efl_input_key_code_get_api_delegate>(Module, "efl_input_key_code_get");
1011 private static int key_code_get(System.IntPtr obj, System.IntPtr pd)
1013 Eina.Log.Debug("function efl_input_key_code_get was called");
1014 var ws = Efl.Eo.Globals.GetWrapperSupervisor(obj);
1017 int _ret_var = default(int);
1020 _ret_var = ((Key)ws.Target).GetKeyCode();
1024 Eina.Log.Warning($"Callback error: {e.ToString()}");
1025 Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION);
1033 return efl_input_key_code_get_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)));
1037 private static efl_input_key_code_get_delegate efl_input_key_code_get_static_delegate;
1040 private delegate void efl_input_key_code_set_delegate(System.IntPtr obj, System.IntPtr pd, int val);
1043 public delegate void efl_input_key_code_set_api_delegate(System.IntPtr obj, int val);
1045 public static Efl.Eo.FunctionWrapper<efl_input_key_code_set_api_delegate> efl_input_key_code_set_ptr = new Efl.Eo.FunctionWrapper<efl_input_key_code_set_api_delegate>(Module, "efl_input_key_code_set");
1047 private static void key_code_set(System.IntPtr obj, System.IntPtr pd, int val)
1049 Eina.Log.Debug("function efl_input_key_code_set was called");
1050 var ws = Efl.Eo.Globals.GetWrapperSupervisor(obj);
1056 ((Key)ws.Target).SetKeyCode(val);
1060 Eina.Log.Warning($"Callback error: {e.ToString()}");
1061 Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION);
1068 efl_input_key_code_set_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)), val);
1072 private static efl_input_key_code_set_delegate efl_input_key_code_set_static_delegate;
1074 [return:MarshalAs(UnmanagedType.CustomMarshaler, MarshalTypeRef=typeof(Efl.Eo.MarshalEo<Efl.Eo.OwnTag>))]
1075 private delegate Efl.IDuplicate efl_duplicate_delegate(System.IntPtr obj, System.IntPtr pd);
1077 [return:MarshalAs(UnmanagedType.CustomMarshaler, MarshalTypeRef=typeof(Efl.Eo.MarshalEo<Efl.Eo.OwnTag>))]
1078 public delegate Efl.IDuplicate efl_duplicate_api_delegate(System.IntPtr obj);
1080 public static Efl.Eo.FunctionWrapper<efl_duplicate_api_delegate> efl_duplicate_ptr = new Efl.Eo.FunctionWrapper<efl_duplicate_api_delegate>(Module, "efl_duplicate");
1082 private static Efl.IDuplicate duplicate(System.IntPtr obj, System.IntPtr pd)
1084 Eina.Log.Debug("function efl_duplicate was called");
1085 var ws = Efl.Eo.Globals.GetWrapperSupervisor(obj);
1088 Efl.IDuplicate _ret_var = default(Efl.IDuplicate);
1091 _ret_var = ((Key)ws.Target).Duplicate();
1095 Eina.Log.Warning($"Callback error: {e.ToString()}");
1096 Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION);
1104 return efl_duplicate_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)));
1108 private static efl_duplicate_delegate efl_duplicate_static_delegate;
1111 private delegate double efl_input_timestamp_get_delegate(System.IntPtr obj, System.IntPtr pd);
1114 public delegate double efl_input_timestamp_get_api_delegate(System.IntPtr obj);
1116 public static Efl.Eo.FunctionWrapper<efl_input_timestamp_get_api_delegate> efl_input_timestamp_get_ptr = new Efl.Eo.FunctionWrapper<efl_input_timestamp_get_api_delegate>(Module, "efl_input_timestamp_get");
1118 private static double timestamp_get(System.IntPtr obj, System.IntPtr pd)
1120 Eina.Log.Debug("function efl_input_timestamp_get was called");
1121 var ws = Efl.Eo.Globals.GetWrapperSupervisor(obj);
1124 double _ret_var = default(double);
1127 _ret_var = ((Key)ws.Target).GetTimestamp();
1131 Eina.Log.Warning($"Callback error: {e.ToString()}");
1132 Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION);
1140 return efl_input_timestamp_get_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)));
1144 private static efl_input_timestamp_get_delegate efl_input_timestamp_get_static_delegate;
1147 private delegate void efl_input_timestamp_set_delegate(System.IntPtr obj, System.IntPtr pd, double ms);
1150 public delegate void efl_input_timestamp_set_api_delegate(System.IntPtr obj, double ms);
1152 public static Efl.Eo.FunctionWrapper<efl_input_timestamp_set_api_delegate> efl_input_timestamp_set_ptr = new Efl.Eo.FunctionWrapper<efl_input_timestamp_set_api_delegate>(Module, "efl_input_timestamp_set");
1154 private static void timestamp_set(System.IntPtr obj, System.IntPtr pd, double ms)
1156 Eina.Log.Debug("function efl_input_timestamp_set was called");
1157 var ws = Efl.Eo.Globals.GetWrapperSupervisor(obj);
1163 ((Key)ws.Target).SetTimestamp(ms);
1167 Eina.Log.Warning($"Callback error: {e.ToString()}");
1168 Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION);
1175 efl_input_timestamp_set_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)), ms);
1179 private static efl_input_timestamp_set_delegate efl_input_timestamp_set_static_delegate;
1181 [return:MarshalAs(UnmanagedType.CustomMarshaler, MarshalTypeRef=typeof(Efl.Eo.MarshalEo<Efl.Eo.NonOwnTag>))]
1182 private delegate Efl.Input.Device efl_input_device_get_delegate(System.IntPtr obj, System.IntPtr pd);
1184 [return:MarshalAs(UnmanagedType.CustomMarshaler, MarshalTypeRef=typeof(Efl.Eo.MarshalEo<Efl.Eo.NonOwnTag>))]
1185 public delegate Efl.Input.Device efl_input_device_get_api_delegate(System.IntPtr obj);
1187 public static Efl.Eo.FunctionWrapper<efl_input_device_get_api_delegate> efl_input_device_get_ptr = new Efl.Eo.FunctionWrapper<efl_input_device_get_api_delegate>(Module, "efl_input_device_get");
1189 private static Efl.Input.Device device_get(System.IntPtr obj, System.IntPtr pd)
1191 Eina.Log.Debug("function efl_input_device_get was called");
1192 var ws = Efl.Eo.Globals.GetWrapperSupervisor(obj);
1195 Efl.Input.Device _ret_var = default(Efl.Input.Device);
1198 _ret_var = ((Key)ws.Target).GetDevice();
1202 Eina.Log.Warning($"Callback error: {e.ToString()}");
1203 Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION);
1211 return efl_input_device_get_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)));
1215 private static efl_input_device_get_delegate efl_input_device_get_static_delegate;
1218 private delegate void efl_input_device_set_delegate(System.IntPtr obj, System.IntPtr pd, [MarshalAs(UnmanagedType.CustomMarshaler, MarshalTypeRef=typeof(Efl.Eo.MarshalEo<Efl.Eo.NonOwnTag>))] Efl.Input.Device dev);
1221 public delegate void efl_input_device_set_api_delegate(System.IntPtr obj, [MarshalAs(UnmanagedType.CustomMarshaler, MarshalTypeRef=typeof(Efl.Eo.MarshalEo<Efl.Eo.NonOwnTag>))] Efl.Input.Device dev);
1223 public static Efl.Eo.FunctionWrapper<efl_input_device_set_api_delegate> efl_input_device_set_ptr = new Efl.Eo.FunctionWrapper<efl_input_device_set_api_delegate>(Module, "efl_input_device_set");
1225 private static void device_set(System.IntPtr obj, System.IntPtr pd, Efl.Input.Device dev)
1227 Eina.Log.Debug("function efl_input_device_set was called");
1228 var ws = Efl.Eo.Globals.GetWrapperSupervisor(obj);
1234 ((Key)ws.Target).SetDevice(dev);
1238 Eina.Log.Warning($"Callback error: {e.ToString()}");
1239 Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION);
1246 efl_input_device_set_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)), dev);
1250 private static efl_input_device_set_delegate efl_input_device_set_static_delegate;
1253 private delegate Efl.Input.Flags efl_input_event_flags_get_delegate(System.IntPtr obj, System.IntPtr pd);
1256 public delegate Efl.Input.Flags efl_input_event_flags_get_api_delegate(System.IntPtr obj);
1258 public static Efl.Eo.FunctionWrapper<efl_input_event_flags_get_api_delegate> efl_input_event_flags_get_ptr = new Efl.Eo.FunctionWrapper<efl_input_event_flags_get_api_delegate>(Module, "efl_input_event_flags_get");
1260 private static Efl.Input.Flags event_flags_get(System.IntPtr obj, System.IntPtr pd)
1262 Eina.Log.Debug("function efl_input_event_flags_get was called");
1263 var ws = Efl.Eo.Globals.GetWrapperSupervisor(obj);
1266 Efl.Input.Flags _ret_var = default(Efl.Input.Flags);
1269 _ret_var = ((Key)ws.Target).GetEventFlags();
1273 Eina.Log.Warning($"Callback error: {e.ToString()}");
1274 Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION);
1282 return efl_input_event_flags_get_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)));
1286 private static efl_input_event_flags_get_delegate efl_input_event_flags_get_static_delegate;
1289 private delegate void efl_input_event_flags_set_delegate(System.IntPtr obj, System.IntPtr pd, Efl.Input.Flags flags);
1292 public delegate void efl_input_event_flags_set_api_delegate(System.IntPtr obj, Efl.Input.Flags flags);
1294 public static Efl.Eo.FunctionWrapper<efl_input_event_flags_set_api_delegate> efl_input_event_flags_set_ptr = new Efl.Eo.FunctionWrapper<efl_input_event_flags_set_api_delegate>(Module, "efl_input_event_flags_set");
1296 private static void event_flags_set(System.IntPtr obj, System.IntPtr pd, Efl.Input.Flags flags)
1298 Eina.Log.Debug("function efl_input_event_flags_set was called");
1299 var ws = Efl.Eo.Globals.GetWrapperSupervisor(obj);
1305 ((Key)ws.Target).SetEventFlags(flags);
1309 Eina.Log.Warning($"Callback error: {e.ToString()}");
1310 Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION);
1317 efl_input_event_flags_set_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)), flags);
1321 private static efl_input_event_flags_set_delegate efl_input_event_flags_set_static_delegate;
1323 [return: MarshalAs(UnmanagedType.U1)]
1324 private delegate bool efl_input_processed_get_delegate(System.IntPtr obj, System.IntPtr pd);
1326 [return: MarshalAs(UnmanagedType.U1)]
1327 public delegate bool efl_input_processed_get_api_delegate(System.IntPtr obj);
1329 public static Efl.Eo.FunctionWrapper<efl_input_processed_get_api_delegate> efl_input_processed_get_ptr = new Efl.Eo.FunctionWrapper<efl_input_processed_get_api_delegate>(Module, "efl_input_processed_get");
1331 private static bool processed_get(System.IntPtr obj, System.IntPtr pd)
1333 Eina.Log.Debug("function efl_input_processed_get was called");
1334 var ws = Efl.Eo.Globals.GetWrapperSupervisor(obj);
1337 bool _ret_var = default(bool);
1340 _ret_var = ((Key)ws.Target).GetProcessed();
1344 Eina.Log.Warning($"Callback error: {e.ToString()}");
1345 Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION);
1353 return efl_input_processed_get_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)));
1357 private static efl_input_processed_get_delegate efl_input_processed_get_static_delegate;
1360 private delegate void efl_input_processed_set_delegate(System.IntPtr obj, System.IntPtr pd, [MarshalAs(UnmanagedType.U1)] bool val);
1363 public delegate void efl_input_processed_set_api_delegate(System.IntPtr obj, [MarshalAs(UnmanagedType.U1)] bool val);
1365 public static Efl.Eo.FunctionWrapper<efl_input_processed_set_api_delegate> efl_input_processed_set_ptr = new Efl.Eo.FunctionWrapper<efl_input_processed_set_api_delegate>(Module, "efl_input_processed_set");
1367 private static void processed_set(System.IntPtr obj, System.IntPtr pd, bool val)
1369 Eina.Log.Debug("function efl_input_processed_set was called");
1370 var ws = Efl.Eo.Globals.GetWrapperSupervisor(obj);
1376 ((Key)ws.Target).SetProcessed(val);
1380 Eina.Log.Warning($"Callback error: {e.ToString()}");
1381 Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION);
1388 efl_input_processed_set_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)), val);
1392 private static efl_input_processed_set_delegate efl_input_processed_set_static_delegate;
1394 [return: MarshalAs(UnmanagedType.U1)]
1395 private delegate bool efl_input_scrolling_get_delegate(System.IntPtr obj, System.IntPtr pd);
1397 [return: MarshalAs(UnmanagedType.U1)]
1398 public delegate bool efl_input_scrolling_get_api_delegate(System.IntPtr obj);
1400 public static Efl.Eo.FunctionWrapper<efl_input_scrolling_get_api_delegate> efl_input_scrolling_get_ptr = new Efl.Eo.FunctionWrapper<efl_input_scrolling_get_api_delegate>(Module, "efl_input_scrolling_get");
1402 private static bool scrolling_get(System.IntPtr obj, System.IntPtr pd)
1404 Eina.Log.Debug("function efl_input_scrolling_get was called");
1405 var ws = Efl.Eo.Globals.GetWrapperSupervisor(obj);
1408 bool _ret_var = default(bool);
1411 _ret_var = ((Key)ws.Target).GetScrolling();
1415 Eina.Log.Warning($"Callback error: {e.ToString()}");
1416 Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION);
1424 return efl_input_scrolling_get_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)));
1428 private static efl_input_scrolling_get_delegate efl_input_scrolling_get_static_delegate;
1431 private delegate void efl_input_scrolling_set_delegate(System.IntPtr obj, System.IntPtr pd, [MarshalAs(UnmanagedType.U1)] bool val);
1434 public delegate void efl_input_scrolling_set_api_delegate(System.IntPtr obj, [MarshalAs(UnmanagedType.U1)] bool val);
1436 public static Efl.Eo.FunctionWrapper<efl_input_scrolling_set_api_delegate> efl_input_scrolling_set_ptr = new Efl.Eo.FunctionWrapper<efl_input_scrolling_set_api_delegate>(Module, "efl_input_scrolling_set");
1438 private static void scrolling_set(System.IntPtr obj, System.IntPtr pd, bool val)
1440 Eina.Log.Debug("function efl_input_scrolling_set was called");
1441 var ws = Efl.Eo.Globals.GetWrapperSupervisor(obj);
1447 ((Key)ws.Target).SetScrolling(val);
1451 Eina.Log.Warning($"Callback error: {e.ToString()}");
1452 Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION);
1459 efl_input_scrolling_set_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)), val);
1463 private static efl_input_scrolling_set_delegate efl_input_scrolling_set_static_delegate;
1465 [return: MarshalAs(UnmanagedType.U1)]
1466 private delegate bool efl_input_fake_get_delegate(System.IntPtr obj, System.IntPtr pd);
1468 [return: MarshalAs(UnmanagedType.U1)]
1469 public delegate bool efl_input_fake_get_api_delegate(System.IntPtr obj);
1471 public static Efl.Eo.FunctionWrapper<efl_input_fake_get_api_delegate> efl_input_fake_get_ptr = new Efl.Eo.FunctionWrapper<efl_input_fake_get_api_delegate>(Module, "efl_input_fake_get");
1473 private static bool fake_get(System.IntPtr obj, System.IntPtr pd)
1475 Eina.Log.Debug("function efl_input_fake_get was called");
1476 var ws = Efl.Eo.Globals.GetWrapperSupervisor(obj);
1479 bool _ret_var = default(bool);
1482 _ret_var = ((Key)ws.Target).GetFake();
1486 Eina.Log.Warning($"Callback error: {e.ToString()}");
1487 Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION);
1495 return efl_input_fake_get_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)));
1499 private static efl_input_fake_get_delegate efl_input_fake_get_static_delegate;
1502 private delegate void efl_input_reset_delegate(System.IntPtr obj, System.IntPtr pd);
1505 public delegate void efl_input_reset_api_delegate(System.IntPtr obj);
1507 public static Efl.Eo.FunctionWrapper<efl_input_reset_api_delegate> efl_input_reset_ptr = new Efl.Eo.FunctionWrapper<efl_input_reset_api_delegate>(Module, "efl_input_reset");
1509 private static void reset(System.IntPtr obj, System.IntPtr pd)
1511 Eina.Log.Debug("function efl_input_reset was called");
1512 var ws = Efl.Eo.Globals.GetWrapperSupervisor(obj);
1518 ((Key)ws.Target).Reset();
1522 Eina.Log.Warning($"Callback error: {e.ToString()}");
1523 Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION);
1530 efl_input_reset_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)));
1534 private static efl_input_reset_delegate efl_input_reset_static_delegate;
1536 [return: MarshalAs(UnmanagedType.U1)]
1537 private delegate bool efl_input_modifier_enabled_get_delegate(System.IntPtr obj, System.IntPtr pd, Efl.Input.Modifier mod, [MarshalAs(UnmanagedType.CustomMarshaler, MarshalTypeRef=typeof(Efl.Eo.MarshalEo<Efl.Eo.NonOwnTag>))] Efl.Input.Device seat);
1539 [return: MarshalAs(UnmanagedType.U1)]
1540 public delegate bool efl_input_modifier_enabled_get_api_delegate(System.IntPtr obj, Efl.Input.Modifier mod, [MarshalAs(UnmanagedType.CustomMarshaler, MarshalTypeRef=typeof(Efl.Eo.MarshalEo<Efl.Eo.NonOwnTag>))] Efl.Input.Device seat);
1542 public static Efl.Eo.FunctionWrapper<efl_input_modifier_enabled_get_api_delegate> efl_input_modifier_enabled_get_ptr = new Efl.Eo.FunctionWrapper<efl_input_modifier_enabled_get_api_delegate>(Module, "efl_input_modifier_enabled_get");
1544 private static bool modifier_enabled_get(System.IntPtr obj, System.IntPtr pd, Efl.Input.Modifier mod, Efl.Input.Device seat)
1546 Eina.Log.Debug("function efl_input_modifier_enabled_get was called");
1547 var ws = Efl.Eo.Globals.GetWrapperSupervisor(obj);
1550 bool _ret_var = default(bool);
1553 _ret_var = ((Key)ws.Target).GetModifierEnabled(mod, seat);
1557 Eina.Log.Warning($"Callback error: {e.ToString()}");
1558 Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION);
1566 return efl_input_modifier_enabled_get_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)), mod, seat);
1570 private static efl_input_modifier_enabled_get_delegate efl_input_modifier_enabled_get_static_delegate;
1572 [return: MarshalAs(UnmanagedType.U1)]
1573 private delegate bool efl_input_lock_enabled_get_delegate(System.IntPtr obj, System.IntPtr pd, Efl.Input.Lock kw_lock, [MarshalAs(UnmanagedType.CustomMarshaler, MarshalTypeRef=typeof(Efl.Eo.MarshalEo<Efl.Eo.NonOwnTag>))] Efl.Input.Device seat);
1575 [return: MarshalAs(UnmanagedType.U1)]
1576 public delegate bool efl_input_lock_enabled_get_api_delegate(System.IntPtr obj, Efl.Input.Lock kw_lock, [MarshalAs(UnmanagedType.CustomMarshaler, MarshalTypeRef=typeof(Efl.Eo.MarshalEo<Efl.Eo.NonOwnTag>))] Efl.Input.Device seat);
1578 public static Efl.Eo.FunctionWrapper<efl_input_lock_enabled_get_api_delegate> efl_input_lock_enabled_get_ptr = new Efl.Eo.FunctionWrapper<efl_input_lock_enabled_get_api_delegate>(Module, "efl_input_lock_enabled_get");
1580 private static bool lock_enabled_get(System.IntPtr obj, System.IntPtr pd, Efl.Input.Lock kw_lock, Efl.Input.Device seat)
1582 Eina.Log.Debug("function efl_input_lock_enabled_get was called");
1583 var ws = Efl.Eo.Globals.GetWrapperSupervisor(obj);
1586 bool _ret_var = default(bool);
1589 _ret_var = ((Key)ws.Target).GetLockEnabled(kw_lock, seat);
1593 Eina.Log.Warning($"Callback error: {e.ToString()}");
1594 Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION);
1602 return efl_input_lock_enabled_get_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)), kw_lock, seat);
1606 private static efl_input_lock_enabled_get_delegate efl_input_lock_enabled_get_static_delegate;
1608 #pragma warning restore CA1707, CS1591, SA1300, SA1600
1617 #pragma warning disable CS1591
1618 public static class Efl_InputKey_ExtensionMethods {
1619 public static Efl.BindableProperty<bool> Pressed<T>(this Efl.Ui.ItemFactory<T> fac, Efl.Csharp.ExtensionTag<Efl.Input.Key, T>magic = null) where T : Efl.Input.Key {
1620 return new Efl.BindableProperty<bool>("pressed", fac);
1623 public static Efl.BindableProperty<System.String> KeyName<T>(this Efl.Ui.ItemFactory<T> fac, Efl.Csharp.ExtensionTag<Efl.Input.Key, T>magic = null) where T : Efl.Input.Key {
1624 return new Efl.BindableProperty<System.String>("key_name", fac);
1627 public static Efl.BindableProperty<System.String> KeySym<T>(this Efl.Ui.ItemFactory<T> fac, Efl.Csharp.ExtensionTag<Efl.Input.Key, T>magic = null) where T : Efl.Input.Key {
1628 return new Efl.BindableProperty<System.String>("key_sym", fac);
1631 public static Efl.BindableProperty<System.String> String<T>(this Efl.Ui.ItemFactory<T> fac, Efl.Csharp.ExtensionTag<Efl.Input.Key, T>magic = null) where T : Efl.Input.Key {
1632 return new Efl.BindableProperty<System.String>("string", fac);
1635 public static Efl.BindableProperty<System.String> ComposeString<T>(this Efl.Ui.ItemFactory<T> fac, Efl.Csharp.ExtensionTag<Efl.Input.Key, T>magic = null) where T : Efl.Input.Key {
1636 return new Efl.BindableProperty<System.String>("compose_string", fac);
1639 public static Efl.BindableProperty<int> KeyCode<T>(this Efl.Ui.ItemFactory<T> fac, Efl.Csharp.ExtensionTag<Efl.Input.Key, T>magic = null) where T : Efl.Input.Key {
1640 return new Efl.BindableProperty<int>("key_code", fac);
1643 public static Efl.BindableProperty<double> Timestamp<T>(this Efl.Ui.ItemFactory<T> fac, Efl.Csharp.ExtensionTag<Efl.Input.Key, T>magic = null) where T : Efl.Input.Key {
1644 return new Efl.BindableProperty<double>("timestamp", fac);
1647 public static Efl.BindableProperty<Efl.Input.Device> Device<T>(this Efl.Ui.ItemFactory<T> fac, Efl.Csharp.ExtensionTag<Efl.Input.Key, T>magic = null) where T : Efl.Input.Key {
1648 return new Efl.BindableProperty<Efl.Input.Device>("device", fac);
1651 public static Efl.BindableProperty<Efl.Input.Flags> EventFlags<T>(this Efl.Ui.ItemFactory<T> fac, Efl.Csharp.ExtensionTag<Efl.Input.Key, T>magic = null) where T : Efl.Input.Key {
1652 return new Efl.BindableProperty<Efl.Input.Flags>("event_flags", fac);
1655 public static Efl.BindableProperty<bool> Processed<T>(this Efl.Ui.ItemFactory<T> fac, Efl.Csharp.ExtensionTag<Efl.Input.Key, T>magic = null) where T : Efl.Input.Key {
1656 return new Efl.BindableProperty<bool>("processed", fac);
1659 public static Efl.BindableProperty<bool> Scrolling<T>(this Efl.Ui.ItemFactory<T> fac, Efl.Csharp.ExtensionTag<Efl.Input.Key, T>magic = null) where T : Efl.Input.Key {
1660 return new Efl.BindableProperty<bool>("scrolling", fac);
1667 #pragma warning restore CS1591