Hear is my implementation plan for creating modular Keyboard / MIDI Mapping GUI. i don't like to mention all things which are implemented in dlgprefmappablecontrollerdlg.ui (mixxx 1.10) hear is the amendments that i put forward.
Create a 5 sections inside the dlgprefcontroller.ui(See the attachment) , these are Keyboard,Midi-In,Midi-Out,Hid-In and Hid-Out. For each sections there will be 1 - A table containing pairs (QTableView) -> Combo-box for all entry in table raw group,value,options(same as in Mixxx 1.10). 2 - save preset(QPushButton) -- > map(xml/cfg) save dialog 3 - load preset(QPushButton) -- > map(xml/cfg) open dialog 4 - Preset Combo(QComboBox) -- > Contain list of all default mixxx provided presets(same as in Mixxx 1.10). 5 - Add Control(QPushButton) -- > Will popup a window and ask for controller event. If any event get then it will ask Controll Group(QComboBox),Contol value(QComboBox),Options List(etc). 6 - Remove Control(QPushButton) -- > same as in Mixxx 1.10 7 - Signal handling ---- >>>> When a signal come from controller the curresponding raw in the table will be focused and blinked, if No curresponding raw then "Add Control" button will be blinked. In Keyboard specific there will be only four columns in table these are Key,Control Grop,Control Value,Options list In Midi specific there will be five columns in table these are Midi Note,Midi Chanel,Control Grop,Control Value,Options list A rough user interface form is attached with this mail. 1 - Use existing XML parser to read controller(Midi/Hid) mapping. 2 - Use existing keyboard config parser to read controller(Keyboard) mapping. 3 - load maps list to Preset Combo(QComboBox) 4 - When Map loaded from a file or preset comboBox_currentIndexChanged emitted use corresponding parser to fill each raw's with this. 5 - Use existing or create XML/Cfg writer to save map. I Have some doubts 1 - Can we use multiple midi script(.js) ? . i mean a special combo-box that will present all scripts so user can use different midi script functions with different devices. is this good ? 2 - Can we implement HID mapping as well ? 3 - Is there any preferred XML Config reader/Writer ? Or i have to code a new one ? 4 - Where can i get proposal template for MIXXX ? 5 - Who will mentor this project ? Expecting your response. Thanking you Nalin.
dlgprefmappablecontrollerdlg.ui
Description: application/designer
------------------------------------------------------------------------------ Learn Graph Databases - Download FREE O'Reilly Book "Graph Databases" is the definitive new guide to graph databases and their applications. Written by three acclaimed leaders in the field, this first edition is now available. Download your free book today! http://p.sf.net/sfu/13534_NeoTech
_______________________________________________ Get Mixxx, the #1 Free MP3 DJ Mixing software Today http://mixxx.org Mixxx-devel mailing list Mixxx-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/mixxx-devel