/dports/emulators/dolphin-emu/dolphin-3152428/Source/Core/Core/HW/SI/ |
H A D | SI_DeviceGCController.cpp | 44 GCPadStatus pad_status = GetPadStatus(); in RunBuffer() local 45 if (!pad_status.isConnected) in RunBuffer() 142 GCPadStatus pad_status = {}; in GetPadStatus() local 151 HandleMoviePadStatus(&pad_status); in GetPadStatus() 156 SetOrigin(pad_status); in GetPadStatus() 158 return pad_status; in GetPadStatus() 171 if (!pad_status.isConnected) in GetData() 180 hi = MapPadStatus(pad_status); in GetData() 234 hi = pad_status.stickY; in MapPadStatus() 235 hi |= pad_status.stickX << 8; in MapPadStatus() [all …]
|
H A D | SI_DeviceDanceMat.cpp | 35 u32 CSIDevice_DanceMat::MapPadStatus(const GCPadStatus& pad_status) in MapPadStatus() argument 40 if (pad_status.button & PAD_BUTTON_UP) in MapPadStatus() 42 if (pad_status.button & PAD_BUTTON_DOWN) in MapPadStatus() 44 if (pad_status.button & PAD_BUTTON_LEFT) in MapPadStatus() 46 if (pad_status.button & PAD_BUTTON_RIGHT) in MapPadStatus() 48 if (pad_status.button & PAD_BUTTON_Y) in MapPadStatus() 50 if (pad_status.button & PAD_BUTTON_A) in MapPadStatus() 52 if (pad_status.button & PAD_BUTTON_B) in MapPadStatus() 54 if (pad_status.button & PAD_BUTTON_X) in MapPadStatus() 56 if (pad_status.button & PAD_TRIGGER_Z) in MapPadStatus() [all …]
|
H A D | SI_DeviceGCSteeringWheel.cpp | 50 GCPadStatus pad_status = GetPadStatus(); in GetData() local 52 hi = (u32)((u8)pad_status.stickX); // Steering in GetData() 54 hi |= (u32)((u16)(pad_status.button | PAD_USE_ORIGIN) << 16); in GetData() 56 low = (u8)pad_status.triggerRight; // All 8 bits in GetData() 57 low |= (u32)((u8)pad_status.triggerLeft << 8); // All 8 bits in GetData() 74 const int accel_value = std::max(pad_status.stickY - GCPadStatus::MAIN_STICK_CENTER_Y, in GetData() 75 GCPadStatus::C_STICK_CENTER_Y - pad_status.substickY); in GetData() 78 const int brake_value = std::max(pad_status.substickY - GCPadStatus::C_STICK_CENTER_Y, in GetData() 79 GCPadStatus::MAIN_STICK_CENTER_Y - pad_status.stickY); in GetData() 91 HandleButtonCombos(pad_status); in GetData()
|
H A D | SI_DeviceGCAdapter.cpp | 33 GCPadStatus pad_status = {}; in GetPadStatus() local 39 pad_status = GCAdapter::Input(m_device_number); in GetPadStatus() 42 HandleMoviePadStatus(&pad_status); in GetPadStatus() 46 if (pad_status.button & PAD_GET_ORIGIN) in GetPadStatus() 47 SetOrigin(pad_status); in GetPadStatus() 49 return pad_status; in GetPadStatus()
|
H A D | SI_DeviceGCController.h | 99 virtual u32 MapPadStatus(const GCPadStatus& pad_status); 100 virtual EButtonCombo HandleButtonCombos(const GCPadStatus& pad_status); 110 void HandleMoviePadStatus(GCPadStatus* pad_status); 111 void SetOrigin(const GCPadStatus& pad_status);
|
H A D | SI_DeviceDanceMat.h | 20 u32 MapPadStatus(const GCPadStatus& pad_status) override;
|
/dports/emulators/citra/citra-ac98458e0/src/input_common/gcadapter/ |
H A D | gc_adapter.cpp | 174 GCPadStatus pad_status = {port}; in UpdateSettings() local 177 pad_status.button = pads[port].last_button; in UpdateSettings() 178 pad_queue.Push(pad_status); in UpdateSettings() 186 pad_status.axis = static_cast<PadAxes>(i); in UpdateSettings() 187 pad_status.axis_value = value; in UpdateSettings() 188 pad_status.axis_threshold = axis_threshold; in UpdateSettings() 189 pad_queue.Push(pad_status); in UpdateSettings()
|
/dports/emulators/citra-qt5/citra-ac98458e0/src/input_common/gcadapter/ |
H A D | gc_adapter.cpp | 174 GCPadStatus pad_status = {port}; in UpdateSettings() local 177 pad_status.button = pads[port].last_button; in UpdateSettings() 178 pad_queue.Push(pad_status); in UpdateSettings() 186 pad_status.axis = static_cast<PadAxes>(i); in UpdateSettings() 187 pad_status.axis_value = value; in UpdateSettings() 188 pad_status.axis_threshold = axis_threshold; in UpdateSettings() 189 pad_queue.Push(pad_status); in UpdateSettings()
|
/dports/emulators/yuzu/yuzu-0b47f7a46/src/input_common/gcadapter/ |
H A D | gc_adapter.cpp | 172 GCPadStatus pad_status = {.port = port}; in UpdateYuzuSettings() local 175 pad_status.button = pads[port].last_button; in UpdateYuzuSettings() 176 pad_queue.Push(pad_status); in UpdateYuzuSettings() 184 pad_status.axis = static_cast<PadAxes>(i); in UpdateYuzuSettings() 185 pad_status.axis_value = value; in UpdateYuzuSettings() 186 pad_status.axis_threshold = axis_threshold; in UpdateYuzuSettings() 187 pad_queue.Push(pad_status); in UpdateYuzuSettings()
|
/dports/emulators/dolphin-emu/dolphin-3152428/Source/Core/Core/ |
H A D | NetPlayClient.cpp | 1923 m_pad_buffer[pad_nb].Pop(*pad_status); in GetNetPads() 1927 Movie::RecordInput(pad_status, pad_nb); in GetNetPads() 1932 Movie::CheckPadStatus(pad_status, pad_nb); in GetNetPads() 2021 GCPadStatus pad_status; in PollLocalPad() local 2026 pad_status = GCAdapter::Input(local_pad); in PollLocalPad() 2030 pad_status = Pad::GetStatus(local_pad); in PollLocalPad() 2048 m_last_pad_status[ingame_pad] = pad_status; in PollLocalPad() 2059 m_pad_buffer[ingame_pad].Push(pad_status); in PollLocalPad() 2112 m_pad_buffer[i].Push(pad_status); in SendPadHostPoll() 2129 m_pad_buffer[pad_num].Push(pad_status); in SendPadHostPoll() [all …]
|
H A D | NetPlayClient.h | 122 bool GetNetPads(int pad_nb, bool from_vi, GCPadStatus* pad_status);
|
/dports/x11/libinput/libinput-1.12.6/src/ |
H A D | evdev-tablet-pad.h | 31 enum pad_status { enum
|
/dports/lang/gcc6-aux/gcc-6-20180516/libgfortran/io/ |
H A D | transfer.c | 227 && dtp->u.p.current_unit->pad_status == PAD_NO) in read_sf_internal() 333 if (dtp->u.p.current_unit->pad_status == PAD_NO) in read_sf() 366 if (dtp->u.p.current_unit->pad_status == PAD_NO) in read_sf() 378 || dtp->u.p.current_unit->pad_status == PAD_NO in read_sf() 430 if (unlikely (dtp->u.p.current_unit->pad_status == PAD_NO) in read_block_form() 478 if (dtp->u.p.current_unit->pad_status == PAD_NO) in read_block_form() 506 && dtp->u.p.current_unit->pad_status == PAD_NO) in read_block_form4() 2686 dtp->u.p.current_unit->pad_status in data_transfer_init() 2691 if (dtp->u.p.current_unit->pad_status == PAD_UNSPECIFIED) in data_transfer_init() 2692 dtp->u.p.current_unit->pad_status = dtp->u.p.current_unit->flags.pad; in data_transfer_init() [all …]
|
/dports/lang/gcc48/gcc-4.8.5/libgfortran/io/ |
H A D | transfer.c | 227 && dtp->u.p.current_unit->pad_status == PAD_NO) in read_sf_internal() 333 if (dtp->u.p.current_unit->pad_status == PAD_NO) in read_sf() 366 if (dtp->u.p.current_unit->pad_status == PAD_NO) in read_sf() 378 || dtp->u.p.current_unit->pad_status == PAD_NO in read_sf() 430 if (unlikely (dtp->u.p.current_unit->pad_status == PAD_NO) in read_block_form() 478 if (!dtp->u.p.current_unit->pad_status == PAD_YES) in read_block_form() 506 && dtp->u.p.current_unit->pad_status == PAD_NO) in read_block_form4() 2675 dtp->u.p.current_unit->pad_status in data_transfer_init() 2680 if (dtp->u.p.current_unit->pad_status == PAD_UNSPECIFIED) in data_transfer_init() 2681 dtp->u.p.current_unit->pad_status = dtp->u.p.current_unit->flags.pad; in data_transfer_init() [all …]
|
/dports/devel/arm-none-eabi-gcc492/gcc-4.9.2/libgfortran/io/ |
H A D | transfer.c | 227 && dtp->u.p.current_unit->pad_status == PAD_NO) in read_sf_internal() 333 if (dtp->u.p.current_unit->pad_status == PAD_NO) in read_sf() 366 if (dtp->u.p.current_unit->pad_status == PAD_NO) in read_sf() 378 || dtp->u.p.current_unit->pad_status == PAD_NO in read_sf() 430 if (unlikely (dtp->u.p.current_unit->pad_status == PAD_NO) in read_block_form() 478 if (!dtp->u.p.current_unit->pad_status == PAD_YES) in read_block_form() 506 && dtp->u.p.current_unit->pad_status == PAD_NO) in read_block_form4() 2684 dtp->u.p.current_unit->pad_status in data_transfer_init() 2689 if (dtp->u.p.current_unit->pad_status == PAD_UNSPECIFIED) in data_transfer_init() 2690 dtp->u.p.current_unit->pad_status = dtp->u.p.current_unit->flags.pad; in data_transfer_init() [all …]
|
/dports/lang/gnat_util/gcc-6-20180516/libgfortran/io/ |
H A D | transfer.c | 227 && dtp->u.p.current_unit->pad_status == PAD_NO) in read_sf_internal() 333 if (dtp->u.p.current_unit->pad_status == PAD_NO) in read_sf() 366 if (dtp->u.p.current_unit->pad_status == PAD_NO) in read_sf() 378 || dtp->u.p.current_unit->pad_status == PAD_NO in read_sf() 430 if (unlikely (dtp->u.p.current_unit->pad_status == PAD_NO) in read_block_form() 478 if (dtp->u.p.current_unit->pad_status == PAD_NO) in read_block_form() 506 && dtp->u.p.current_unit->pad_status == PAD_NO) in read_block_form4() 2686 dtp->u.p.current_unit->pad_status in data_transfer_init() 2691 if (dtp->u.p.current_unit->pad_status == PAD_UNSPECIFIED) in data_transfer_init() 2692 dtp->u.p.current_unit->pad_status = dtp->u.p.current_unit->flags.pad; in data_transfer_init() [all …]
|
/dports/devel/mingw32-gcc/gcc-4.8.1/libgfortran/io/ |
H A D | transfer.c | 227 && dtp->u.p.current_unit->pad_status == PAD_NO) in read_sf_internal() 333 if (dtp->u.p.current_unit->pad_status == PAD_NO) in read_sf() 366 if (dtp->u.p.current_unit->pad_status == PAD_NO) in read_sf() 378 || dtp->u.p.current_unit->pad_status == PAD_NO in read_sf() 430 if (unlikely (dtp->u.p.current_unit->pad_status == PAD_NO) in read_block_form() 478 if (!dtp->u.p.current_unit->pad_status == PAD_YES) in read_block_form() 506 && dtp->u.p.current_unit->pad_status == PAD_NO) in read_block_form4() 2674 dtp->u.p.current_unit->pad_status in data_transfer_init() 2679 if (dtp->u.p.current_unit->pad_status == PAD_UNSPECIFIED) in data_transfer_init() 2680 dtp->u.p.current_unit->pad_status = dtp->u.p.current_unit->flags.pad; in data_transfer_init() [all …]
|
/dports/lang/gcc8/gcc-8.5.0/libgfortran/io/ |
H A D | transfer.c | 234 && dtp->u.p.current_unit->pad_status == PAD_NO) in read_sf_internal() 408 if (dtp->u.p.current_unit->pad_status == PAD_NO) in read_sf() 441 if (dtp->u.p.current_unit->pad_status == PAD_NO) in read_sf() 453 || dtp->u.p.current_unit->pad_status == PAD_NO in read_sf() 506 if (unlikely (dtp->u.p.current_unit->pad_status == PAD_NO) in read_block_form() 568 if (dtp->u.p.current_unit->pad_status == PAD_NO) in read_block_form() 596 && dtp->u.p.current_unit->pad_status == PAD_NO) in read_block_form4() 3088 dtp->u.p.current_unit->pad_status in data_transfer_init() 3093 if (dtp->u.p.current_unit->pad_status == PAD_UNSPECIFIED) in data_transfer_init() 3094 dtp->u.p.current_unit->pad_status = dtp->u.p.current_unit->flags.pad; in data_transfer_init() [all …]
|
/dports/devel/riscv64-none-elf-gcc/gcc-8.4.0/libgfortran/io/ |
H A D | transfer.c | 234 && dtp->u.p.current_unit->pad_status == PAD_NO) in read_sf_internal() 408 if (dtp->u.p.current_unit->pad_status == PAD_NO) in read_sf() 441 if (dtp->u.p.current_unit->pad_status == PAD_NO) in read_sf() 453 || dtp->u.p.current_unit->pad_status == PAD_NO in read_sf() 506 if (unlikely (dtp->u.p.current_unit->pad_status == PAD_NO) in read_block_form() 568 if (dtp->u.p.current_unit->pad_status == PAD_NO) in read_block_form() 596 && dtp->u.p.current_unit->pad_status == PAD_NO) in read_block_form4() 3088 dtp->u.p.current_unit->pad_status in data_transfer_init() 3093 if (dtp->u.p.current_unit->pad_status == PAD_UNSPECIFIED) in data_transfer_init() 3094 dtp->u.p.current_unit->pad_status = dtp->u.p.current_unit->flags.pad; in data_transfer_init() [all …]
|
/dports/devel/arm-none-eabi-gcc/gcc-8.4.0/libgfortran/io/ |
H A D | transfer.c | 234 && dtp->u.p.current_unit->pad_status == PAD_NO) in read_sf_internal() 408 if (dtp->u.p.current_unit->pad_status == PAD_NO) in read_sf() 441 if (dtp->u.p.current_unit->pad_status == PAD_NO) in read_sf() 453 || dtp->u.p.current_unit->pad_status == PAD_NO in read_sf() 506 if (unlikely (dtp->u.p.current_unit->pad_status == PAD_NO) in read_block_form() 568 if (dtp->u.p.current_unit->pad_status == PAD_NO) in read_block_form() 596 && dtp->u.p.current_unit->pad_status == PAD_NO) in read_block_form4() 3088 dtp->u.p.current_unit->pad_status in data_transfer_init() 3093 if (dtp->u.p.current_unit->pad_status == PAD_UNSPECIFIED) in data_transfer_init() 3094 dtp->u.p.current_unit->pad_status = dtp->u.p.current_unit->flags.pad; in data_transfer_init() [all …]
|
/dports/devel/riscv32-unknown-elf-gcc/gcc-8.4.0/libgfortran/io/ |
H A D | transfer.c | 234 && dtp->u.p.current_unit->pad_status == PAD_NO) in read_sf_internal() 408 if (dtp->u.p.current_unit->pad_status == PAD_NO) in read_sf() 441 if (dtp->u.p.current_unit->pad_status == PAD_NO) in read_sf() 453 || dtp->u.p.current_unit->pad_status == PAD_NO in read_sf() 506 if (unlikely (dtp->u.p.current_unit->pad_status == PAD_NO) in read_block_form() 568 if (dtp->u.p.current_unit->pad_status == PAD_NO) in read_block_form() 596 && dtp->u.p.current_unit->pad_status == PAD_NO) in read_block_form4() 3088 dtp->u.p.current_unit->pad_status in data_transfer_init() 3093 if (dtp->u.p.current_unit->pad_status == PAD_UNSPECIFIED) in data_transfer_init() 3094 dtp->u.p.current_unit->pad_status = dtp->u.p.current_unit->flags.pad; in data_transfer_init() [all …]
|
/dports/devel/aarch64-none-elf-gcc/gcc-8.4.0/libgfortran/io/ |
H A D | transfer.c | 234 && dtp->u.p.current_unit->pad_status == PAD_NO) in read_sf_internal() 408 if (dtp->u.p.current_unit->pad_status == PAD_NO) in read_sf() 441 if (dtp->u.p.current_unit->pad_status == PAD_NO) in read_sf() 453 || dtp->u.p.current_unit->pad_status == PAD_NO in read_sf() 506 if (unlikely (dtp->u.p.current_unit->pad_status == PAD_NO) in read_block_form() 568 if (dtp->u.p.current_unit->pad_status == PAD_NO) in read_block_form() 596 && dtp->u.p.current_unit->pad_status == PAD_NO) in read_block_form4() 3088 dtp->u.p.current_unit->pad_status in data_transfer_init() 3093 if (dtp->u.p.current_unit->pad_status == PAD_UNSPECIFIED) in data_transfer_init() 3094 dtp->u.p.current_unit->pad_status = dtp->u.p.current_unit->flags.pad; in data_transfer_init() [all …]
|
/dports/devel/riscv64-gcc/gcc-8.3.0/libgfortran/io/ |
H A D | transfer.c | 234 && dtp->u.p.current_unit->pad_status == PAD_NO) in read_sf_internal() 408 if (dtp->u.p.current_unit->pad_status == PAD_NO) in read_sf() 441 if (dtp->u.p.current_unit->pad_status == PAD_NO) in read_sf() 453 || dtp->u.p.current_unit->pad_status == PAD_NO in read_sf() 506 if (unlikely (dtp->u.p.current_unit->pad_status == PAD_NO) in read_block_form() 568 if (dtp->u.p.current_unit->pad_status == PAD_NO) in read_block_form() 596 && dtp->u.p.current_unit->pad_status == PAD_NO) in read_block_form4() 3052 dtp->u.p.current_unit->pad_status in data_transfer_init() 3057 if (dtp->u.p.current_unit->pad_status == PAD_UNSPECIFIED) in data_transfer_init() 3058 dtp->u.p.current_unit->pad_status = dtp->u.p.current_unit->flags.pad; in data_transfer_init() [all …]
|
/dports/lang/gcc9-aux/gcc-9.1.0/libgfortran/io/ |
H A D | transfer.c | 241 && dtp->u.p.current_unit->pad_status == PAD_NO) in read_sf_internal() 415 if (dtp->u.p.current_unit->pad_status == PAD_NO) in read_sf() 448 if (dtp->u.p.current_unit->pad_status == PAD_NO) in read_sf() 460 || dtp->u.p.current_unit->pad_status == PAD_NO in read_sf() 513 if (unlikely (dtp->u.p.current_unit->pad_status == PAD_NO) in read_block_form() 575 if (dtp->u.p.current_unit->pad_status == PAD_NO) in read_block_form() 603 && dtp->u.p.current_unit->pad_status == PAD_NO) in read_block_form4() 3157 dtp->u.p.current_unit->pad_status in data_transfer_init() 3162 if (dtp->u.p.current_unit->pad_status == PAD_UNSPECIFIED) in data_transfer_init() 3163 dtp->u.p.current_unit->pad_status = dtp->u.p.current_unit->flags.pad; in data_transfer_init() [all …]
|
/dports/lang/gcc10/gcc-10.3.0/libgfortran/io/ |
H A D | transfer.c | 242 && dtp->u.p.current_unit->pad_status == PAD_NO) in read_sf_internal() 416 if (dtp->u.p.current_unit->pad_status == PAD_NO) in read_sf() 449 if (dtp->u.p.current_unit->pad_status == PAD_NO) in read_sf() 461 || dtp->u.p.current_unit->pad_status == PAD_NO in read_sf() 514 if (unlikely (dtp->u.p.current_unit->pad_status == PAD_NO) in read_block_form() 576 if (dtp->u.p.current_unit->pad_status == PAD_NO) in read_block_form() 604 && dtp->u.p.current_unit->pad_status == PAD_NO) in read_block_form4() 3208 dtp->u.p.current_unit->pad_status in data_transfer_init() 3213 if (dtp->u.p.current_unit->pad_status == PAD_UNSPECIFIED) in data_transfer_init() 3214 dtp->u.p.current_unit->pad_status = dtp->u.p.current_unit->flags.pad; in data_transfer_init() [all …]
|