@Mavireck: Speaking of other devices, I'd possibly get rid of the user-configurable screen dimensions (or at least make that a dev/test option), and instead default to figuring them out automagically (say, via fbink_get_state() ;p)

.
Code:
state = ffi.new("FBInkState *")
FBInk.fbink_get_state(fbink_cfg, state)
print("Screen is {}x{}".format(state.screen_width, state.screen_height))