tests_kernel.test_apple_keyboard module

class AppleKeyboard(rdesc=[5, 1, 9, 6, 161, 1, 133, 1, 5, 7, 25, 224, 41, 231, 21, 0, 37, 1, 117, 1, 149, 8, 129, 2, 117, 8, 149, 1, 129, 1, 117, 1, 149, 5, 5, 8, 25, 1, 41, 5, 145, 2, 117, 3, 149, 1, 145, 1, 117, 8, 149, 6, 21, 0, 38, 255, 0, 5, 7, 25, 0, 42, 255, 0, 129, 0, 192, 5, 12, 9, 1, 161, 1, 133, 71, 5, 1, 9, 6, 161, 2, 5, 6, 9, 32, 21, 0, 38, 255, 0, 117, 8, 149, 1, 129, 2, 192, 192, 5, 12, 9, 1, 161, 1, 133, 17, 21, 0, 37, 1, 117, 1, 149, 3, 129, 1, 117, 1, 149, 1, 5, 12, 9, 184, 129, 2, 6, 255, 0, 9, 3, 129, 2, 117, 1, 149, 3, 129, 1, 5, 12, 133, 18, 21, 0, 37, 1, 117, 1, 149, 1, 9, 205, 129, 2, 9, 179, 129, 2, 9, 180, 129, 2, 9, 181, 129, 2, 9, 182, 129, 2, 129, 1, 129, 1, 129, 1, 133, 19, 21, 0, 37, 1, 117, 1, 149, 1, 6, 1, 255, 9, 10, 129, 2, 6, 1, 255, 9, 12, 129, 34, 117, 1, 149, 6, 129, 1, 133, 9, 9, 11, 117, 8, 149, 1, 177, 2, 117, 8, 149, 2, 177, 1, 192], name='Apple Wireless Keyboard', input_info=(BusType.BLUETOOTH, 1452, 598))

Bases: ArrayKeyboard

report_descriptor = [5, 1, 9, 6, 161, 1, 133, 1, 5, 7, 25, 224, 41, 231, 21, 0, 37, 1, 117, 1, 149, 8, 129, 2, 117, 8, 149, 1, 129, 1, 117, 1, 149, 5, 5, 8, 25, 1, 41, 5, 145, 2, 117, 3, 149, 1, 145, 1, 117, 8, 149, 6, 21, 0, 38, 255, 0, 5, 7, 25, 0, 42, 255, 0, 129, 0, 192, 5, 12, 9, 1, 161, 1, 133, 71, 5, 1, 9, 6, 161, 2, 5, 6, 9, 32, 21, 0, 38, 255, 0, 117, 8, 149, 1, 129, 2, 192, 192, 5, 12, 9, 1, 161, 1, 133, 17, 21, 0, 37, 1, 117, 1, 149, 3, 129, 1, 117, 1, 149, 1, 5, 12, 9, 184, 129, 2, 6, 255, 0, 9, 3, 129, 2, 117, 1, 149, 3, 129, 1, 5, 12, 133, 18, 21, 0, 37, 1, 117, 1, 149, 1, 9, 205, 129, 2, 9, 179, 129, 2, 9, 180, 129, 2, 9, 181, 129, 2, 9, 182, 129, 2, 129, 1, 129, 1, 129, 1, 133, 19, 21, 0, 37, 1, 117, 1, 149, 1, 6, 1, 255, 9, 10, 129, 2, 6, 1, 255, 9, 12, 129, 34, 117, 1, 149, 6, 129, 1, 133, 9, 9, 11, 117, 8, 149, 1, 177, 2, 117, 8, 149, 2, 177, 1, 192]
send_fn_state(state)
class KbdData

Bases: object

class TestAppleKeyboard

Bases: TestArrayKeyboard

create_device()
kernel_modules: list[KernelModule] = [KernelModule(driver_name='apple', module_name='hid-apple')]
test_multiple_fn_function_key_release_between()

check for function key reliability with the fn key.

test_multiple_fn_function_key_release_first()

check for function key reliability with the fn key.

test_single_fn_function_key()

check for function key reliability with the fn key.

test_single_fn_function_key_inverted()

check for function key reliability with the fn key.

test_single_fn_function_key_release_first()

check for function key reliability with the fn key.

test_single_function_key()

check for function key reliability.

test_single_pageup_key_release_first()

check for function key reliability with the [page] up key.