bokeh/ipywidgets_bokeh

Controller widget not working

wimtiest opened this issue · 0 comments

Dear team,

I'm trying to serve the Ipywidget for Gamepad control through Panel (v11.3) using the ipywidgets_bokeh wrapper in order to get gamepad input back to the backend server. The mechanism works fine for other widgets like sliders etc.

I have the impression there is an initialization problem (this widget is dynamic as it defines its buttons and axes on first use) and I suspect an issue with serialization/deserialization. Instead of Button or Axes objects with numbers the backend gets similar IPY_MODEL_xxxxx inputs that are ok for the controller object as such. The widget is fully functional and displaying/reacting on the frontend.

I've had a look at the py and js files, but without an expert developer eye there is just too many stuff happening there for me to find the possible issue.

Does any of you have a clue on what may be going wrong and how to correct it?

Kind regards

Wim