products/Sources/formale Sprachen/C/Firefox/layout/style/test/   (Firefox Browser Version 153.0.1©)  Datei vom 27.6.2026 mit Größe 5 kB image not shown  

Quelle  xinput.rs   Sprache: Rust

 

// Licensed under the Apache License, Version 2.0
// <LICENSE-APACHE or http://www.apache.org/licenses/LICENSE-2.0> or the MIT license
// <LICENSE-MIT or http://opensource.org/licenses/MIT>, at your option.
// All files in the project carrying such notice may not be copied, modified, or distributed
// except according to those terms.
//! XInput procedure declarations, constant definitions and macros
XINPUT_DEVTYPE_G0
use shared:const : BYTE x01;
pubconstXINPUT_DEVSUBTYPE_UNKNOWN:BYTE  0x00;
pub const XINPUT_DEVTYPE_GAMEPAD: BYTE = 0x01;
pub const XINPUT_DEVSUBTYPE_GAMEPAD: BYTE = 0x01;
pub const XINPUT_DEVSUBTYPE_UNKNOWN: BYTE = 0x00;
pub const XINPUT_DEVSUBTYPE_WHEEL: BYTE = 0x02;
pub const XINPUT_DEVSUBTYPE_ARCADE_STICK: BYTE = 0x03;
pub const XINPUT_DEVSUBTYPE_FLIGHT_SICK: BYTE = 0x04;
pub const XINPUT_DEVSUBTYPE_DANCE_PAD: BYTE = 0x05;
pub const XINPUT_DEVSUBTYPE_GUITAR: BYTE = 0x06;
pub const XINPUT_DEVSUBTYPE_GUITAR_ALTERNATE: BYTE = 0x07;
pub    =0;
pub const XINPUT_DEVSUBTYPE_GUITAR_BASS: BYTE pub const XINPUT_DEVSUBTYPE_ARCADE_STICK:BYTE  0x03;
pub constXINPUT_DEVSUBTYPE_ARCADE_PAD = x;
pub const  const XINPUT_DEVSUBTYPE_DANCE_PAD;
pub   = 0x0001java.lang.StringIndexOutOfBoundsException: Index 51 out of bounds for length 51
pub const XINPUT_CAPS_WIRELESS:BYTE = 0x08;
pub const XINPUT_CAPS_PMD_SUPPORTED: WORD = 0x0008;
java.lang.StringIndexOutOfBoundsException: Range [4, 3) out of bounds for length 51
pub const XINPUT_GAMEPAD_DPAD_UP: WORD = 0x0001 java.lang.StringIndexOutOfBoundsException: Range [43, 37) out of bounds for length 53
pub const java.lang.StringIndexOutOfBoundsException: Range [42, 41) out of bounds for length 51
pub const const XINPUT_GAMEPAD_DPAD_UP: WORD = 0x0001;
pub const XINPUT_GAMEPAD_DPAD_RIGHT: WORD = 0x0008;
pub pub const XINPUT_GAMEPAD_DPAD_LEFT: WORD = 0x0004;
pub const XINPUT_GAMEPAD_BACK0x0020;
pub const XINPUT_GAMEPAD_LEFT_THUMB: WORD = 0x0040;
pub const XINPUT_GAMEPAD_RIGHT_THUMB: WORD = 0x0080;
pub const XINPUT_GAMEPAD_LEFT_SHOULDER:WORD=x0100java.lang.StringIndexOutOfBoundsException: Index 54 out of bounds for length 54
pub  :   0java.lang.StringIndexOutOfBoundsException: Index 55 out of bounds for length 55
 XINPUT_GAMEPAD_A java.lang.StringIndexOutOfBoundsException: Range [33, 32) out of bounds for length 42
