Coder Social home page Coder Social logo

Comments (4)

giiba avatar giiba commented on July 25, 2024

I don't know if this helps or not, but...

I've been annoyed by the lack of haptic feedback on the 1+1 I recently flashed to UT. I've been using a Nexus 5 and everything works fine as far as vibrations goes so I figured this wasn't a hardware issue as the 1+1 does vibrate, sometimes.

I started digging in the keyboard files:
/usr/share/maliit/plugins/com/ubuntu

and in KeyboardContainer.qml I found lines 85-93: 'HapticsEffect'

and... changing 'duration' from 10 to 25 and rebooting, I now have a reasonable haptics feedback for the keyboard.

So, perhaps all of these missing vibrations are from individual components using too small a duration for the device in question?

from ubuntu-touch.

Flohack74 avatar Flohack74 commented on July 25, 2024

Yes thats true, the motor of the OPO is too small/slow to actually start vibrating for short durations. I would however love to have a "vibration ratio" per device, rather than increasing the timer for all devices. I was already looking into this a bit but were not sure how to place that ratio.

from ubuntu-touch.

Flohack74 avatar Flohack74 commented on July 25, 2024

This has been fixed in ubports/android_device_oneplus_bacon-1#20

from ubuntu-touch.

Flohack74 avatar Flohack74 commented on July 25, 2024

@NeoTheThird are you sure the vibration is too weak on teh FP2? I find it quite usable.

from ubuntu-touch.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.