The present invention provides compounds useful as inhibitors of Btk, compositions thereof, and methods of using the same.Cette invention concerne des composés utiles comme inhibiteurs de Btk, des compositions associées, ainsi que leurs méthodes dutilisation.