Skip to content
Permalink
Branch: add-ableton-pu…
Commits on Jan 6, 2018
  1. Add touch strip

    simonvanderveldt committed Jan 6, 2018
  2. Add grid

    simonvanderveldt committed Jan 6, 2018
Commits on Jan 4, 2018
  1. WIP

    simonvanderveldt committed Jan 3, 2018
Commits on Jan 3, 2018
  1. usb: remove unnecessary BSD_SOURCE define

    harryhaaren authored and simonvanderveldt committed Dec 4, 2017
    Thanks @foolswood for noticing!
    
    Signed-off-by: Harry van Haaren <harryhaaren@gmail.com>
Commits on Dec 2, 2017
  1. mikro mk2: improve pad sensitivity

    harryhaaren committed Nov 24, 2017
    After testing, the sensetivity of the pads needed some updates.
    Future commits will amend and improve these values more.
    
    Signed-off-by: Harry van Haaren <harryhaaren@gmail.com>
  2. mikro mk2: rework median filter to all pads

    harryhaaren committed Nov 24, 2017
    Increased threshold, seems to trigger exactly as desired,
    need to work on linearity of velocity yet.
    
    Signed-off-by: Harry van Haaren <harryhaaren@gmail.com>
  3. mikro mk2: reimplement pad onset median filter

    harryhaaren committed Nov 24, 2017
    Using standard qsort() method for now. This provides a
    large improvement in single-pad handling. Multiple pads
    still seeing issues.
    
    Signed-off-by: Harry van Haaren <harryhaaren@gmail.com>
  4. mikro mk2: rework screen and improvements

    harryhaaren committed Nov 22, 2017
    Signed-off-by: Harry van Haaren <harryhaaren@gmail.com>
  5. mikro mk2: enable screen bitmap xfers

    harryhaaren committed Nov 22, 2017
    This commit enables the blit to screen function to push a single
    channel bitmap of binary data from the application to the screen
    on the maschine. The maschine driver performs the required
    multiplexing of and xfer header mushing to make it happen.
    
    Signed-off-by: Harry van Haaren <harryhaaren@gmail.com>
  6. mikro mk2: clear screen when starting up

    harryhaaren committed Nov 20, 2017
    This commit adds basic screen infrastructure.
    
    Signed-off-by: Harry van Haaren <harryhaaren@gmail.com>
  7. mikro mk2: fix usb writes with libUSB

    harryhaaren committed Nov 20, 2017
    Lights verified as working now
    
    Signed-off-by: Harry van Haaren <harryhaaren@gmail.com>
  8. mikro mk2: reworking pad reading

    harryhaaren committed Nov 20, 2017
    Need to rework filters for new arrival rate of data,
    which means that in general the "feel" for the pads
    will need to be re-evaluated.
    
    Signed-off-by: Harry van Haaren <harryhaaren@gmail.com>
  9. mikro mk2: rework USB xfers to use libUSB

    harryhaaren committed Nov 20, 2017
    This open the libUSB backend to maschine, removing the requirement
    on the /dev/hidraw interface. Currently the bytes are only read,
    and they are not decoded properly, due to an offset difference between
    the HidRaw buffer (including endpoint as first byte) and libUSB data
    (without said first byte).
    
    Signed-off-by: Harry van Haaren <harryhaaren@gmail.com>
  10. mikro mk2: timing measurements for read / write

    harryhaaren committed Oct 6, 2017
    Using the HIDRAW API, time read and write durations.
    
    Signed-off-by: Harry van Haaren <harryhaaren@gmail.com>
  11. jam: remove usleep() from disconnect

    harryhaaren committed Dec 2, 2017
    During debugging, a usleep() was added to allow USB writes
    progress to the device. This has since been fixed in the USB
    sub-system, to wait for a specific amount of time or until any
    outstanding writes have completed (whichever happens first),
    see commit 859ea9a for details.
    
    Signed-off-by: Harry van Haaren <harryhaaren@gmail.com>
  12. usb: remove debug print from async write path

    harryhaaren committed Nov 28, 2017
    Signed-off-by: Harry van Haaren <harryhaaren@gmail.com>
  13. ctlra/avtka/x1: add 7 segment display support

    harryhaaren committed Nov 26, 2017
    Relates to feature request openAVproductions#18
    
    Signed-off-by: Harry van Haaren <harryhaaren@gmail.com>
  14. ctlra: fix return if invalid result in virtual dev

    harryhaaren committed Nov 26, 2017
    This commit fixes a possible segfault if a controller
    is virtualized, and the device returns NULL instead of
    a valid device_t from its connect() function.
    
    Previously a NULL pointer + offset would be passed to the
    application accept_dev_func(), which would often result
    in a segfault. Returning early before the app dev accept
    call handles this.
    
    Signed-off-by: Harry van Haaren <harryhaaren@gmail.com>
  15. usb: on closing, wait a bit for inflight writes

    harryhaaren committed Nov 13, 2017
    This gives the USB subsystem / kernel / device a chance to
    turn off some LEDs before we terminate the USB connection,
    (and in doing so cancel any outstanding events..).
    
    Use the inflight write count to skip out of waiting if it
    isn't required.
    
    Signed-off-by: Harry van Haaren <harryhaaren@gmail.com>
  16. jam: memset all lights to off before quitting

    harryhaaren committed Nov 10, 2017
    Also usleep to allow the usb transactions to retire.
    
    Signed-off-by: Harry van Haaren <harryhaaren@gmail.com>
  17. jam: clean up led write routines as working stable

    harryhaaren committed Nov 10, 2017
    Note that stable means that it is consistently performing the writes
    in a performant way, without drops of event messages.
    
    The colour table index still needs to be accessed to fix the colour-id
    lookups.
    
    Signed-off-by: Harry van Haaren <harryhaaren@gmail.com>
  18. jam: reworking led support, making progress

    harryhaaren committed Nov 10, 2017
    Still hacky code and an issue with writing both grid and touchstrips
    during the same function.
    
    Signed-off-by: Harry van Haaren <harryhaaren@gmail.com>
  19. jam: remove linux specific /dev/hidraw code

    harryhaaren committed Nov 10, 2017
    This commit removes #ifdef-ed code out of the driver, relying on
    libUSB to perform all communication. Testing shows that with the
    refactored USB code no events are dropped, so there's no reason
    to not switch to it.
    
    Signed-off-by: Harry van Haaren <harryhaaren@gmail.com>
  20. jam: various fixes, working on reducing complexity

    harryhaaren committed Nov 10, 2017
    Signed-off-by: Harry van Haaren <harryhaaren@gmail.com>
  21. jam: properly cleanup libUSB based interaction

    harryhaaren committed Nov 10, 2017
    Also nuke some dead code
    
    Signed-off-by: Harry van Haaren <harryhaaren@gmail.com>
  22. jam: fix feedback sizes for button and slider

    harryhaaren committed Nov 10, 2017
    This removes "garbage" stuff that was being drawn by eg:
    device_test as it was reading off the end of an array and
    representing it as AVTKA widgets..
    
    Signed-off-by: Harry van Haaren <harryhaaren@gmail.com>
  23. jam: fix touch depart value on touchstrips

    harryhaaren committed Nov 10, 2017
    Previously, the value would always jump to 0 as the touch-depart
    event message was interpreted as a value message.
    
    Signed-off-by: Harry van Haaren <harryhaaren@gmail.com>
