X-Git-Url: https://git.cinelerra-gg.org/git/?a=blobdiff_plain;f=cinelerra-5.1%2Fcinelerra%2Fshuttle.C;h=4c780f1a6021105972acd6a627bbc060b4ee7c77;hb=39c01b7242f15858ebd8847e8895ac880e464ff2;hp=7bf3c5e486df18739192dce8119758274b3c7f6f;hpb=45dd712aa4b2894f6b2390b4797262831dcdb47a;p=goodguy%2Fcinelerra.git diff --git a/cinelerra-5.1/cinelerra/shuttle.C b/cinelerra-5.1/cinelerra/shuttle.C index 7bf3c5e4..4c780f1a 100644 --- a/cinelerra-5.1/cinelerra/shuttle.C +++ b/cinelerra-5.1/cinelerra/shuttle.C @@ -619,6 +619,8 @@ static const struct shuttle_dev { 0x0b33, 0x0030 }, { "/dev/input/by-id/usb-Contour_Design_ShuttlePro-event-if00", 0x0b33, 0x0030 }, + { "/dev/input/by-id/usb-Contour_Design_ShuttlePRO_v2-event-joystick", + 0x0b33, 0x0030 }, }; #ifdef HAVE_SHUTTLE_USB @@ -891,7 +893,7 @@ void Shuttle::run() if( first_time ) break; continue; } - if( !ioctl(fd, EVIOCGRAB, 1) ) { // exclusive access + if( 1 || !ioctl(fd, EVIOCGRAB, 1) ) { // exclusive access first_time = 0; while( !done ) { int ret = read(fd, &ev, sizeof(ev));