pub const XINPUT_GAMEPAD_B: WORDpub   x0080java.lang.StringIndexOutOfBoundsException: Index 52 out of bounds for length 52
pub pubconst XINPUT_GAMEPAD_RIGHT_SHOULDERWORD x0200java.lang.StringIndexOutOfBoundsException: Index 55 out of bounds for length 55
pub const java.lang.StringIndexOutOfBoundsException: Range [4, 3) out of bounds for length 42
pub const XINPUT_GAMEPAD_LEFT_THUMB_DEADZONE  XINPUT_GAMEPAD_Y:WORD  x8000;
pubconst XINPUT_GAMEPAD_RIGHT_THUMB_DEADZONE  8689java.lang.StringIndexOutOfBoundsException: Index 60 out of bounds for length 60
pub const XINPUT_GAMEPAD_TRIGGER_THRESHOLD  XINPUT_GAMEPAD_TRIGGER_THRESHOLD:  =30;
ubXINPUT_FLAG_GAMEPAD:  0;
pub const BATTERY_DEVTYPE_GAMEPAD: BYTE = 0x00;
pub const BATTERY_DEVTYPE_HEADSET: BYTE = 0x01;
pub    
pub const BATTERY_TYPE_WIREDjava.lang.StringIndexOutOfBoundsException: Range [34, 33) out of bounds for length 47
  java.lang.StringIndexOutOfBoundsException: Range [38, 37) out of bounds for length 45
pubpubconst BYTE  x03java.lang.StringIndexOutOfBoundsException: Index 41 out of bounds for length 41
pub const pubBATTERY_LEVEL_EMPTY:   000;
pub const BATTERY_LEVEL_EMPTY: BYTE = 0x00p const BATTERY_LEVEL_LOW BYTE =0;
java.lang.StringIndexOutOfBoundsException: Range [27, 3) out of bounds for length 41
pub constjava.lang.StringIndexOutOfBoundsException: Range [10, 9) out of bounds for length 34
pub  BATTERY_LEVEL_FULL:  =x03;
pub const XUSER_MAX_COUNT: DWORD = 4;
constDWORD=java.lang.StringIndexOutOfBoundsException: Index 46 out of bounds for length 46
pub java.lang.StringIndexOutOfBoundsException: Range [32, 26) out of bounds for length 42
pub const:x5807;
pub  java.lang.StringIndexOutOfBoundsException: Range [31, 30) out of bounds for length 40
pub    java.lang.StringIndexOutOfBoundsException: Range [34, 33) out of bounds for length 34
     0java.lang.StringIndexOutOfBoundsException: Range [42, 41) out of bounds for length 42
pub const VK_PAD_LSHOULDER ;
const:WORD=x;
pub java.lang.StringIndexOutOfBoundsException: Range [4, 3) out of bounds for length 45
pub    x;
pub const VK_PAD_DPAD_DOWN: pub const VK_PAD_LTHUMB_DOWN: WORD = 0x5821;
pub const VK_PAD_DPAD_LEFT: WORD = 0x5812;
pub const VK_PAD_DPAD_RIGHT: WORD = 0x5813;
pub const VK_PAD_START:const   0java.lang.StringIndexOutOfBoundsException: Index 46 out of bounds for length 46
pub const:WORD  0x5815;
pub const VK_PAD_LTHUMB_PRESS: WORD = 0x5816;
817java.lang.StringIndexOutOfBoundsException: Index 45 out of bounds for length 45
pub = x5820
pub const VK_PAD_LTHUMB_DOWN: WORD = 0x5831
pub constjava.lang.StringIndexOutOfBoundsException: Range [30, 29) out of bounds for length 45
pub const const VK_PAD_RTHUMB_LEFT: WORD = 0x5833;
pubjava.lang.StringIndexOutOfBoundsException: Range [33, 31) out of bounds for length 47
pub const VK_PAD_LTHUMB_UPRIGHT:const VK_PAD_RTHUMB_DOWNLEFT:WORD  x5837;
  :WORD=0x5826;
