You could try to use IMR instead of EMR of the EXTI registers.
Event and interrupts are separate in STM32 (and more ARM CPUs, but not all): interrupts trigger a software interrupt vector, while an event is typically used between peripherals as triggers (e.g. for DMA, timer updates, or other peripheral 'events')