output.Gain = 0.32f; // todo, currently default
output.GainHF = 0.89f; // todo, currently default
- output.GainLF = 1f;// todo, currently default
+ output.GainLF = 1f; // todo, currently default
output.LFReference = input.LFReference;
output.HFReference = input.HFReference;
case 1: position = HatPosition.Up; break;
case 2: position = HatPosition.Right; break;
case 3: position = HatPosition.UpRight; break;
- case 4: position = HatPosition.Down ; break;
+ case 4: position = HatPosition.Down; break;
case 6: position = HatPosition.DownRight; break;
case 8: position = HatPosition.Left; break;
case 9: position = HatPosition.UpLeft; break;
/// </para>
/// </remarks>
event EventHandler<KeyPressEventArgs> INativeWindow.KeyPress {
- add { throw new NotSupportedException ();}
- remove { throw new NotSupportedException ();}
+ add { throw new NotSupportedException (); }
+ remove { throw new NotSupportedException (); }
}
public virtual int Width {
[DllImport(hid)]
public static extern IOReturn IOHIDManagerOpen(
IOHIDManagerRef manager,
- IOOptionBits options) ;
+ IOOptionBits options);
[DllImport(hid)]
public static extern IOReturn IOHIDDeviceOpen(
[DllImport(hid)]
public static extern double IOHIDValueGetScaledValue(
IOHIDValueRef @value,
- IOHIDValueScaleType type) ;
+ IOHIDValueScaleType type);
[DllImport(hid)]
public static extern IOHIDElementType IOHIDElementGetType(
private byte nhsync; /* Number of horiz sync ranges */
/*XF86VidModeSyncRange* */
- private IntPtr hsync;/* Horizontal sync ranges */
+ private IntPtr hsync; /* Horizontal sync ranges */
private byte nvsync; /* Number of vert sync ranges */
/*XF86VidModeSyncRange* */
{
//ptr = XRRSizes(dpy, screen, &nsizes);
- byte* data = (byte*)XRRSizes(dpy, screen, &count);//(byte*)ptr;
+ byte* data = (byte*)XRRSizes(dpy, screen, &count); //(byte*)ptr;
if (count == 0)
{
return null;