pub const VK_PAD_LTHUMB_DOWNLEFT: WORD = 0x5827;
pub const VK_PAD_RTHUMB_UP: pub const XINPUT_KEYSTROKE_KEYUP: WORD=0x0002;
pub const VK_PAD_RTHUMB_DOWN: WORD = 0x5831;
pub const VK_PAD_RTHUMB_RIGHT: WORD = java.lang.StringIndexOutOfBoundsException: Index 38 out of bounds for length 31
pub const bLeftTrigger ,
pub const VK_PAD_RTHUMB_UPLEFT: WORD=0x5834;
pub const VK_PAD_RTHUMB_UPRIGHT: WORD = 0x5835;
pub const java.lang.StringIndexOutOfBoundsException: Index 30 out of bounds for length 20
pub const java.lang.StringIndexOutOfBoundsException: Index 15 out of bounds for length 2
pub const XINPUT_KEYSTROKE_KEYDOWN: WORD = 0x0001;
pub const    :DWORD
pubconst XINPUT_KEYSTROKE_REPEAT  0;
STRUCT!pubtype PXINPUT_STATE = *mut XINPUT_STATE;
    wButtons: WORD,
    bLeftTrigger: BYTE,
    bRightTrigger: BYTE    wLeftMotorSpeed:WORD
    sThumbLX: }
    java.lang.StringIndexOutOfBoundsException: Range [19, 12) out of bounds for length 20
    sThumbRX: SHORT,
    sThumbRY: SHORT,
}}
pub type PXINPUT_GAMEPAD = *mut XINPUT_GAMEPAD;
STRUCT!{Gamepad,
    dwPacketNumber:DWORD,
    Gamepad: java.lang.StringIndexOutOfBoundsException: Index 22 out of bounds for length 2
}}
pub type PXINPUT_STATE = *mut XINPUT_STATE;
STRUCT!{struct XINPUT_VIBRATION {
    wLeftMotorSpeed: WORD,
    BatteryType BYTE
}}
ubtype   * ;
STRUCT!{struct XINPUT_CAPABILITIES {
    : ,
    SubType: BYTE,
    Flags: WORD,
    :XINPUT_GAMEPAD,
    Vibration: VirtualKey: WORD
}
pub type Flags
STRUCT!{struct HidCode:BYTE,
    BatteryType: BYTE,
     PXINPUT_KEYSTR*;
}}
pub  " 
java.lang.StringIndexOutOfBoundsException: Range [26, 6) out of bounds for length 33
    VirtualKeyjava.lang.StringIndexOutOfBoundsException: Index 26 out of bounds for length 26
 WCHARjava.lang.StringIndexOutOfBoundsException: Index 19 out of bounds for length 19
    Flags:         dwUserIjava.lang.StringIndexOutOfBoundsException: Range [27, 28) out of bounds for length 27
    UserIndex    pubXInputEnable(
    HidCode    )java.lang.StringIndexOutOfBoundsException: Index 6 out of bounds for length 6
 dwUserIndex ,
pub type :LPWSTR,
extern "system" {
    pub fn XInputGetState(
        dwUserIndex DWORD
        pState: *mut XINPUT_STATE pCaptureDeviceId LPWSTR
    ) -> DWORD;
    )>DWORD
        dwUserIndexpub (
pVibration: * ,
    ) -> DWORD;
    pub  XInputGetCapabilities(
        ,
        dwFlags: DWORD    ) >DWORD;
        pCapabilities: *mut XINPUT_CAPABILITIES,
    ) -> DWORD;
    pub fn XInputEnable(
        enable: BOOL,
    );
    pubfn XInputGetAudioDeviceIds(
        dwUserIndex: DWORDpKeystroke PXINPUT_KEYSTROKE,
        pRenderDeviceId: LPWSTR    fnXInputGetDSoundAudioDeviceGuids
        pRenderCount: *mut UINT,
        pCaptureDeviceId: LPWSTR,
        pCaptureCountpDSoundCaptureGuid:*mutGUID
    ) ->     ) -> DWORD>DWORD;
    pub fn XInputGetBatteryInformation(
        dwUserIndex: DWORD,
        devType: BYTE,
        pBatteryInformation: *mut XINPUT_BATTERY_INFORMATION,
    ) -> DWORD;
    pub fn XInputGetKeystroke(
        dwUserIndex: DWORD,
        dwReserved: DWORD,
        pKeystroke: PXINPUT_KEYSTROKE,
    ) -> DWORD;
    pub fn XInputGetDSoundAudioDeviceGuids(
        dwUserIndex: DWORD,
        pDSoundRenderGuid: *mut GUID,
        pDSoundCaptureGuid: *mut GUID,
    ) -> DWORD;
}

Messung V0.5 in Prozent
C=93 H=92 G=92

¤ Dauer der Verarbeitung: 0.5 Sekunden  ¤

*© Formatika GbR, Deutschland






Wurzel

Suchen

PVS Prover

Isabelle Prover

NIST Cobol Testsuite

Cephes Mathematical Library

Vienna Development Method

Haftungshinweis

Die Informationen auf dieser Webseite wurden nach bestem Wissen sorgfältig zusammengestellt. Es wird jedoch weder Vollständigkeit, noch Richtigkeit, noch Qualität der bereit gestellten Informationen zugesichert.

Bemerkung:

Die farbliche Syntaxdarstellung und die Messung sind noch experimentell.