Commits on Nov 10, 2017
  1. Merge pull request openAVproductions#64 from openAVproductions/dev

    harryhaaren committed Nov 10, 2017
    Fix Screen/LED Strip define conflict, general improvements
Commits on Nov 5, 2017
  1. avtka: fix FB_LED_STRIP and FB_SCREEN defines

    harryhaaren committed Nov 5, 2017
    Previously these two bitmasks had the same value, causing
    confusion between screens and LED strips when drawn.
    
    Signed-off-by: Harry van Haaren <harryhaaren@gmail.com>
Commits on Nov 3, 2017
  1. dev_test: don't accept generic MIDI device

    harryhaaren committed Nov 3, 2017
    Makes no sense to test a generic MIDI implementation, as the
    implementation is generic. Ignoring it allows the next driver
    to create the AVTKA UI - so that this example still serves its
    purpose.
    
    Signed-off-by: Harry van Haaren <harryhaaren@gmail.com>
  2. Merge pull request openAVproductions#57 from openAVproductions/dev

    harryhaaren committed Nov 3, 2017
    Generic MIDI backend merge, thanks @foolswood and @simonvanderveldt!
  3. devices/midi: fix return from 0 to NULL

    harryhaaren committed Nov 3, 2017
    Thanks for suggestion @foolswood! (relates to pr openAVproductions#57)
    
    Signed-off-by: Harry van Haaren <harryhaaren@gmail.com>
  4. devices/midi: remove dev specific code

    harryhaaren committed Nov 3, 2017
    This commit removes device-specific defines from the generic
    MIDI backend. These values are ignored anyway, so this should
    not impact the operation in any way.
    
    Re PR openAVproductions#57, thanks @simonvanderveldt for the review!
    
    Signed-off-by: Harry van Haaren <harryhaaren@gmail.com>
Older
You can’t perform that action at this time.