Device.getNKeys

int getNKeys() nothrow

Returns the number of keys the device currently has.

Returns

the number of keys.