Skip to main content
Ctrl+K
Carbonite SDK - Home

Carbonite SDK

  • gitlab
  • twitter
  • youtube
  • instagram
  • www
  • linkedin
  • twitch
Carbonite SDK - Home

Carbonite SDK

  • gitlab
  • twitter
  • youtube
  • instagram
  • www
  • linkedin
  • twitch

Table of Contents

  • Carbonite SDK API
  • input
  • toButtonFlags

toButtonFlags#

Fully qualified name: carb::input::toButtonFlags

Defined in carb/input/InputUtils.h

inline ButtonFlags carb::input::toButtonFlags(
PreviousButtonState previousButtonState,
CurrentButtonState currentButtonState,
)#

Combines the previous and current button states into a Button flags..

Parameters:
  • previousButtonState – PreviousButtonState

  • currentButtonState – CurrentButtonState

Returns:

A Button flags. representation of the previous and current button state.

previous

subscribeToMouseEvents

next

toCurrentButtonState

On this page
  • toButtonFlags()
NVIDIA NVIDIA

Copyright © 2018-2025, NVIDIA Corporation.

Last updated on Apr 22, 2025.