added keyboard type property.