Quantcast
Channel: Active questions tagged haptic-feedback - Stack Overflow
Browsing all 66 articles
Browse latest View live

Haptic feedback on apple watch from iOS

I want to have something similar to what the timer app on iOS is doing - it somehow synchronises with apple watch and runs the timer on both devices. Couldn't figure out how they do that - any ideas?

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

Haptic Feedback in Flutter

Is it possible to have Flutter's HapticFeedback class methods still vibrate the phone even if the Touch Vibrations are not enabled by the user in Android's Settings?Many people don't know about this...

View Article

How to constantly make iPhone vibrate every time the timepicker wheel rolls

I am new to SwiftUI programming, and I currently am working on a mock-up project where I want to create an iPhone timepicker simulator.Part of the codes are shown below and the main part is inspired by...

View Article


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

React Native Allowing Haptics in iOS [closed]

I want to test the allowHapticsAndSystemSoundsDuringRecording variable in my react native project. I know that there is an instance method that allows you to change this value but I'm not sure how to...

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
Browsing all 66 articles
Browse latest View live


Latest Images