Giter Site home page Giter Site logo

Comments (4)

ruenes1 avatar ruenes1 commented on May 27, 2024 1

Yes, what you have in mind makes more sense : )

from mt32-pi.

dwhinham avatar dwhinham commented on May 27, 2024

Thank you for taking the time to complete the issue template properly and for the feature suggestion.

This was something I intended to implement some time ago as the current volume button code isn't very pleasant for the user, but ended up forgetting about it.

I've implemented a hold action for the volume buttons which also includes the acceleration behaviour you suggested.

It works a little bit like a PC keyboard, where after a short delay the button will begin to repeat its action. The volume changes will accelerate from 10Hz to 50Hz over 3 seconds, which to me feels quite good.

Feel free to test this build and let me know what you think (simply download kernels.zip and replace the current kernels on your SD card).

If you like it, I'll include it in the next release.

from mt32-pi.

ruenes1 avatar ruenes1 commented on May 27, 2024

I've just tested it and I think it works great! Thanks!

By the way, I've noticed you reserved a pin for a 5th button (the rotary push button in the encoder scheme, but I understand a 5th standard button connected to that pin would also do the same, if support is added to the simple_buttons control scheme).

I don't know if you have some function in mind for that button but, at least for MiSTer users, it could be handy to use it to send a 'reset hanging notes' command, which is needed quite often when a game crashes. In this way, all OSD functions could be mapped to physical buttons. If you think this makes sense, I can open a new feature request issue, if you want.

Best

from mt32-pi.

dwhinham avatar dwhinham commented on May 27, 2024

Thanks for testing the volume buttons, I'm glad it works well for you.

The reserved button will eventually be used for future menu navigation/selection. A "reset hanging notes" function could be one of dozens of functions accessible via the menu - to that end, I don't think it makes much sense to hard-code it to anything else in the meantime.

I haven't got a 100% final design in mind for the control schemes, but the reserved button will probably be used to show the menu and select items, with the volume buttons then temporarily becoming up/down buttons to move the cursor or change values.

Cheers

from mt32-pi.

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.