I think the best in this case is to use the resource that consumes less flash memory, but if this resource will consume the same amount of memory then it will be more beautiful to use the keyboard, as it will be standard as in low result. I voted for option 2, but this feature alone does not consume more flash memory, as I know you will still want to add more features.