Quantcast
Channel: Active questions tagged haptic-feedback - Stack Overflow
Browsing latest articles
Browse All 41 View Live

how do I add a haptic feedback in a table view while rearranging it’s cells

I need to add haptic feedback in a table view when the user tries to rearrange the cells via dragging and dropping them, but whenever they pass through a cell, even if they don’t drop it there, it...

View Article



Cannot find HapticAudioResourceID in scope

I have a problem when adding audio to haptic feedback using core haptics in swifui. The system keeps showing the error "can't find audioID" in scope as audioID should be a registered audio resource ID...

View Article

How can I check if haptic feedback enabled in system on Android 13 or higher?

I'm trying to get if haptic feedback enabled in System Settings, i.e. globally on a device. I don't need to set this setting, just read.We do it this way on Android 12 or...

View Article

Apple Core Haptics Unity Errors In Xcode - How Do I Fix Them

Error ScreenshotI am trying to get the Apple Core Haptics plug-in to work with Unity but am having issues when I try to build the project.I created a completely blank project with just the Core and...

View Article

Physical meaning of sharpness in ios corehaptics

According to the developer documentation, the parameter hapticsharpness is not explained very clearly to me because there are only descriptions about haptic feedback, and no physical meaning.I tried to...

View Article


Why vibration doesn't work on Android P (API 28)?

I'm trying to implement haptic feedback when changing a value of a seekbar.It works correctly on Android pre-P. On Android P it doesn't work at all.Code:private val vibrator =...

View Article

how to add haptic or sound to my custom keyboard

I want to add haptic and sound to my custom keyboard.Here is my code.let generator = UIImpactFeedbackGenerator(style: .medium)generator.prepare()generator.impactOccurred()What's wrong?

View Article

I want to run haptic feedback when sliding with flutter slidable

I want to execute haptic feedback at the start of a slide, not onTap or onDismissible.The method of using a listener to execute the feedback is implemented, but this sometimes results in a timing error...

View Article


Set Logitech Steering Wheel position/angle from SDL?

I'm writing C code that controls a Logitech gaming wheel using SDL. So far I have successfully implemented the code that sets the steering wheel in autocenter mode with:SDL_HapticSetAutocenter(haptic,...

View Article


SwiftUI Menu - action when menu actually will open

I have a Menu in my app, and I trigger haptic feedback when menu opens (from onTagGesture action).Howeversometimes when I tap on the menu open trigger, the menu won't actually open, but I'm still...

View Article

How can I play a haptic feedback while AvCapture Session is running?

When my Avcapture session is running and ready to record a video , I cannot play and audio files, vibrate or play any haptic feedback? I only found a solution for objective c but not swift. Objective C...

View Article

iOS Haptic Feedback not firing

I'm working with some UIGestures (in particular a force touch). I have all of that working, the additional UI updates/animations all working per the forced touch. However, I would like to add in the...

View Article

Flutter iPhone: Repeated haptic feedback vibrate

I want the phone to buzz repeatedly. The problem is that even though I make multiple calls to HapticFeedback.vibrate, the phone only buzzes once. I have made sure to do the subsequent calls in a .then...

View Article


How to add Haptic Feedback / Vibrations in react native app?

Specifically, I'm trying to get a TouchableOpacity to vibrate the user's device when pressed, and trying to add a vibration when a challenge success modal has been shown in the application.Note that I...

View Article

Set steering wheel angle using Gamepad API

Is it possible to set a specific angle for a Logitech G29 steering wheel using the HTML5 Gamepad API?I assumed the GamepadHapticActuator could be used, but the only GamepadHapticActuatorType is...

View Article


How to make haptic in dynamic island?

In iOS17 dynamic island have capable to interactive with Button and Toggle .I wish to make a haptic effect when tap the button in dynamic island.The normal solution NOT working in dynamic island...

View Article

Is there any way that I can let the HapticGenerator work on any media playing...

So my task is simple. I have a Pixel 7 and I love how it vibrates to the ringtones accordingly.I'm an app developer and I want to implement the hapticgenerator to any media currently playing.I know...

View Article


Haptic Longpress on Reorderable List

On an android, how can I cause a vibrate on the long press of a reorderable list item? I have tried using gesture detector on the item and it disables the ability to reorder the list.

View Article

How to perform a haptic feedback in Jetpack Compose

Using jetpack compose, for a clickevent how to perform haptic feedback. I am new to jetpack compose.This is what i tried -val hapticFeedback = LocalHapticFeedback@Composablefun Tab() { Row() {...

View Article

Image may be NSFW.
Clik here to view.

Direct Volume Rendering Texture overlapping artifacts

I'm trying to use the direct volume rendering in Chai3D, but there is an artifact that makes the edges of the hosting boundary mesh always visible, even when there is another object in front of it. Any...

View Article

Android ignore global haptic feedback settings in API 33+

I want to use haptic feedback when the player takes damage or crashes their car in a game and want to ignore the system global haptic feedback setting, which is generally disabled because the user just...

View Article


Phantom Omni angular velocities are 0

I'm trying to build my application using the Phantom Omni haptic device and in order to get the angular velocity of the device, I'm using a function from its library...

View Article


Add haptic to drag and drop (draggable, dropDestination)

How can I add haptic effect on a drag and drop ?I follow this tutorial: https://www.youtube.com/watch?v=UFiOCcm6zTobut I can't figure out how to add haptic when we select a view and drop...

View Article

CHHapticEngine not generating haptic feedback nor throws error?

I am trying to generate haptic feedback in an iOS application. I am doing so by using CoreHaptics.My code to do this is as follows:do { let engine = try CHHapticEngine() try engine.start() let...

View Article

How to disable text selection for mobile long press but preserve haptic...

I'm trying to do the opposite of what this post asks. I'm implementing a functionality on my webpage where long pressing an element on mobile triggers a function.I used long-press-eventhere. However,...

View Article


why I get an error when I want to generate haptic feedback

I'm programming a timer in SwiftUI.When my timer is finished, I want to make a haptic return, I want a rather heavy vibration like for alarm clocks on phones.The problem is that when the haptic return...

View Article

Turn off trackpad haptic feedback in Xcode Interface Builder?

I came back to working with Xcode recently and I noticed that Interface Builder "rattles" my 2020 (Intel) Air's trackpad a lot by giving haptic feedback when elements snap to layout lines.Is there any...

View Article

On Android how to detect vibrator quality or vibrator type?

On Android, I can use View.performHapticFeedback(HapticFeedbackConstants.XXX) to perform the vibration. But for older phones or phones with Eccentric Rotating Mass (ERM) haptic actuators (vibrators),...

View Article

Sequence of haptic feedback impacts

I have a property@Published var shouldAnimateChatTabIcon: Bool.In the view's modifier .onChange(of: tabBarStateManager.shouldAnimateChatTabIcon), based on shouldAnimateChatTabIcon value, I want to...

View Article



DRV2605 PIC16F interfacing

I'm trying to drive DRV2605L (Adafruit DRV2605L) using PIC16F18877 (DM164142 evaluation board) to control an ERM but I'm getting nowwhere. The output is dead (even with simulation using an I2C...

View Article
Browsing latest articles
Browse All 41 View Live




Latest Images