/usr/lib/perl5/SDL/Constants.pm is in libsdl-perl 2.2.5-1build2.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 237 238 239 240 241 242 243 244 245 246 247 248 249 250 251 252 253 254 255 256 257 258 259 260 261 262 263 264 265 266 267 268 269 270 271 272 273 274 275 276 277 278 279 280 281 282 283 284 285 286 287 288 289 290 291 292 293 294 295 296 297 298 299 300 301 302 303 304 305 306 307 308 309 310 311 312 313 314 315 316 317 318 319 320 321 322 323 324 325 326 327 328 329 330 331 332 333 334 335 336 337 338 339 340 341 342 343 344 345 346 347 348 349 350 351 352 353 354 355 356 357 358 359 360 361 362 363 364 365 366 367 368 369 370 371 372 373 374 375 376 377 378 379 380 381 382 383 384 385 386 387 388 389 390 391 392 393 394 395 396 397 398 399 400 401 402 403 404 405 406 407 408 409 410 411 412 413 414 415 416 417 418 419 420 421 422 423 424 425 426 427 428 429 430 431 432 433 434 435 436 437 438 439 440 441 442 443 444 445 446 447 448 449 450 451 452 453 454 455 456 457 458 459 460 461 462 463 464 465 466 467 468 469 470 471 472 473 474 475 476 477 478 479 480 481 482 483 484 485 486 487 488 489 490 491 492 493 494 495 496 497 498 499 500 501 502 503 504 505 506 507 508 509 510 511 512 513 514 515 516 517 518 519 520 521 522 523 524 525 526 527 528 529 530 531 532 533 534 535 536 537 538 539 540 541 542 543 544 545 546 547 548 549 550 551 552 553 554 555 556 557 558 559 560 561 562 563 564 565 566 567 568 569 570 571 572 573 574 575 576 577 578 579 580 581 582 583 | #!/usr/bin/env perl
#
# Constants.pm
#
# Copyright (C) 2005 David J. Goehrig <dgoehrig@cpan.org>
#
# ------------------------------------------------------------------------------
#
# This library is free software; you can redistribute it and/or
# modify it under the terms of the GNU Lesser General Public
# License as published by the Free Software Foundation; either
# version 2.1 of the License, or (at your option) any later version.
#
# This library is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
# Lesser General Public License for more details.
#
# You should have received a copy of the GNU Lesser General Public
# License along with this library; if not, write to the Free Software
# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
#
# ------------------------------------------------------------------------------
#
# Please feel free to send questions, suggestions or improvements to:
#
# David J. Goehrig
# dgoehrig@cpan.org
#
package SDL::Constants;
@EXPORT=qw(
AUDIO_S16
AUDIO_S16MSB
AUDIO_S8
AUDIO_U16
AUDIO_U16MSB
AUDIO_U8
CD_ERROR
CD_PAUSED
CD_PLAYING
CD_STOPPED
CD_TRAYEMPTY
INADDR_ANY
INADDR_NONE
KMOD_ALT
KMOD_CAPS
KMOD_CTRL
KMOD_LALT
KMOD_LCTRL
KMOD_LSHIFT
KMOD_NONE
KMOD_NUM
KMOD_RALT
KMOD_RCTRL
KMOD_RSHIFT
KMOD_SHIFT
MIX_DEFAULT_CHANNELS
MIX_DEFAULT_FORMAT
MIX_DEFAULT_FREQUENCY
MIX_FADING_IN
MIX_FADING_OUT
MIX_MAX_VOLUME
MIX_NO_FADING
SDLK_0
SDLK_1
SD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TIMER
SDL_INIT_VIDEO
SDL_IYUV_OVERLAY
SDL_JOYAXISMOTION
SDL_JOYBALLMOTION
SDL_JOYBUTTONDOWN
SDL_JOYBUTTONUP
SDL_JOYHATMOTION
SDL_KEYDOWN
SDL_KEYUP
SDL_MIX_MAXVOLUME
SDL_MOUSEBUTTONDOWN
SDL_MOUSEBUTTONUP
SDL_MOUSEMOTION
SDL_OPENGL
SDL_OPENGLBLIT
SDL_PREALLOC
SDL_PRESSED
SDL_QUERY
SDL_QUIT
SDL_RELEASED
SDL_RESIZABLE
SDL_RLEACCEL
SDL_RLEACCELOK
SDL_SRCALPHA
SDL_SRCCOLORKEY
SDL_SWSURFACE
SDL_SYSWMEVENT
SDL_UYVY_OVERLAY
SDL_VIDEOEXPOSE
SDL_VIDEORESIZE
SDL_YUY2_OVERLAY
SDL_YV12_OVERLAY
SDL_YVYU_OVERLAY
SMPEG_ERROR
SMPEG_PLAYING
SMPEG_STOPPED
TEXT_BLENDED
TEXT_SHADED
TEXT_SOLID
TTF_STYLE_BOLD
TTF_STYLE_ITALIC
TTF_STYLE_NORMAL
TTF_STYLE_UNDERLINE
UNICODE_BLENDED
UNICODE_SHADED
UNICODE_SOLID
UTF8_BLENDED
UTF8_SHADED
UTF8_SOLID
SDL_SVG_FLAG_DIRECT
SDL_SVG_FLAG_COMPOSITE
SDL_SAMPLEFLAG_NONE
SDL_SAMPLEFLAG_CANSEEK
SDL_SAMPLEFLAG_EOF
SDL_SAMPLEFLAG_ERROR
SDL_SAMPLEFLAG_EAGAIN
);
@ISA = qw(Exporter);
sub AUDIO_S16 {32784}
sub AUDIO_S16MSB {36880}
sub AUDIO_S8 {32776}
sub AUDIO_U16 {16}
sub AUDIO_U16MSB {4112}
sub AUDIO_U8 {8}
sub CD_ERROR {-1}
sub CD_PAUSED {3}
sub CD_PLAYING {2}
sub CD_STOPPED {1}
sub CD_TRAYEMPTY {0}
sub INADDR_ANY {0}
sub INADDR_NONE {-1}
sub KMOD_ALT {768}
sub KMOD_CAPS {8192}
sub KMOD_CTRL {192}
sub KMOD_LALT {256}
sub KMOD_LCTRL {64}
sub KMOD_LSHIFT {1}
sub KMOD_NONE {0}
sub KMOD_NUM {4096}
sub KMOD_RALT {512}
sub KMOD_RCTRL {128}
sub KMOD_RSHIFT {2}
sub KMOD_SHIFT {3}
sub MIX_DEFAULT_CHANNELS {2}
sub MIX_DEFAULT_FORMAT {32784}
sub MIX_DEFAULT_FREQUENCY {22050}
sub MIX_FADING_IN {2}
sub MIX_FADING_OUT {1}
sub MIX_MAX_VOLUME {128}
sub MIX_NO_FADING {0}
sub SDLK_0 {48}
sub SDLK_1 {49}
sub SDLK_2 {50}
sub SDLK_3 {51}
sub SDLK_4 {52}
sub SDLK_5 {53}
sub SDLK_6 {54}
sub SDLK_7 {55}
sub SDLK_8 {56}
sub SDLK_9 {57}
sub SDLK_AMPERSAND {38}
sub SDLK_ASTERISK {42}
sub SDLK_AT {64}
sub SDLK_BACKQUOTE {96}
sub SDLK_BACKSLASH {92}
sub SDLK_BACKSPACE {8}
sub SDLK_BREAK {318}
sub SDLK_CAPSLOCK {301}
sub SDLK_CARET {94}
sub SDLK_CLEAR {12}
sub SDLK_COLON {58}
sub SDLK_COMMA {44}
sub SDLK_DELETE {127}
sub SDLK_DOLLAR {36}
sub SDLK_DOWN {274}
sub SDLK_END {279}
sub SDLK_EQUALS {61}
sub SDLK_ESCAPE {27}
sub SDLK_EURO {321}
sub SDLK_EXCLAIM {33}
sub SDLK_F1 {282}
sub SDLK_F10 {291}
sub SDLK_F11 {292}
sub SDLK_F12 {293}
sub SDLK_F13 {294}
sub SDLK_F14 {295}
sub SDLK_F15 {296}
sub SDLK_F2 {283}
sub SDLK_F3 {284}
sub SDLK_F4 {285}
sub SDLK_F5 {286}
sub SDLK_F6 {287}
sub SDLK_F7 {288}
sub SDLK_F8 {289}
sub SDLK_F9 {290}
sub SDLK_GREATER {62}
sub SDLK_HASH {35}
sub SDLK_HELP {315}
sub SDLK_HOME {278}
sub SDLK_INSERT {277}
sub SDLK_KP0 {256}
sub SDLK_KP1 {257}
sub SDLK_KP2 {258}
sub SDLK_KP3 {259}
sub SDLK_KP4 {260}
sub SDLK_KP5 {261}
sub SDLK_KP6 {262}
sub SDLK_KP7 {263}
sub SDLK_KP8 {264}
sub SDLK_KP9 {265}
sub SDLK_KP_DIVIDE {267}
sub SDLK_KP_ENTER {271}
sub SDLK_KP_EQUALS {272}
sub SDLK_KP_MINUS {269}
sub SDLK_KP_MULTIPLY {268}
sub SDLK_KP_PERIOD {266}
sub SDLK_KP_PLUS {270}
sub SDLK_LALT {308}
sub SDLK_LCTRL {306}
sub SDLK_LEFT {276}
sub SDLK_LEFTBRACKET {91}
sub SDLK_LEFTPAREN {40}
sub SDLK_LESS {60}
sub SDLK_LMETA {310}
sub SDLK_LSHIFT {304}
sub SDLK_LSUPER {311}
sub SDLK_MENU {319}
sub SDLK_MINUS {45}
sub SDLK_MODE {313}
sub SDLK_NUMLOCK {300}
sub SDLK_PAGEDOWN {281}
sub SDLK_PAGEUP {280}
sub SDLK_PAUSE {19}
sub SDLK_PERIOD {46}
sub SDLK_PLUS {43}
sub SDLK_POWER {320}
sub SDLK_PRINT {316}
sub SDLK_QUESTION {63}
sub SDLK_QUOTE {39}
sub SDLK_QUOTEDBL {34}
sub SDLK_RALT {307}
sub SDLK_RCTRL {305}
sub SDLK_RETURN {13}
sub SDLK_RIGHT {275}
sub SDLK_RIGHTBRACKET {93}
sub SDLK_RIGHTPAREN {41}
sub SDLK_RMETA {309}
sub SDLK_RSHIFT {303}
sub SDLK_RSUPER {312}
sub SDLK_SCROLLOCK {302}
sub SDLK_SEMICOLON {59}
sub SDLK_SLASH {47}
sub SDLK_SPACE {32}
sub SDLK_SYSREQ {317}
sub SDLK_TAB {9}
sub SDLK_UNDERSCORE {95}
sub SDLK_UP {273}
sub SDLK_a {97}
sub SDLK_b {98}
sub SDLK_c {99}
sub SDLK_d {100}
sub SDLK_e {101}
sub SDLK_f {102}
sub SDLK_g {103}
sub SDLK_h {104}
sub SDLK_i {105}
sub SDLK_j {106}
sub SDLK_k {107}
sub SDLK_l {108}
sub SDLK_m {109}
sub SDLK_n {110}
sub SDLK_o {111}
sub SDLK_p {112}
sub SDLK_q {113}
sub SDLK_r {114}
sub SDLK_s {115}
sub SDLK_t {116}
sub SDLK_u {117}
sub SDLK_v {118}
sub SDLK_w {119}
sub SDLK_x {120}
sub SDLK_y {121}
sub SDLK_z {122}
sub SDL_ACTIVEEVENT {1}
sub SDL_ANYFORMAT {268435456}
sub SDL_APPACTIVE {4}
sub SDL_APPINPUTFOCUS {2}
sub SDL_APPMOUSEFOCUS {1}
sub SDL_ASYNCBLIT {4}
sub SDL_AUDIO_PAUSED {2}
sub SDL_AUDIO_PLAYING {1}
sub SDL_AUDIO_STOPPED {0}
sub SDL_BUTTON_LEFT {1}
sub SDL_BUTTON_MIDDLE {2}
sub SDL_BUTTON_RIGHT {4}
sub SDL_BUTTON_WHEELUP {8}
sub SDL_BUTTON_WHEELDOWN {16}
sub SDL_DOUBLEBUF {1073741824}
sub SDL_ENABLE {1}
sub SDL_FULLSCREEN {-2147483648}
sub SDL_GL_ACCUM_ALPHA_SIZE {11}
sub SDL_GL_ACCUM_BLUE_SIZE {10}
sub SDL_GL_ACCUM_GREEN_SIZE {9}
sub SDL_GL_ACCUM_RED_SIZE {8}
sub SDL_GL_ALPHA_SIZE {3}
sub SDL_GL_BLUE_SIZE {2}
sub SDL_GL_BUFFER_SIZE {4}
sub SDL_GL_DEPTH_SIZE {6}
sub SDL_GL_DOUBLEBUFFER {5}
sub SDL_GL_GREEN_SIZE {1}
sub SDL_GL_RED_SIZE {0}
sub SDL_GL_STENCIL_SIZE {7}
sub SDL_GRAB_OFF {0}
sub SDL_GRAB_ON {1}
sub SDL_GRAB_QUERY {-1}
sub SDL_HAT_CENTERED {0}
sub SDL_HAT_DOWN {4}
sub SDL_HAT_LEFT {8}
sub SDL_HAT_LEFTDOWN {12}
sub SDL_HAT_LEFTUP {9}
sub SDL_HAT_RIGHT {2}
sub SDL_HAT_RIGHTDOWN {6}
sub SDL_HAT_RIGHTUP {3}
sub SDL_HAT_UP {1}
sub SDL_HWACCEL {256}
sub SDL_HWPALETTE {536870912}
sub SDL_HWSURFACE {1}
sub SDL_IGNORE {0}
sub SDL_INIT_AUDIO {16}
sub SDL_INIT_CDROM {256}
sub SDL_INIT_EVERYTHING {65535}
sub SDL_INIT_JOYSTICK {512}
sub SDL_INIT_NOPARACHUTE {1048576}
sub SDL_INIT_TIMER {1}
sub SDL_INIT_VIDEO {32}
sub SDL_IYUV_OVERLAY {1448433993}
sub SDL_JOYAXISMOTION {7}
sub SDL_JOYBALLMOTION {8}
sub SDL_JOYBUTTONDOWN {10}
sub SDL_JOYBUTTONUP {11}
sub SDL_JOYHATMOTION {9}
sub SDL_KEYDOWN {2}
sub SDL_KEYUP {3}
sub SDL_MIX_MAXVOLUME {128}
sub SDL_MOUSEBUTTONDOWN {5}
sub SDL_MOUSEBUTTONUP {6}
sub SDL_MOUSEMOTION {4}
sub SDL_OPENGL {2}
sub SDL_OPENGLBLIT {10}
sub SDL_PREALLOC {16777216}
sub SDL_PRESSED {1}
sub SDL_QUERY {-1}
sub SDL_QUIT {12}
sub SDL_RELEASED {0}
sub SDL_RESIZABLE {16}
sub SDL_RLEACCEL {16384}
sub SDL_RLEACCELOK {8192}
sub SDL_SRCALPHA {65536}
sub SDL_SRCCOLORKEY {4096}
sub SDL_SWSURFACE {0}
sub SDL_SYSWMEVENT {13}
sub SDL_UYVY_OVERLAY {1498831189}
sub SDL_VIDEOEXPOSE {17}
sub SDL_VIDEORESIZE {16}
sub SDL_YUY2_OVERLAY {844715353}
sub SDL_YV12_OVERLAY {842094169}
sub SDL_YVYU_OVERLAY {1431918169}
sub SMPEG_ERROR {-1}
sub SMPEG_PLAYING {1}
sub SMPEG_STOPPED {0}
sub TEXT_BLENDED {4}
sub TEXT_SHADED {2}
sub TEXT_SOLID {1}
sub TTF_STYLE_BOLD {1}
sub TTF_STYLE_ITALIC {2}
sub TTF_STYLE_NORMAL {0}
sub TTF_STYLE_UNDERLINE {4}
sub UNICODE_BLENDED {256}
sub UNICODE_SHADED {128}
sub UNICODE_SOLID {64}
sub UTF8_BLENDED {32}
sub UTF8_SHADED {16}
sub UTF8_SOLID {8}
sub SDL_SVG_FLAG_DIRECT {0}
sub SDL_SVG_FLAG_COMPOSITE {1}
sub SDL_SAMPLEFLAG_NONE {0}
sub SDL_SAMPLEFLAG_CANSEEK {1}
sub SDL_SAMPLEFLAG_EOF {1<<29}
sub SDL_SAMPLEFLAG_ERROR {1<<30}
sub SDL_SAMPLEFLAG_EAGAIN {1<<31}
1;
|