From: Tobias Leich Date: Mon, 9 Nov 2009 17:37:33 +0000 (+0100) Subject: added everything from keysym.h and missing tests X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=commitdiff_plain;h=13dc1afb54e492dfac6192620fd702acae67444c;p=sdlgit%2FSDL_perl.git added everything from keysym.h and missing tests --- diff --git a/lib/SDL/Constants.pm b/lib/SDL/Constants.pm index ff0f2b2..3e1e4da 100644 --- a/lib/SDL/Constants.pm +++ b/lib/SDL/Constants.pm @@ -95,6 +95,7 @@ our @EXPORT=qw( SDLK_CLEAR SDLK_COLON SDLK_COMMA + SDLK_COMPOSE SDLK_DELETE SDLK_DOLLAR SDLK_DOWN @@ -103,6 +104,7 @@ our @EXPORT=qw( SDLK_ESCAPE SDLK_EURO SDLK_EXCLAIM + SDLK_FIRST SDLK_F1 SDLK_F10 SDLK_F11 @@ -181,7 +183,104 @@ our @EXPORT=qw( SDLK_TAB SDLK_UNDERSCORE SDLK_UNDO + SDLK_UNKNOWN SDLK_UP + SDLK_WORLD_0 + SDLK_WORLD_1 + SDLK_WORLD_2 + SDLK_WORLD_3 + SDLK_WORLD_4 + SDLK_WORLD_5 + SDLK_WORLD_6 + SDLK_WORLD_7 + SDLK_WORLD_8 + SDLK_WORLD_9 + SDLK_WORLD_10 + SDLK_WORLD_11 + SDLK_WORLD_12 + SDLK_WORLD_13 + SDLK_WORLD_14 + SDLK_WORLD_15 + SDLK_WORLD_16 + SDLK_WORLD_17 + SDLK_WORLD_18 + SDLK_WORLD_19 + SDLK_WORLD_20 + SDLK_WORLD_21 + SDLK_WORLD_22 + SDLK_WORLD_23 + SDLK_WORLD_24 + SDLK_WORLD_25 + SDLK_WORLD_26 + SDLK_WORLD_27 + SDLK_WORLD_28 + SDLK_WORLD_29 + SDLK_WORLD_30 + SDLK_WORLD_31 + SDLK_WORLD_32 + SDLK_WORLD_33 + SDLK_WORLD_34 + SDLK_WORLD_35 + SDLK_WORLD_36 + SDLK_WORLD_37 + SDLK_WORLD_38 + SDLK_WORLD_39 + SDLK_WORLD_40 + SDLK_WORLD_41 + SDLK_WORLD_42 + SDLK_WORLD_43 + SDLK_WORLD_44 + SDLK_WORLD_45 + SDLK_WORLD_46 + SDLK_WORLD_47 + SDLK_WORLD_48 + SDLK_WORLD_49 + SDLK_WORLD_50 + SDLK_WORLD_51 + SDLK_WORLD_52 + SDLK_WORLD_53 + SDLK_WORLD_54 + SDLK_WORLD_55 + SDLK_WORLD_56 + SDLK_WORLD_57 + SDLK_WORLD_58 + SDLK_WORLD_59 + SDLK_WORLD_60 + SDLK_WORLD_61 + SDLK_WORLD_62 + SDLK_WORLD_63 + SDLK_WORLD_64 + SDLK_WORLD_65 + SDLK_WORLD_66 + SDLK_WORLD_67 + SDLK_WORLD_68 + SDLK_WORLD_69 + SDLK_WORLD_70 + SDLK_WORLD_71 + SDLK_WORLD_72 + SDLK_WORLD_73 + SDLK_WORLD_74 + SDLK_WORLD_75 + SDLK_WORLD_76 + SDLK_WORLD_77 + SDLK_WORLD_78 + SDLK_WORLD_79 + SDLK_WORLD_80 + SDLK_WORLD_81 + SDLK_WORLD_82 + SDLK_WORLD_83 + SDLK_WORLD_84 + SDLK_WORLD_85 + SDLK_WORLD_86 + SDLK_WORLD_87 + SDLK_WORLD_88 + SDLK_WORLD_89 + SDLK_WORLD_90 + SDLK_WORLD_91 + SDLK_WORLD_92 + SDLK_WORLD_93 + SDLK_WORLD_94 + SDLK_WORLD_95 SDLK_a SDLK_b SDLK_c @@ -418,6 +517,7 @@ use constant { SDLK_CLEAR => 12, SDLK_COLON => 58, SDLK_COMMA => 44, + SDLK_COMPOSE => 314, SDLK_DELETE => 127, SDLK_DOLLAR => 36, SDLK_DOWN => 274, @@ -441,6 +541,7 @@ use constant { SDLK_F7 => 288, SDLK_F8 => 289, SDLK_F9 => 290, + SDLK_FIRST => 0, SDLK_GREATER => 62, SDLK_HASH => 35, SDLK_HELP => 315, @@ -504,7 +605,104 @@ use constant { SDLK_TAB => 9, SDLK_UNDERSCORE => 95, SDLK_UNDO => 322, + SDLK_UNKNOWN => 0, SDLK_UP => 273, + SDLK_WORLD_0 => 160, + SDLK_WORLD_1 => 161, + SDLK_WORLD_2 => 162, + SDLK_WORLD_3 => 163, + SDLK_WORLD_4 => 164, + SDLK_WORLD_5 => 165, + SDLK_WORLD_6 => 166, + SDLK_WORLD_7 => 167, + SDLK_WORLD_8 => 168, + SDLK_WORLD_9 => 169, + SDLK_WORLD_10 => 170, + SDLK_WORLD_11 => 171, + SDLK_WORLD_12 => 172, + SDLK_WORLD_13 => 173, + SDLK_WORLD_14 => 174, + SDLK_WORLD_15 => 175, + SDLK_WORLD_16 => 176, + SDLK_WORLD_17 => 177, + SDLK_WORLD_18 => 178, + SDLK_WORLD_19 => 179, + SDLK_WORLD_20 => 180, + SDLK_WORLD_21 => 181, + SDLK_WORLD_22 => 182, + SDLK_WORLD_23 => 183, + SDLK_WORLD_24 => 184, + SDLK_WORLD_25 => 185, + SDLK_WORLD_26 => 186, + SDLK_WORLD_27 => 187, + SDLK_WORLD_28 => 188, + SDLK_WORLD_29 => 189, + SDLK_WORLD_30 => 190, + SDLK_WORLD_31 => 191, + SDLK_WORLD_32 => 192, + SDLK_WORLD_33 => 193, + SDLK_WORLD_34 => 194, + SDLK_WORLD_35 => 195, + SDLK_WORLD_36 => 196, + SDLK_WORLD_37 => 197, + SDLK_WORLD_38 => 198, + SDLK_WORLD_39 => 199, + SDLK_WORLD_40 => 200, + SDLK_WORLD_41 => 201, + SDLK_WORLD_42 => 202, + SDLK_WORLD_43 => 203, + SDLK_WORLD_44 => 204, + SDLK_WORLD_45 => 205, + SDLK_WORLD_46 => 206, + SDLK_WORLD_47 => 207, + SDLK_WORLD_48 => 208, + SDLK_WORLD_49 => 209, + SDLK_WORLD_50 => 210, + SDLK_WORLD_51 => 211, + SDLK_WORLD_52 => 212, + SDLK_WORLD_53 => 213, + SDLK_WORLD_54 => 214, + SDLK_WORLD_55 => 215, + SDLK_WORLD_56 => 216, + SDLK_WORLD_57 => 217, + SDLK_WORLD_58 => 218, + SDLK_WORLD_59 => 219, + SDLK_WORLD_60 => 220, + SDLK_WORLD_61 => 221, + SDLK_WORLD_62 => 222, + SDLK_WORLD_63 => 223, + SDLK_WORLD_64 => 224, + SDLK_WORLD_65 => 225, + SDLK_WORLD_66 => 226, + SDLK_WORLD_67 => 227, + SDLK_WORLD_68 => 228, + SDLK_WORLD_69 => 229, + SDLK_WORLD_70 => 230, + SDLK_WORLD_71 => 231, + SDLK_WORLD_72 => 232, + SDLK_WORLD_73 => 233, + SDLK_WORLD_74 => 234, + SDLK_WORLD_75 => 235, + SDLK_WORLD_76 => 236, + SDLK_WORLD_77 => 237, + SDLK_WORLD_78 => 238, + SDLK_WORLD_79 => 239, + SDLK_WORLD_80 => 240, + SDLK_WORLD_81 => 241, + SDLK_WORLD_82 => 242, + SDLK_WORLD_83 => 243, + SDLK_WORLD_84 => 244, + SDLK_WORLD_85 => 245, + SDLK_WORLD_86 => 246, + SDLK_WORLD_87 => 247, + SDLK_WORLD_88 => 248, + SDLK_WORLD_89 => 249, + SDLK_WORLD_90 => 250, + SDLK_WORLD_91 => 251, + SDLK_WORLD_92 => 252, + SDLK_WORLD_93 => 253, + SDLK_WORLD_94 => 254, + SDLK_WORLD_95 => 255, SDLK_a => 97, SDLK_b => 98, SDLK_c => 99, diff --git a/t/constantspm.t b/t/constantspm.t index 0f06388..8c97df5 100644 --- a/t/constantspm.t +++ b/t/constantspm.t @@ -129,6 +129,8 @@ is( SDLK_COLON, 58, 'SDLK_COLON should be imported' ); is( SDLK_COLON(), 58, 'SDLK_COLON() should also be available' ); is( SDLK_COMMA, 44, 'SDLK_COMMA should be imported' ); is( SDLK_COMMA(), 44, 'SDLK_COMMA() should also be available' ); +is( SDLK_COMPOSE, 314, 'SDLK_COMPOSE should be imported' ); +is( SDLK_COMPOSE(), 314, 'SDLK_COMPOSE() should also be available' ); is( SDLK_DELETE, 127, 'SDLK_DELETE should be imported' ); is( SDLK_DELETE(), 127, 'SDLK_DELETE() should also be available' ); is( SDLK_DOLLAR, 36, 'SDLK_DOLLAR should be imported' ); @@ -175,6 +177,8 @@ is( SDLK_F8, 289, 'SDLK_F8 should be imported' ); is( SDLK_F8(), 289, 'SDLK_F8() should also be available' ); is( SDLK_F9, 290, 'SDLK_F9 should be imported' ); is( SDLK_F9(), 290, 'SDLK_F9() should also be available' ); +is( SDLK_FIRST, 0, 'SDLK_FIRST should be imported' ); +is( SDLK_FIRST(), 0, 'SDLK_FIRST() should also be available' ); is( SDLK_GREATER, 62, 'SDLK_GREATER should be imported' ); is( SDLK_GREATER(), 62, 'SDLK_GREATER() should also be available' ); is( SDLK_HASH, 35, 'SDLK_HASH should be imported' ); @@ -301,8 +305,202 @@ is( SDLK_UNDERSCORE, 95, 'SDLK_UNDERSCORE should be imported' ); is( SDLK_UNDERSCORE(), 95, 'SDLK_UNDERSCORE() should also be available' ); is( SDLK_UNDO, 322, 'SDLK_UNDO should be imported' ); is( SDLK_UNDO(), 322, 'SDLK_UNDO() should also be available' ); +is( SDLK_UNKNOWN, 0, 'SDLK_WORLD_95 should be imported' ); +is( SDLK_UNKNOWN(), 0, 'SDLK_WORLD_95() should also be available' ); is( SDLK_UP, 273, 'SDLK_UP should be imported' ); is( SDLK_UP(), 273, 'SDLK_UP() should also be available' ); +is( SDLK_WORLD_0, 160, 'SDLK_WORLD_0 should be imported' ); +is( SDLK_WORLD_0(), 160, 'SDLK_WORLD_0() should also be available' ); +is( SDLK_WORLD_1, 161, 'SDLK_WORLD_1 should be imported' ); +is( SDLK_WORLD_1(), 161, 'SDLK_WORLD_1() should also be available' ); +is( SDLK_WORLD_2, 162, 'SDLK_WORLD_2 should be imported' ); +is( SDLK_WORLD_2(), 162, 'SDLK_WORLD_2() should also be available' ); +is( SDLK_WORLD_3, 163, 'SDLK_WORLD_3 should be imported' ); +is( SDLK_WORLD_3(), 163, 'SDLK_WORLD_3() should also be available' ); +is( SDLK_WORLD_4, 164, 'SDLK_WORLD_4 should be imported' ); +is( SDLK_WORLD_4(), 164, 'SDLK_WORLD_4() should also be available' ); +is( SDLK_WORLD_5, 165, 'SDLK_WORLD_5 should be imported' ); +is( SDLK_WORLD_5(), 165, 'SDLK_WORLD_5() should also be available' ); +is( SDLK_WORLD_6, 166, 'SDLK_WORLD_6 should be imported' ); +is( SDLK_WORLD_6(), 166, 'SDLK_WORLD_6() should also be available' ); +is( SDLK_WORLD_7, 167, 'SDLK_WORLD_7 should be imported' ); +is( SDLK_WORLD_7(), 167, 'SDLK_WORLD_7() should also be available' ); +is( SDLK_WORLD_8, 168, 'SDLK_WORLD_8 should be imported' ); +is( SDLK_WORLD_8(), 168, 'SDLK_WORLD_8() should also be available' ); +is( SDLK_WORLD_9, 169, 'SDLK_WORLD_9 should be imported' ); +is( SDLK_WORLD_9(), 169, 'SDLK_WORLD_9() should also be available' ); +is( SDLK_WORLD_10, 170, 'SDLK_WORLD_10 should be imported' ); +is( SDLK_WORLD_10(), 170, 'SDLK_WORLD_10() should also be available' ); +is( SDLK_WORLD_11, 171, 'SDLK_WORLD_11 should be imported' ); +is( SDLK_WORLD_11(), 171, 'SDLK_WORLD_11() should also be available' ); +is( SDLK_WORLD_12, 172, 'SDLK_WORLD_12 should be imported' ); +is( SDLK_WORLD_12(), 172, 'SDLK_WORLD_12() should also be available' ); +is( SDLK_WORLD_13, 173, 'SDLK_WORLD_13 should be imported' ); +is( SDLK_WORLD_13(), 173, 'SDLK_WORLD_13() should also be available' ); +is( SDLK_WORLD_14, 174, 'SDLK_WORLD_14 should be imported' ); +is( SDLK_WORLD_14(), 174, 'SDLK_WORLD_14() should also be available' ); +is( SDLK_WORLD_15, 175, 'SDLK_WORLD_15 should be imported' ); +is( SDLK_WORLD_15(), 175, 'SDLK_WORLD_15() should also be available' ); +is( SDLK_WORLD_16, 176, 'SDLK_WORLD_16 should be imported' ); +is( SDLK_WORLD_16(), 176, 'SDLK_WORLD_16() should also be available' ); +is( SDLK_WORLD_17, 177, 'SDLK_WORLD_17 should be imported' ); +is( SDLK_WORLD_17(), 177, 'SDLK_WORLD_17() should also be available' ); +is( SDLK_WORLD_18, 178, 'SDLK_WORLD_18 should be imported' ); +is( SDLK_WORLD_18(), 178, 'SDLK_WORLD_18() should also be available' ); +is( SDLK_WORLD_19, 179, 'SDLK_WORLD_19 should be imported' ); +is( SDLK_WORLD_19(), 179, 'SDLK_WORLD_19() should also be available' ); +is( SDLK_WORLD_20, 180, 'SDLK_WORLD_20 should be imported' ); +is( SDLK_WORLD_20(), 180, 'SDLK_WORLD_20() should also be available' ); +is( SDLK_WORLD_21, 181, 'SDLK_WORLD_21 should be imported' ); +is( SDLK_WORLD_21(), 181, 'SDLK_WORLD_21() should also be available' ); +is( SDLK_WORLD_22, 182, 'SDLK_WORLD_22 should be imported' ); +is( SDLK_WORLD_22(), 182, 'SDLK_WORLD_22() should also be available' ); +is( SDLK_WORLD_23, 183, 'SDLK_WORLD_23 should be imported' ); +is( SDLK_WORLD_23(), 183, 'SDLK_WORLD_23() should also be available' ); +is( SDLK_WORLD_24, 184, 'SDLK_WORLD_24 should be imported' ); +is( SDLK_WORLD_24(), 184, 'SDLK_WORLD_24() should also be available' ); +is( SDLK_WORLD_25, 185, 'SDLK_WORLD_25 should be imported' ); +is( SDLK_WORLD_25(), 185, 'SDLK_WORLD_25() should also be available' ); +is( SDLK_WORLD_26, 186, 'SDLK_WORLD_26 should be imported' ); +is( SDLK_WORLD_26(), 186, 'SDLK_WORLD_26() should also be available' ); +is( SDLK_WORLD_27, 187, 'SDLK_WORLD_27 should be imported' ); +is( SDLK_WORLD_27(), 187, 'SDLK_WORLD_27() should also be available' ); +is( SDLK_WORLD_28, 188, 'SDLK_WORLD_28 should be imported' ); +is( SDLK_WORLD_28(), 188, 'SDLK_WORLD_28() should also be available' ); +is( SDLK_WORLD_29, 189, 'SDLK_WORLD_29 should be imported' ); +is( SDLK_WORLD_29(), 189, 'SDLK_WORLD_29() should also be available' ); +is( SDLK_WORLD_30, 190, 'SDLK_WORLD_30 should be imported' ); +is( SDLK_WORLD_30(), 190, 'SDLK_WORLD_30() should also be available' ); +is( SDLK_WORLD_31, 191, 'SDLK_WORLD_31 should be imported' ); +is( SDLK_WORLD_31(), 191, 'SDLK_WORLD_31() should also be available' ); +is( SDLK_WORLD_32, 192, 'SDLK_WORLD_32 should be imported' ); +is( SDLK_WORLD_32(), 192, 'SDLK_WORLD_32() should also be available' ); +is( SDLK_WORLD_33, 193, 'SDLK_WORLD_33 should be imported' ); +is( SDLK_WORLD_33(), 193, 'SDLK_WORLD_33() should also be available' ); +is( SDLK_WORLD_34, 194, 'SDLK_WORLD_34 should be imported' ); +is( SDLK_WORLD_34(), 194, 'SDLK_WORLD_34() should also be available' ); +is( SDLK_WORLD_35, 195, 'SDLK_WORLD_35 should be imported' ); +is( SDLK_WORLD_35(), 195, 'SDLK_WORLD_35() should also be available' ); +is( SDLK_WORLD_36, 196, 'SDLK_WORLD_36 should be imported' ); +is( SDLK_WORLD_36(), 196, 'SDLK_WORLD_36() should also be available' ); +is( SDLK_WORLD_37, 197, 'SDLK_WORLD_37 should be imported' ); +is( SDLK_WORLD_37(), 197, 'SDLK_WORLD_37() should also be available' ); +is( SDLK_WORLD_38, 198, 'SDLK_WORLD_38 should be imported' ); +is( SDLK_WORLD_38(), 198, 'SDLK_WORLD_38() should also be available' ); +is( SDLK_WORLD_39, 199, 'SDLK_WORLD_39 should be imported' ); +is( SDLK_WORLD_39(), 199, 'SDLK_WORLD_39() should also be available' ); +is( SDLK_WORLD_40, 200, 'SDLK_WORLD_40 should be imported' ); +is( SDLK_WORLD_40(), 200, 'SDLK_WORLD_40() should also be available' ); +is( SDLK_WORLD_41, 201, 'SDLK_WORLD_41 should be imported' ); +is( SDLK_WORLD_41(), 201, 'SDLK_WORLD_41() should also be available' ); +is( SDLK_WORLD_42, 202, 'SDLK_WORLD_42 should be imported' ); +is( SDLK_WORLD_42(), 202, 'SDLK_WORLD_42() should also be available' ); +is( SDLK_WORLD_43, 203, 'SDLK_WORLD_43 should be imported' ); +is( SDLK_WORLD_43(), 203, 'SDLK_WORLD_43() should also be available' ); +is( SDLK_WORLD_44, 204, 'SDLK_WORLD_44 should be imported' ); +is( SDLK_WORLD_44(), 204, 'SDLK_WORLD_44() should also be available' ); +is( SDLK_WORLD_45, 205, 'SDLK_WORLD_45 should be imported' ); +is( SDLK_WORLD_45(), 205, 'SDLK_WORLD_45() should also be available' ); +is( SDLK_WORLD_46, 206, 'SDLK_WORLD_46 should be imported' ); +is( SDLK_WORLD_46(), 206, 'SDLK_WORLD_46() should also be available' ); +is( SDLK_WORLD_47, 207, 'SDLK_WORLD_47 should be imported' ); +is( SDLK_WORLD_47(), 207, 'SDLK_WORLD_47() should also be available' ); +is( SDLK_WORLD_48, 208, 'SDLK_WORLD_48 should be imported' ); +is( SDLK_WORLD_48(), 208, 'SDLK_WORLD_48() should also be available' ); +is( SDLK_WORLD_49, 209, 'SDLK_WORLD_49 should be imported' ); +is( SDLK_WORLD_49(), 209, 'SDLK_WORLD_49() should also be available' ); +is( SDLK_WORLD_50, 210, 'SDLK_WORLD_50 should be imported' ); +is( SDLK_WORLD_50(), 210, 'SDLK_WORLD_50() should also be available' ); +is( SDLK_WORLD_51, 211, 'SDLK_WORLD_51 should be imported' ); +is( SDLK_WORLD_51(), 211, 'SDLK_WORLD_51() should also be available' ); +is( SDLK_WORLD_52, 212, 'SDLK_WORLD_52 should be imported' ); +is( SDLK_WORLD_52(), 212, 'SDLK_WORLD_52() should also be available' ); +is( SDLK_WORLD_53, 213, 'SDLK_WORLD_53 should be imported' ); +is( SDLK_WORLD_53(), 213, 'SDLK_WORLD_53() should also be available' ); +is( SDLK_WORLD_54, 214, 'SDLK_WORLD_54 should be imported' ); +is( SDLK_WORLD_54(), 214, 'SDLK_WORLD_54() should also be available' ); +is( SDLK_WORLD_55, 215, 'SDLK_WORLD_55 should be imported' ); +is( SDLK_WORLD_55(), 215, 'SDLK_WORLD_55() should also be available' ); +is( SDLK_WORLD_56, 216, 'SDLK_WORLD_56 should be imported' ); +is( SDLK_WORLD_56(), 216, 'SDLK_WORLD_56() should also be available' ); +is( SDLK_WORLD_57, 217, 'SDLK_WORLD_57 should be imported' ); +is( SDLK_WORLD_57(), 217, 'SDLK_WORLD_57() should also be available' ); +is( SDLK_WORLD_58, 218, 'SDLK_WORLD_58 should be imported' ); +is( SDLK_WORLD_58(), 218, 'SDLK_WORLD_58() should also be available' ); +is( SDLK_WORLD_59, 219, 'SDLK_WORLD_59 should be imported' ); +is( SDLK_WORLD_59(), 219, 'SDLK_WORLD_59() should also be available' ); +is( SDLK_WORLD_60, 220, 'SDLK_WORLD_60 should be imported' ); +is( SDLK_WORLD_60(), 220, 'SDLK_WORLD_60() should also be available' ); +is( SDLK_WORLD_61, 221, 'SDLK_WORLD_61 should be imported' ); +is( SDLK_WORLD_61(), 221, 'SDLK_WORLD_61() should also be available' ); +is( SDLK_WORLD_62, 222, 'SDLK_WORLD_62 should be imported' ); +is( SDLK_WORLD_62(), 222, 'SDLK_WORLD_62() should also be available' ); +is( SDLK_WORLD_63, 223, 'SDLK_WORLD_63 should be imported' ); +is( SDLK_WORLD_63(), 223, 'SDLK_WORLD_63() should also be available' ); +is( SDLK_WORLD_64, 224, 'SDLK_WORLD_64 should be imported' ); +is( SDLK_WORLD_64(), 224, 'SDLK_WORLD_64() should also be available' ); +is( SDLK_WORLD_65, 225, 'SDLK_WORLD_65 should be imported' ); +is( SDLK_WORLD_65(), 225, 'SDLK_WORLD_65() should also be available' ); +is( SDLK_WORLD_66, 226, 'SDLK_WORLD_66 should be imported' ); +is( SDLK_WORLD_66(), 226, 'SDLK_WORLD_66() should also be available' ); +is( SDLK_WORLD_67, 227, 'SDLK_WORLD_67 should be imported' ); +is( SDLK_WORLD_67(), 227, 'SDLK_WORLD_67() should also be available' ); +is( SDLK_WORLD_68, 228, 'SDLK_WORLD_68 should be imported' ); +is( SDLK_WORLD_68(), 228, 'SDLK_WORLD_68() should also be available' ); +is( SDLK_WORLD_69, 229, 'SDLK_WORLD_69 should be imported' ); +is( SDLK_WORLD_69(), 229, 'SDLK_WORLD_69() should also be available' ); +is( SDLK_WORLD_70, 230, 'SDLK_WORLD_70 should be imported' ); +is( SDLK_WORLD_70(), 230, 'SDLK_WORLD_70() should also be available' ); +is( SDLK_WORLD_71, 231, 'SDLK_WORLD_71 should be imported' ); +is( SDLK_WORLD_71(), 231, 'SDLK_WORLD_71() should also be available' ); +is( SDLK_WORLD_72, 232, 'SDLK_WORLD_72 should be imported' ); +is( SDLK_WORLD_72(), 232, 'SDLK_WORLD_72() should also be available' ); +is( SDLK_WORLD_73, 233, 'SDLK_WORLD_73 should be imported' ); +is( SDLK_WORLD_73(), 233, 'SDLK_WORLD_73() should also be available' ); +is( SDLK_WORLD_74, 234, 'SDLK_WORLD_74 should be imported' ); +is( SDLK_WORLD_74(), 234, 'SDLK_WORLD_74() should also be available' ); +is( SDLK_WORLD_75, 235, 'SDLK_WORLD_75 should be imported' ); +is( SDLK_WORLD_75(), 235, 'SDLK_WORLD_75() should also be available' ); +is( SDLK_WORLD_76, 236, 'SDLK_WORLD_76 should be imported' ); +is( SDLK_WORLD_76(), 236, 'SDLK_WORLD_76() should also be available' ); +is( SDLK_WORLD_77, 237, 'SDLK_WORLD_77 should be imported' ); +is( SDLK_WORLD_77(), 237, 'SDLK_WORLD_77() should also be available' ); +is( SDLK_WORLD_78, 238, 'SDLK_WORLD_78 should be imported' ); +is( SDLK_WORLD_78(), 238, 'SDLK_WORLD_78() should also be available' ); +is( SDLK_WORLD_79, 239, 'SDLK_WORLD_79 should be imported' ); +is( SDLK_WORLD_79(), 239, 'SDLK_WORLD_79() should also be available' ); +is( SDLK_WORLD_80, 240, 'SDLK_WORLD_80 should be imported' ); +is( SDLK_WORLD_80(), 240, 'SDLK_WORLD_80() should also be available' ); +is( SDLK_WORLD_81, 241, 'SDLK_WORLD_81 should be imported' ); +is( SDLK_WORLD_81(), 241, 'SDLK_WORLD_81() should also be available' ); +is( SDLK_WORLD_82, 242, 'SDLK_WORLD_82 should be imported' ); +is( SDLK_WORLD_82(), 242, 'SDLK_WORLD_82() should also be available' ); +is( SDLK_WORLD_83, 243, 'SDLK_WORLD_83 should be imported' ); +is( SDLK_WORLD_83(), 243, 'SDLK_WORLD_83() should also be available' ); +is( SDLK_WORLD_84, 244, 'SDLK_WORLD_84 should be imported' ); +is( SDLK_WORLD_84(), 244, 'SDLK_WORLD_84() should also be available' ); +is( SDLK_WORLD_85, 245, 'SDLK_WORLD_85 should be imported' ); +is( SDLK_WORLD_85(), 245, 'SDLK_WORLD_85() should also be available' ); +is( SDLK_WORLD_86, 246, 'SDLK_WORLD_86 should be imported' ); +is( SDLK_WORLD_86(), 246, 'SDLK_WORLD_86() should also be available' ); +is( SDLK_WORLD_87, 247, 'SDLK_WORLD_87 should be imported' ); +is( SDLK_WORLD_87(), 247, 'SDLK_WORLD_87() should also be available' ); +is( SDLK_WORLD_88, 248, 'SDLK_WORLD_88 should be imported' ); +is( SDLK_WORLD_88(), 248, 'SDLK_WORLD_88() should also be available' ); +is( SDLK_WORLD_89, 249, 'SDLK_WORLD_89 should be imported' ); +is( SDLK_WORLD_89(), 249, 'SDLK_WORLD_89() should also be available' ); +is( SDLK_WORLD_90, 250, 'SDLK_WORLD_90 should be imported' ); +is( SDLK_WORLD_90(), 250, 'SDLK_WORLD_90() should also be available' ); +is( SDLK_WORLD_91, 251, 'SDLK_WORLD_91 should be imported' ); +is( SDLK_WORLD_91(), 251, 'SDLK_WORLD_91() should also be available' ); +is( SDLK_WORLD_92, 252, 'SDLK_WORLD_92 should be imported' ); +is( SDLK_WORLD_92(), 252, 'SDLK_WORLD_92() should also be available' ); +is( SDLK_WORLD_93, 253, 'SDLK_WORLD_93 should be imported' ); +is( SDLK_WORLD_93(), 253, 'SDLK_WORLD_93() should also be available' ); +is( SDLK_WORLD_94, 254, 'SDLK_WORLD_94 should be imported' ); +is( SDLK_WORLD_94(), 254, 'SDLK_WORLD_94() should also be available' ); +is( SDLK_WORLD_95, 255, 'SDLK_WORLD_95 should be imported' ); +is( SDLK_WORLD_95(), 255, 'SDLK_WORLD_95() should also be available' ); is( SDLK_a, 97, 'SDLK_a should be imported' ); is( SDLK_a(), 97, 'SDLK_a() should also be available' ); is( SDLK_b, 98, 'SDLK_b should be imported' ); @@ -393,6 +591,8 @@ is( SDL_BUTTON_WHEELUP(), 8, 'SDL_BUTTON_WHEELUP() should also be available' ); is( SDL_BUTTON_WHEELDOWN, 16, 'SDL_BUTTON_WHEELDOWN should be imported' ); is( SDL_BUTTON_WHEELDOWN(), 16, 'SDL_BUTTON_WHEELDOWN() should also be available' ); +is( SDL_DISABLE, 0, 'SDL_DISABLE should be imported' ); +is( SDL_DISABLE(), 0, 'SDL_DISABLE() should also be available' ); is( SDL_DOUBLEBUF, 1073741824, 'SDL_DOUBLEBUF should be imported' ); is( SDL_DOUBLEBUF(), 1073741824, 'SDL_DOUBLEBUF() should also be available' ); @@ -544,6 +744,9 @@ is( SDL_KEYEVENTMASK, SDL_EVENTMASK(SDL_KEYDOWN)| is( SDL_KEYEVENTMASK(), SDL_EVENTMASK(SDL_KEYDOWN)| SDL_EVENTMASK(SDL_KEYUP), 'SDL_KEYEVENTMASK() should also be available'); +is( SDL_LOGPAL, 0x01, 'SDL_LOGPAL should be imported' ); +is( SDL_LOGPAL(), 0x01, 'SDL_LOGPAL() should also be available' ); + is( SDL_MIX_MAXVOLUME, 128, 'SDL_MIX_MAXVOLUME should be imported' ); is( SDL_MIX_MAXVOLUME(), 128, 'SDL_MIX_MAXVOLUME() should also be available' ); @@ -578,6 +781,8 @@ is( SDL_OPENGLBLIT(), 10, 'SDL_OPENGLBLIT() should also be available' ); is( SDL_PEEKEVENT, 1, 'SDL_PEEKEVENT should be imported' ); is( SDL_PEEKEVENT(), 1, 'SDL_PEEKEVENT() should also be available' ); +is( SDL_PHYSPAL, 0x02, 'SDL_PHYSPAL should be imported' ); +is( SDL_PHYSPAL(), 0x02, 'SDL_PHYSPAL() should also be available' ); is( SDL_PREALLOC, 16777216, 'SDL_PREALLOC should be imported' ); is( SDL_PREALLOC(), 16777216, 'SDL_PREALLOC() should also be available' ); is( SDL_PRESSED, 1, 'SDL_PRESSED should be imported' );